Forum Moderators: Staff
Poser Python Scripting F.A.Q (Last Updated: 2024 Dec 02 3:16 pm)
I think the magnet icon (along with the wave and P5 wind icons) is treated in a special way by the Display mode. This is true outside of Python as well. Try creating a magnet then using the Hierarchy editor to make it invisible; then shift the camera a bit. The magnet will come back. So there's really no point in trying to make it invisible, because it will be invisible in the Render anyway.
My python page
My ShareCG freebies
As for making an actor non-selectable, there's a good way to do this in the CR2 file, by setting the 'hidden' to 1 and 'addToMenu' to 0. But I don't see any way to reach these things directly from Python.
My python page
My ShareCG freebies
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.
This should hide the magnet base, and it does for an instant, but then its back again. It does seem to work for any other props and actors. I can go to "properties" for any of the magnets parts, turn off "visible", and it works, so why can't I do it through script? ############################################ scene = poser.Scene() actor = scene.CurrentActor() scene.CreateMagnet() actor = scene.Actor("Mag Base 1") actor.SetOnOff(0) scene.DrawAll() ############################################ By the way, does anyone know if there any known method of making an actor un-selectable in the scene window? Thanks all!