Forum: Poser Python Scripting


Subject: An old problem with parenting props is still here in Poser 10.

Anthony Appleyard opened this issue on Jan 15, 2014 · 24 posts


Netherworks posted Tue, 25 March 2014 at 4:40 AM

Attached Link: http://www.renderosity.com/mod/forumpro/showthread.php?thread_id=2741202

Anthony,

See the last post in this thread for a solution.

(attached, I'm not screwing with figuring out the code to get it to show up inline, too sleepy).

In the case of props, you can have your script write a temporary pose and then call it into the scene.  Make sure the script selects the prop.  You need to keep the "smartparent" bit even though you aren't "smart parenting". and you'd replace "UNIVERSE" with the actor's internal name, which you can get from python if you need.

You'll need a temp pose for each prop to be parented and you can iterate over the props you need to affect.

The SetParent command seems to work fine if you are parenting a figure to another figure's body part (for example parenting cr2 hair to a female's head)

.