Forum: Poser Python Scripting


Subject: set a figure not visible to the camera

maur_2005 opened this issue on Mar 16, 2022 ยท 5 posts


structure posted Thu, 17 March 2022 at 12:09 AM Forum Coordinator

the only way I know of is to set all of the figure's actors invisible to the camera : 

the following script works fine - you may want to specify which figure though. 

import poser
scene = poser.Scene()
figure = scene.CurrentFigure()
for actor in figure.Actors():
    actor.SetVisibleInCamera(0)
scene.DrawAll()

of course you could always just use
figure.SetVisible(0)
Which would hide the figure in both the render and preview.


Locked Out