Forum: Poser Python Scripting


Subject: PoseSave - a script for saving poses

Ajax opened this issue on Aug 26, 2003 ยท 8 posts


an0malaus posted Thu, 11 August 2005 at 3:37 PM

@Ajax & others interested in saving poses with dial values without ERC influence, you might be interested in this python code fragment below from my own script for saving BODY and actor pose information. This doesn't require zeroing ERC channels in the saved pose files. def DialAndDelta(Morph): #print Morph.Name(), val1 = Morph.Value() # read value #print val1, Morph.SetValue(val1) # set same value val2 = Morph.Value() # get new value #print val2, delta = val2 - val1 # find FBM or JCM delta influence #print delta, val0 = val1 - delta # find original parameter dial value for this actor #print val0 Morph.SetValue(val0) # reset to original value return (val0, delta) Cheers, GeoffIX



My ShareCG Stuff

Verbosity: Profusely promulgating Graham's number epics of complete and utter verbiage by the metric monkey barrel.