Forum Coordinators: RedPhantom
Poser - OFFICIAL F.A.Q (Last Updated: 2024 Nov 27 5:12 pm)
tinker or Tkinter :)
You can test to see if the particular morph is loaded by querying the value of the first delta. If there is not one there to query then you can load the required pose file.
try:<br></br>
delta =
morphTargetParameter.MorphTargetDelta(0)<br></br>
except:<br></br>
poser.Scene().LoadLibraryPose(filepath)
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 experimenting with Python and Poser. The experiments are fairly tentative as I’m having to pick apart existing scripts to see how things work. So far, I don’t think I’m doing too badly.
What I would like to do is have the Python script load a Morph Pose if the figure does not already have it loaded. This means that I would not have to go through the Morphs++ folder for Victoria 4 and apply all the morphs beforehand. I’d like my script to do this for me when it runs.
Is there a way to do this with Python? Thanks.
Also - any decent resources for Poser Python scripting will be useful if you can suggest any. I like to tinker.