Copyright (c) 2026
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Compatibility
-
2022, 2021
Operating Systems
History
| Created: | 02/14/2010 |
| Last Modified: | 11/12/2021 |
| File Size: | 9.57 KB |
Keywords
Bugs (2 reported)
Help make this item even better. Your bug reports are appreciated!
| Date | Priority | Title | Status |
|---|---|---|---|
| 07/17/2017 | high | Adding prefix issue | Pending |
| 02/14/2013 | low | Can't load script. | Closed |
Bugs
Can't load script.
| Status | closed |
|---|---|
| Priority | low |
| Date | 02/14/2013 |
| Submitted by | |
import RenameTool
reObject = RenameTool.Rename()
# Error: SyntaxError: file <maya console> line 1: invalid syntax #
Why does this happen?
Thank you.
Comments on this bug:
-
Mohammad Farjamfard said over 13 years ago:
Please copy and paste all of the code (the version which you have edited and is ready) inside a python script tab in Maya's script editor window and then execute the entire script by pressing Ctrl + A and then 'Execute' button on the script editor's toolbar which is like a play button.... Open a new python tab and enter "Rename()' without the quotation marks and execute..... Now you should see Rename Tool's main window! If you still can't see the window then there's something wrong with your copy of script file, for example maybe you manipulated it inadvertently or what ever, for now I can't see what is the cause of your problem exactly but maybe we can figure it out..... Also you shouldn't have renamed your downloaded script file because it can cause an error.... If you have made a new shelf button then check and ensure that you've switched its command type to python in command window... Hope this helps. -
Fomen said over 13 years ago:
It works now. I did a mistake in UI path. I leaved ''path'' instead of 'path'. Thank you. P.S. Where can I change the count of zeroes in numbered names? Now it seems to be always two zeroes. I mean: name_001, name_002, name_003 etc. -
Darren Rea said almost 12 years ago:
The only way i can load the script without errors in using your instructions above.... "copy and paste all of the code (the version which you have edited and is ready) inside a python script tab in Maya's script editor window and then execute the entire script by pressing Ctrl + A and then 'Execute' button on the script editor's toolbar which is like a play button.... Open a new python tab and enter "Rename()' without the quotation marks and execute..... Now you should see Rename Tool's main window! " BUT, when I use the tool there are errors- # Error: global name 'reObject' is not defined # Traceback (most recent call last): # File "", line 1, in # NameError: global name 'reObject' is not defined # This tool is by far the best renaming tool with the most potential. Thank you for creating it. I hope you can sort out the errors soon. -
thibault colonges said over 9 years ago:
Rename()
# Error: NameError: file <maya console> line 1: name 'Rename' is not defined #
Post a comment:
Report a bug
Related Items:
-
The Alchemy Tools for Maya for Maya 1.0.0 (maya script)
$20.00 (USD) -
UV Texture Editor Tools Ur-edition for Maya 2.1.2 (maya script)
$39.00 (USD) -
Nightshade UV Editor Pro for Maya 2.1.3 (maya script)
$39.90 (USD) -
Display Polygon Information 1.0.0 for Maya (maya script)
$20.00 (USD) -
Ninja Dojo (Black Belt) 7.0.0 for Maya (maya script)
$80.00 (USD) -
Curve Tools for Maya 1.3.0 (maya script)
$25.00 (USD)







