Sun, Jan 12, 4:56 PM CST

Renderosity Forums / Poser Python Scripting



Welcome to the Poser Python Scripting Forum

Forum Moderators: Staff

Poser Python Scripting F.A.Q (Last Updated: 2024 Dec 02 3:16 pm)

We now have a ProPack Section in the Poser FreeStuff.
Check out the new Poser Python Wish List thread. If you have an idea for a script, jot it down and maybe someone can write it. If you're looking to write a script, check out this thread for useful suggestions.

Also, check out the official Python site for interpreters, sample code, applications, cool links and debuggers. This is THE central site for Python.

You can now attach text files to your posts to pass around scripts. Just attach the script as a txt file like you would a jpg or gif. Since the forum will use a random name for the file in the link, you should give instructions on what the file name should be and where to install it. Its a good idea to usually put that info right in the script file as well.

Checkout the Renderosity MarketPlace - Your source for digital art content!



Subject: Invisibility?


Josiah ( ) posted Sun, 24 November 2002 at 8:21 AM · edited Mon, 04 November 2024 at 11:25 PM

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!


ockham ( ) posted Sun, 24 November 2002 at 12:27 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


ockham ( ) posted Sun, 24 November 2002 at 1:14 PM

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


Privacy Notice

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.