Forum: Poser - OFFICIAL


Subject: Possible to set multiple Material groups in P5 with Python?

Zenman53186 opened this issue on Feb 10, 2003 ยท 5 posts


Zenman53186 posted Mon, 10 February 2003 at 10:15 PM

I have a growing frustration with P5 related to the Material room. I understand the necessity of making Material files generic to be used on any group, but the fact that you must then apply a Material to every single, ridiculous, low-life, SOB of a Material group in a scene is a major pain! If I have a field of 24 boulders, I have to go through 24 separate selects and applies. I realize that for Material groups in a single figure, that you can "Copy" and "Apply to all". This is a little better. What I would like (if possible) is a Python script that would allow me to apply a Material to a parent and then apply the same Material to every child of that parent. I could parent all my boulders to the ground, apply the Material to the ground, and all my boulders get applied as well. Any of you Python programmers have any ideas?


ockham posted Tue, 11 February 2003 at 12:11 AM

Should be possible using only the P4 methods. Unfortunately, if you want to copy some of the new P5 stuff like nodes, it's no go. CL hasn't bothered to "modernize" Python.

My python page
My ShareCG freebies


williamsheil posted Tue, 11 February 2003 at 1:26 AM

There is a Poser Python Forum, you may find its better to ask the question and look for answers there. Bill


hogwarden posted Tue, 11 February 2003 at 5:20 AM

PBooost allows editing lots of materials at once... ... at the moment just P4 materials. 1.4 is nearly ready and lets you edit the P5 stuff, too. H:)


ockham posted Tue, 11 February 2003 at 8:58 AM

Yes, Pbooost would be the best answer! No point in reinventing the wheel.

My python page
My ShareCG freebies