Forum Moderators: Staff
Poser Python Scripting F.A.Q (Last Updated: 2025 Feb 05 6:41 am)
I think this should do what you want :-
Parent all other figures to the Body actor of the currently selected figure.
import poser<br></br><br></br>scene = poser.Scene()<br></br>fig = scene.CurrentFigure()<br></br>if (fig != None):<br></br> act = fig.Actor("Body")<br></br> if (act != None):<br></br> for cfig in scene.Figures():<br></br> if (cfig.InternalName() != fig.InternalName()):<br></br> cfig.SetParentActor(act)<br></br> else:<br></br> print "Current figure has no Body Actor"<br></br>else:<br></br> print "No Figure selected"
Combining parenting and conforming in one script is left as an exercise to the reader
I can't seem to get this to work
I have my main figure (body) selected, a couple of pieces of clothing (figures) on on the board
When I run the script...the clothing seems to parent with the main figure body, because when I try to select the piece of clothing and and go to Change parent, it is grayed out.
I conform the clothing and, it says the clothing is conformed to the main figure, but the clothing won't bend or resize...
PoserPro 2014, Windows 7, AMD FX-6300 6 core, 8 GB ram, Nvidia
GeForce GTX 750 Ti
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.
Thanks to sandmarine for asking and nruddock for supplying a way to conform all loaded figures to a figure at one time.
My question is can the same thing be done only "parenting" all loaded figures to a main figures body?
The reason I ask is I know if you rescale a figure, the clothes are rescaled along with the figure if they are parented and conformed to the main figure. Such as my Aiko Short.
Thank you for any help
PoserPro 2014, Windows 7, AMD FX-6300 6 core, 8 GB ram, Nvidia GeForce GTX 750 Ti