hi, i have another question, so far i know about ReplaceMesh to make a character creator in blender. i want to get what i create on the menu into a different scene so i can use it. i know that you just make it visible etc. so far i also know that you can save what you make then load it when you get to that scene. How do i do this in 2.49 using python ?
file = open("yoursave.txt",'w') file.write("Exampel1 ") file.write("Exampel2 ") file.write("Exampel3 ") file.close()
file = open("yoursave.txt",'r') line1 = file.readline() line2 = file.readline() line3 = file.readline() line1 = line1.rstrip(" ") line2 = line2.rstrip(" ") line3 = line3.rstrip(" ") #Example print(line1) file.close()
Remember, it wont work until you saved it in a blendfile.
thank you, ill try if it works later today.
- Store all data in a dict (meshname, objectname, property names and values).
- Pickle it.
- Save it to file.
- Read a file.
- Unpickle it to a dictionary.
- Get all Data from the dictionary.
here is the test file i used. nothing come up but in the module it says “Exampel1”.
Anime character.blend (202 KB)
can anyone help me please?