Community
Maya Forum
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Renamed Outliner Objects After Import

11 REPLIES 11
SOLVED
Reply
Message 1 of 12
Anonymous
16025 Views, 11 Replies

Renamed Outliner Objects After Import

I understand that Maya only allows alphanumeric and underscores for names in out outliner, but sadly almost all of the files I work with use characters beyond alphanumeric characters for the scene objects.

 

My result is a very difficult to read list of assets.

 

 

What is the simplest way to prevent this? Is there any way I can disable the "FBXASC###" renaming of objects and just have the illegal character outright removed or replaced with something else, or somehow batch rename everything? Renaming the objects in the program they originate from would involve me changing the name of 1000s of object names by hand, so this is not really a solution.

Thanks for any help

11 REPLIES 11
Message 2 of 12
Thiird
in reply to: Anonymous

I dont think you can avoid maya to put that prefix in there, but with a few steps you can remove that from all the objects in hte outliner!

 

So, you have to:

 

1-Select all the objects that has "FBXASCO504_" in their name;

2-Whit that selected go to modify-->Serach and replace names...

3-Put in Search for : FBXASCO504_ and in replace with the "." (dot) key and press Apply or Replace;

4-Repeat the process for the "FBXASCO505_" and the "FBXASCO506_" objects...or any object you want;

 

By putting that dot in the "replace with" function basically it will delete what you put in the "search for" function

 

 

Hope that helps

 

Cheers

Message 3 of 12
Anonymous
in reply to: Thiird

Thanks!

Message 4 of 12
Thiird
in reply to: Anonymous

If I helped you it would be appreciated you to leave me a kudo 😛

 

Also accept my post as solution.

 

Cheers

Message 5 of 12
matteo_bacci
in reply to: Thiird

i have a similar problem.

 

i imported an obj file, from a parametric software.

all the object are named with a number.

 

maya 2018 alert me this kind of file will be no more supported in the next release....but maya import all the object as locked object.

 

i can delete them but don't let me rename them.

 

i get this error:

// Error: line 6: Cannot rename a read only node. // 

 

any suggestions??

 

 

mat 

Message 6 of 12
mspeer
in reply to: matteo_bacci

Hi!

 

@matteo_bacci that's something different, please create a new thread and upload a file (maya or obj).

Message 7 of 12
Anonymous
in reply to: Thiird

Wow! Genius answer - I couldn't even see the repeating string until you pointed it out. 🙂 Although my filenames are pretty knarly...

 

5D45A0A8_42D4_0F6BFBXASC0452221FBXASC045D0B6F7AF3F4D_0AE35639FBXASC04543D9FBXASC04512F5FBXASC0456464FBXASC045EFA9F9225777_MG_render

 

...the repeating string was FBXASC045 and using your method I got the names to match the filename perfectly

 

5D45A0A8_42D4_0F6B_2221_D0B6F7AF3F4D_0AE35639_43D9_12F5_6464_EFA9F9225777_MG_render

 

So Cheers and many thanks!

 

Message 8 of 12
Anonymous
in reply to: Anonymous

Does anyone know of a database for what those FBXASC### characters translate to? I get those characters when a joint (created in another program) begins its name with a number, I can't rename the joints in said other program, or at all, but I want to convert that fbx ascii character code back to what it was in the export file format within the same code that is batch importing and applying animations and then exporting to an .xml/collada file format.

Message 9 of 12
Anonymous
in reply to: Anonymous

I believe after testing it’s HTML character codes, i.e.

 

FBXASC049 is 1

FBXASC040 is (

FBXASC046 is .

(&#49) 

etc.

 

Just remember maya heavily affects the first character vs the rest. If it’s numeric it cannot start with a number but it can contain one.

Message 10 of 12
532762848
in reply to: Anonymous

我想知道所有的对比数据,能提供个网址吗,将感激不尽

Message 11 of 12
Anonymous
in reply to: Anonymous

They are ASCII character codes. You can see a list of them here http://www.asciitable.com/ . That's likely what the "ASC" in "FBXASC" means that immediately precedes each ascii character code.

 

Fun fact, if you type in Windows and hold down the ALT key while typing an ASCII code and then releasing the ALT key, it will type the corresponding character. You can type values less than 100 with just two digits ("41") or with a prepended "0" (041).

Message 12 of 12
532762848
in reply to: Anonymous

谢谢

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report