Forum Moderators: Staff
Poser Python Scripting F.A.Q (Last Updated: 2024 Sep 18 2:50 am)
I don't have any good ideas. Have you tried setting the FBM to zero, then calling scene.DrawAll() before reading the parms? Sometimes it takes a DrawAll() to get morphs where they really should be.
My python page
My ShareCG freebies
Thanks ockham, I was hoping I wouldn't have to go down that path, but it had occurred to me. The DrawAll() might help, though.
Verbosity: Profusely promulgating Graham's number epics of complete and utter verbiage by the metric monkey barrel.
This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.
I'm looking for a way to extract the morph target parameter key values in Python without the influence of JCM/ERC deltas. I'm trying to create a Full Body Morph pose file which includes the BODY actor valueParms and all BodyPart actor scales. I can create the file (I use scene.SaveLibraryPose() to create the PNG icon for me then overwrite the PZ2 file), but if I include the targetGeom parameters from the BodyPart actors, the morph effects are doubled (or worse in JCM cases) when I apply the pose file after resetting the figure morphs and pose. I can see, when I look at the file created, that the partial body morph parameters show the non-zero values imposed by the BODY valueParm full body morph rather than the zero key values shown for those parameters in Poser. I'm running on a Mac and have worked out how to get Python to display a proper Mac OS X file save dialog supporting filename entry and directory browsing as well as other Finder plug-ins. If anyone's interested in this bit, please let me know. Can anyone help with the parameter values? Ockham? Anyone?
My ShareCG Stuff
Verbosity: Profusely promulgating Graham's number epics of complete and utter verbiage by the metric monkey barrel.