Forum: Poser Python Scripting


Subject: Creating text files and knowing which directory to put them in - How?

Ajax opened this issue on Aug 18, 2003 ยท 25 posts


ockham posted Tue, 19 August 2003 at 11:47 AM

Okay, I tried it. Now I see what you mean. The Value() method gives the actual current setting of the parm, not the visible dial setting. This does seem to make sense in the way I mentioned. For the sake of controlling animation, Python needs to know where things actually stand, not the dial settings. One possible solution: Memorize the figure to hold the original settings. Force all valueParms to 0. The slave parms should then hold their "unaffected" values. Record them for your pose file. Reset the figure. This will miss a "master" that wasn't set up as a valueParm, but those are fairly rare.

My python page
My ShareCG freebies