Fri, Nov 22, 2:34 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 Sep 18 2:50 am)

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: Rename Node?


Vex ( ) posted Thu, 10 June 2010 at 10:58 PM · edited Sun, 27 October 2024 at 6:11 PM

I have shaderspider and PP2010 but when i try to run 'rename node' from the wacro menu in mat room, it says

Traceback (most recent call last):

  File "/Applications/Poser Pro 2010/Runtime/Python/Poseworks/ShaderSpider/wacros/Rename_Node.py", line 7, in ?

    import pre as re

ImportError: No module named pre

How else can we rename nodes in the Mat Room besides saving mat then renaming thru text editor ? 



nruddock ( ) posted Fri, 11 June 2010 at 5:08 PM

Quote - I have shaderspider and PP2010 but when i try to run 'rename node' from the wacro menu in mat room, it says

Traceback (most recent call last):

  File "/Applications/Poser Pro 2010/Runtime/Python/Poseworks/ShaderSpider/wacros/Rename_Node.py", line 7, in ?

    import pre as re

ImportError: No module named pre

How else can we rename nodes in the Mat Room besides saving mat then renaming thru text editor ? 

Edit that line of the script to read as follows :-
import re

If you can't do that for some reason you can't edit the script, download an editable copy from -> http://www.poseworks.com/shaderspider/


Vex ( ) posted Fri, 11 June 2010 at 5:54 PM

 awesome thank you very much! :)



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.