Forum Moderators: Lobo3433, Staff Forum Coordinators: Anim8dtoon
Poser Python Scripting F.A.Q (Last Updated: 2026 Jan 04 1:47 pm)
The Python method for a designated actor is:
actor.SetVisibleInCamera(0)
Any script will need some form of user input to select which actors it should operate on.
My questions would be:-
How many body parts do you need to set?
Will it be quicker to run such a script, (assuming that you can remember where you stored it), or just use the options in the Poser properties panel?
If you find yourself hidiing the same body parts a lot, like the shoulders under a long sleeve shirt (elbow poke thru), then create a pose file and drop it in your favorites folder so you know where it is and can access it from any runtime quickly and easily.
The pose file would look like this
{
version
{
number 4
}
actor BODY
{
}
actor rForeArm
{
off
}
actor lForeArm
{
off
}
}
Create a second pz2 and change off to on and you have a make the body parts visibale again pose file.
The only commercial script I have seen do something similar to what you are requesting is Power Locks for locking and unlocking various body parts (where you select from a body actors lists). You can find it here...
http://www.runtimedna.com/Power-Locks.html.
Might be able to convince Netherworks to modify and create Power Hide
Gary
"Those who lose themselves in a passion lose less than those who lose their passion"
I've created a script which allows to select and pose multiple actors, it also has an option to check/uncheck visibility (for Poser 8 and later): http://neocron.webspaceforme.net/alforum/index.php?topic=1511.msg2447#msg2447
Quote - The Python method for a designated actor is:
actor.SetVisibleInCamera(0)
Any script will need some form of user input to select which actors it should operate on.
My questions would be:-
How many body parts do you need to set?
Will it be quicker to run such a script, (assuming that you can remember where you stored it), or just use the options in the Poser properties panel?
Ideally it would have a dialogue box allowing checking and unchecking of bodyparts, which would negate the need to go through the properties panel for each one.
Right now I'm going through the panels for each bodypart I want hidden from the render, which inevitably means I forget one, and of course that's the one poking through or invisible when I need it visible, which of course I don't notice unless I watch the IDL calculations.
Quote - If you find yourself hidiing the same body parts a lot, like the shoulders under a long sleeve shirt (elbow poke thru), then create a pose file and drop it in your favorites folder so you know where it is and can access it from any runtime quickly and easily.
There's lots of poses for simple visibility out there already (which is not what I want): Xurge includes a set for his armour, for instance.
I don't want something to turn on and off visibility, I was looking for something that can turn on/off raytracing and/or visible in camera while still leaving the bodypart visible.
I repeat, there are a lot of options out there to handle visibility, both in terms of scripts and poses, but I haven't seen any that toggle the visible in camera option.
Quote - I don't want something to turn on and off visibility, I was looking for something that can turn on/off raytracing and/or visible in camera while still leaving the bodypart visible.
I repeat, there are a lot of options out there to handle visibility, both in terms of scripts and poses, but I haven't seen any that toggle the visible in camera option.
If you don't include turn off cast shadows you will see the shadows cast by the body part you are turning visiable in camera off on. You have to turn off all three. Which I could see as a pain in the but to accomplish body part by body part and making sure you clicked all three
If it is the same body parts over and over then besides dizzi's script just change what I posted to this.
I think you have several options to pick from and just choose which one is best based on your needs.
{
version
{
number 4
}
actor BODY
{
}
actor abdomen
{
castsShadow 0
visibleInReflections 0
visibleInCamera 0
}
}
Gary
"Those who lose themselves in a passion lose less than those who lose their passion"
With Poser Python (or a pose), you can even turn on/off visible in render, which is not accessible from the Properties tab. This keeps the actor visible in preview, but completely ignores it in renders.
My script XO (available here in the store) can be used amongst others to toggle all kinds of visibility states for one or several actors.
Dimension 3D - Poser Tools, Poser Props and Morphs, Cinema 4D
Plugins, and more
Renderosity Store / D3D Web Site
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.
With the option to make something invisible to the camera (and raytracing) in later versions of Poser, there's no need to toggle the visibility of a bodypart to take care of poke-through, which makes it easier to select body parts to pose. Has anyone created a script that can toggle those options on and off for bodyparts?