Forum: Poser Python Scripting


Subject: Hidden an actor

minuitdixhuit opened this issue on Jun 30, 2020 ยท 11 posts


VedaDalsette posted Tue, 30 June 2020 at 11:43 AM

This is in PhilC's Python for Poser 8 manual under Actor Methods.

OnOff()

actor.OnOff()

Returns the current display status of this actor. 1 for visible, 0 for hidden.

SetOnOff(toggle)

actor.SetOnOff(1)

Toggles the actor's visibility. Set to 1 for visible, set to 0 for hidden.

And this under Figure Methods.

SetVisible(toggle)

figure.SetVisible(1)

With toggle = 1 the figure is visible, toggle = 0 the figure is hidden. It is suggested that you should use this method rather than SetOnOff



W11,Intel i9-14900KF @ 3.20GHz, 64.0 GB RAM, 64-bit, GeForce GTX 4070 Ti SUPER, 16GB. 

Old lady hobbyist. All visual art or fiction is "playing with dolls."

VISIT MY ALBUMSFOR COMICS: https://www.renderosity.com/users/VedaDalsette/gallery/albums

You can also get to my comics from my book website: https://www.vdbooks.com.