Community
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Ability to completely disable namespaces for import/export

Ability to completely disable namespaces for import/export

My suggestion concerns not just the import/export but the outliner as well. I work in a number of applications and Namespaces are what I hate most about Maya. I spend a good deal of time naming my objects so that I can tell what they are. It is frustrating to the point of madness that Maya destroys my naming convention each time I import something. I don't want Maya to rename ANYTHING. If something needs to be renamed, then I want to do it without having to worry about things being changed without my okay. I have not as yet found a way to disable this feature so I'm asking you to include a setting that will enable us to completely disable namespaces. Just adding the feature in MEL to remove namespaces isn't enough --it's still a step you have to do that you shouldn't. I don't need Maya to be a nanny. I can name and group things on my own. 

3 Comments
lucericr
Autodesk

Can you explain more precisely what doesn't work for you with the current options?
In Maya's File->Import, in the right side options panel you can turn off "Use Namespace" and also change "Resolve:" to "Clashing Nodes" so that nothing is renamed if there are no naming conflicts.

Alexx31
Advocate

@lucericr I think there are already all possibilities, but like always they are hidden behind a nested UI, that slows everything down and confuses people. 

EXAMPLE: Why is the name space editor not integrated into import options (allowing just a double click to change...)

or at least with a button accessible during import?

So often I’m sitting in a company on a foreign file, then find out, that I have to change the name spaces. Then stopping import, going through nested menus window>editors> general editors > name space editor ,

then changing, then back to the import...

(that‘s a long journey!)

 

need always my personal notices to remember again how things are done, because some options become only visible when pre-selecting other things. 

„don’t use name spaces“ is not visible at first sight.  

 

laomusic_arts
Advocate

Hi!

I just had a struggle with this issue and I did:

- open the Import dialog by going to File > Import.

- on the right side, uncheck the "Use Namespace" option.

- change the "Resolve" option to "Clashing Nodes" to avoid any renaming unless there's a name conflict.


In order to disable namespaces completely, you can tweak the fileOptions.mel script:(Backup first!!)

Find the script in the scripts/others directory.

- open fileOptions.mel in a text editor.

- look for the line that says if ($action == "Import" && $useNS) and change it to if ($action == "Import" && !$useNS).


This will stop Maya from automatically using namespaces when importing.
Be careful though when editing scripts, as it can mess things up if not done right.


Hope that helps others too!

LAO

 

 

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

Submit Idea  

Autodesk Design & Make Report