CGFamily Studio

Maya Namespace Editor: Create, Merge & Keep Names Consistent

· 4 min read Maya

The Namespace Editor handles creating, deleting and merging namespaces, plus selecting and adding their contents. This walks through each option and explains why keeping namespace names identical matters when you export and re-import animation.

The video loads from YouTube (privacy-enhanced mode) only when you press play.

What you'll learn

  • Open the Namespace Editor from the Windows menu and read its hierarchy like the Outliner
  • Create, rename, delete and merge namespaces with the root
  • Select contents, list contents and add selected objects into a namespace
  • Why keeping namespace names identical matters when exporting and re-importing animation

Opening the Namespace Editor and creating your first namespace

The Namespace Editor lives under Windows > General Editors > Namespace Editor. Click it and you get a small toolbox with a hierarchy panel on top. That hierarchy works almost like the Outliner: a root node at the top, and any namespaces sitting underneath it. If your scene has a joint chain, you'll see that hierarchy nested in the root node the same way.

Hit New and a namespace appears under root. Rename it and you're done — it now shows in the hierarchy of the scene. The key thing to understand is what a namespace actually is: a prefix that comes before the name of every object inside it. Nothing more mystical than that.

Deleting is just as direct. Select the namespace, click Delete, and the namespace goes. If it has content in it, Maya warns you first — the namespace is not empty. At that point you get the real choices:

  • Merge with root
  • Merge with parent
  • Delete
  • Cancel

Since the parent is also the root here, merging with root and merging with parent do the same job. Do it and the prefix disappears from every object — the tourist prefix drops off, and you're left with hips, spine, spine 1, spine 2, neck, head. That's the clean way to strip a namespace without losing the objects.

Watch this part (0:00)

Selecting, listing and adding contents

Import a second character and the editor starts earning its keep. A Mixamo import drops in with its own namespace, so now you've got that rig, your original namespace and your empty one, all under root.

Click a namespace and use Select contents — everything carrying that namespace prefix gets selected at once. That's how you grab a whole imported rig without hunting through the Outliner.

But imports aren't always tidy. A mesh can come in without the namespace attached while the rest of the rig has it. Select that object, pick the namespace, hit Add selected, and it joins the group. Now the whole file sits under one namespace.

List contents does what it says — it gives you the names of everything already inside the selected namespace, so you can confirm what's actually in there before you touch it. Add selected works both directions: if a body mesh lives in one namespace and you want it in yours, select it, click your namespace, Add selected.

Then there's Select all empty, which picks up the namespaces with nothing in them so you can deal with them however you like.

Watch this part (2:44)

The rule that matters: keep namespace names consistent

Here's the part worth remembering after you close the editor. When you export an object, it exports with its namespace name attached. Export that character and the whole thing goes out carrying its namespace.

So if that asset goes into a game engine, or anywhere else, and later you need to change an animation and re-import — but somewhere along the way you merged the namespace with root or renamed it — the new export won't match the old one. You won't be able to put the same animation on your previous character.

The concrete case: you have motion capture made for that character, and the mocap carries the same namespace. Strip or change the namespace on the rig, drag the mocap onto it, and it simply won't show up. The names no longer line up.

So the rule is plain — if you're exporting or importing against the same object, keep the namespace names identical. Rename it and you've quietly broken the link between the rig and everything authored against it.

Watch this part (8:08)

Related tutorials

Watch it on YouTube