Mon, Jan 27, 8:22 AM 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: Problem with python script when called from a pz2 file


z ( ) posted Thu, 23 April 2015 at 2:34 PM · edited Mon, 27 January 2025 at 6:32 AM

I have a python script that does a bunch of stuff, including duplicating the current  prop with:  poser.ProcessCommand(1568)

It works great, but when I try to call the same script from a .pz2 file (or even an mc6) from the Library, it seems to just skip that line.  It doesn’t  error, (well not until several lines later, anyway, when it looks for  the prop and it isn’t there)

Is there a way to make this work?

Is this is a limitation in the system?

AHA TIA

z

 

 

 

 

 

 

 


structure ( ) posted Thu, 23 April 2015 at 5:34 PM
Forum Coordinator

it appears to be a limitation. I tested the same type of thing and got the same result.

Locked Out


PhilC ( ) posted Thu, 23 April 2015 at 11:21 PM

Can you please post the text of the pose file.

See also http://www.renderosity.com/mod/forumpro/?thread_id=2732974


structure ( ) posted Fri, 24 April 2015 at 2:52 AM
Forum Coordinator

file_da4fb5c6e93e74d3df8527599fa62642.JP

Locked Out


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.