Forum: Poser Python Scripting


Subject: Rename Node?

Vex opened this issue on Jun 10, 2010 · 3 posts


Vex posted Thu, 10 June 2010 at 10:58 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! :)