Including "!" in object namespace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am using Maya to do terrain work for a Unity project that uses an object naming convention for its meshes like this, "General_!_Dirt_!_FSX_!_None". I do not see any way to import the OBJ while retaining that naming convention. When I attempt to manually change the name in the Outliner, I get this error in the Script Editor.
rename "General___Dirt_A_FSX___None" "General_!_Dirt_A_FSX_!_None";
// Warning: line 1: New name contains invalid characters. Illegal characters were converted to "_".
// Result: General___Dirt_A_FSX___None
I got a very similar error log in the Script Editor when I attempted to use the Pattern Rename v2.0 in Bonus Tools.
bt_patternRename;
// Warning: Add: Replace string: no spaces or special characters allowed - nothing added!
// Warning: Update: No spaces or special characters in replace string allowed - input ignored
Is there a way to bypass this block or tool inside Maya that will change it back to the original naming convention on or before export?