danborn opened this issue on Jan 19, 2011 · 25 posts
markschum posted Wed, 19 January 2011 at 10:46 PM
ok, www.python.org for the manuals on python itself. There is a pdf file in Poser that gives you the poser specific commands.
You are aware that saving your file as a pz3 (scene) file will save everything ? what you describe is fairly common for a series of pics all using the same basic set.
the self.master.destroy bit is from tkinter and is not required if you are doing a single pass program
you need to select the figure to save the pose for and select the camera being saved.
the library to save in must be specified but yo can code it as a relative path
and you can create the folder manually to suit each project.
poselib = ":runtime:libraries:pose:myposeset:"
camlib = ":runtime:librariesmyposeset:"
posenam = fig.Name + nnnn
savenam = poselib +posenam
scene.SaveLibraryPose( savenam )
scene.SaveLibraryCamera( )
a simple dialog like this
dialog = poser.DialogSimple.YesNo(message)
if dialog == 1:
print " Continuing with script."
will let you put out a message and get a yes/no reply
I will try to write something tomorrow for you .