Forum: Poser Python Scripting


Subject: creaseAngle Method?

karibousboutique opened this issue on Feb 28, 2009 · 14 posts


PhilC posted Sun, 01 March 2009 at 2:03 PM

Try:-

for actor in figure.Actors():<br></br>
    if actor.IsBodyPart():<br></br>
        # do-stuff #<br></br>
    else:<br></br>
       
pass<br></br>

In the copy of the script that you posted earlier you have the test for body part first so that providing that the current actor is a body part then the pose file will get written for everything. Conversely if you test each actor you can be selective.