- Home /
Answer by gsuttor · Mar 26, 2012 at 01:19 AM
I need the same thing, to either remove namespaces on export from Maya (update of FBX plugin?) or Unity to have the option to strip them. Only way I can think to make it work is import the references in Maya and strip them manually with a renamer tool, not fun.
Answer by rutter · Mar 26, 2012 at 06:25 AM
I can't say that I'm especially familiar with Maya, but you might have a look at this script to move all scene nodes into the root namespace.
Barring that, is there some pressing reason you need to import objects that are currently in namespaces? I'm more used to seeing people save out their objects individually.
Answer by gsuttor · Mar 26, 2012 at 07:31 AM
My work around is export as ASCII fbx, then open in wordpad and use "find/replace" function to get rid of the name spaces. Works really well. Eventually the coders will give me either a unity script or maya exporter to fix this.
Example: My two namespaces in Maya are nice and short. ACT for my model/skeleton RIG for my rig file.
So when "exported sleceted" from an animation file the name space on all the mesh and bones is... RIG:ACT:
So I just search replace RIG:ACT: with nothing and save.
Works a treat.
So working in Maya/Unity for a few days now I know that I should export with 'centimeters' and 'ASCII' when exporting meshes/animations and do the search/replace in the ACSII file.
This then comes into unity at the right scale.
Answer by gsuttor · Mar 26, 2012 at 07:31 AM
My work around is export as ASCII fbx, then open in wordpad and use "find/replace" function to get rid of the name spaces. Works really well. Eventually the coders will give me either a unity script or maya exporter to fix this.
Example: My two namespaces in Maya are nice and short. ACT for my model/skeleton RIG for my rig file.
So when "exported sleceted" from an animation file the name space on all the mesh and bones is... RIG:ACT:
So I just search replace RIG:ACT: with nothing and save.
Works a treat.
So working in Maya/Unity for a few days now I know that I should export with 'centimeters' and 'ASCII' when exporting meshes/animations and do the search/replace in the ACSII file.
This then comes into unity at the right scale.
Answer by don_tomaso · Jul 02, 2012 at 09:36 AM
I feel like I'm missunderstanding something here, but if all you want is to get rid of namespaces, there is a namespace editor in maya. "window -> general editors -> namespace". Just select your namespace there and it will remove it from all objects.