PDA

View Full Version : Getting names


nottoshabi
02-17-2011, 09:38 PM
How do you search for an object that has names spaces on it? If I have a locator named Loc and I save that file out and then reference that file in a clean file, the name of my locator now would look something like this locator:Loc. How can I search for the object named Loc with out getting snagged by the name space?

NaughtyNathan
02-17-2011, 10:21 PM
use the -recursive (-r) flag (with the ls command!)
:nathaN

nottoshabi
02-18-2011, 10:06 PM
Can you give an example cause I can not find that flag.

NaughtyNathan
02-18-2011, 10:39 PM
ls -r 1 "Loc";
// Result: locator:Loc
:D

http://download.autodesk.com/us/maya/2010help/Commands/ls.html
it's the second to last flag listed...

:nathaN

CGTalk Moderation
02-18-2011, 10:39 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.