Forum: Poser Python Scripting


Subject: Make all actors in a figure visible?

Amadan opened this issue on Dec 07, 2009 · 4 posts


Amadan posted Mon, 07 December 2009 at 1:33 AM

I'm trying to write a script that turns all the parts of a figure visible, after some parts may have been turned invisible.

    for actr in fig.Actors():
        actr.SetVisibleInRender(1)

doesn't seem to work.

Thanks.


PhilC posted Mon, 07 December 2009 at 6:38 AM

The method to use is SetONOff(1)


Amadan posted Mon, 07 December 2009 at 2:28 PM

Duoh! I searched the PoserPython manual, but somehow missed that method. Thanks!


PhilC posted Mon, 07 December 2009 at 2:33 PM

Perhaps you were reading the wrong manual.
Try this one. 😄