calebros
11-26-2007, 05:56 PM
Hi,
Ok, so I have done some research but for the life of me I can not find the command to find out the namespace that is added to a file when it is refrenced.
For example,
I am trying to write a script job that will select multiple controls on a rig when it is a different control is selected. (much like the GUI retargeting done by ZooTriggered)
I basically want to concatenation the querryed string for the refrence file with a pre determined name (i have multiple indentically named rigs, and I would like to not have to hard code each rigs GUI).
On the other hand if there is a way to have a script job triggered by a specific object, that would work even better. currenctly the only way I can get it to trigger is a setup like this
scriptJob -ct "SomethingSelected" "proceedureThatChecksNames";
then I run that against a name checking proceedure and if it gets a possitive hit, then I forward the selection to the desired object.
I hope all this makes sense,
Anyways, Thanks for your help, and if you don't know off hand the answer, but you know of a resource that might have how to do this in it, I would love to be pointed that way.
-Steve
EDIT: oh, and I'm trying to do this in Mel and not python if that makes a difference. Thanks
Ok, so I have done some research but for the life of me I can not find the command to find out the namespace that is added to a file when it is refrenced.
For example,
I am trying to write a script job that will select multiple controls on a rig when it is a different control is selected. (much like the GUI retargeting done by ZooTriggered)
I basically want to concatenation the querryed string for the refrence file with a pre determined name (i have multiple indentically named rigs, and I would like to not have to hard code each rigs GUI).
On the other hand if there is a way to have a script job triggered by a specific object, that would work even better. currenctly the only way I can get it to trigger is a setup like this
scriptJob -ct "SomethingSelected" "proceedureThatChecksNames";
then I run that against a name checking proceedure and if it gets a possitive hit, then I forward the selection to the desired object.
I hope all this makes sense,
Anyways, Thanks for your help, and if you don't know off hand the answer, but you know of a resource that might have how to do this in it, I would love to be pointed that way.
-Steve
EDIT: oh, and I'm trying to do this in Mel and not python if that makes a difference. Thanks
