Home Website Youtube GitHub

Referencing and Anim Picker

This is probably something that’s been covered already but I’ve tried my best to find it and can’t seem to get to the solution. I made a rig and a picker for it, both with mgear tools, but when I move on to animating I always do it through referencing the rig from a new file. This creates namespaces and I’m guessing is the cause of the controls I select from the picker not actually being selected in the scene. It even says object hasn’t been found and skipping.

Do you store the Picker in the rig? If the Picker is referenced in the same namespace, it should be picking up the namespace and accounting for that.

Can you show the name of an example control, and the settings for that corresponding picker button? Let’s double check if anything is off.


When you are running Picker custom scripts, it is also possible to query what the namespace is using __NAMESPACE__. You can see an example of that in the default biped picker template.

import pymel.core as pm

if not __INIT__:

    namespaceToUse = ""
    world = 'world_ctl'
    if __NAMESPACE__:
        namespaceToUse = __NAMESPACE__ + ":"
        world = __NAMESPACE__ + ":" + world
1 Like

Just figured out the issue while I was trying to get screenshots. My mistake was thinking the string and namespace were the same things in the reference options. I wasn’t using the namespace checkmark but string instead. Apologies for the confusion, I never had the need for these options until now.