If I'm being lazy for quick 5 line scripts I'll use something like

important_thing = SCENE.hero_curve_shape

I've had a few occasions where the thing I want is a few groups down, and I
haven't been able to use the 'SCENE.' syntax.

Anyone know what the trick is?

Eg, I have locator1, and a|b|locator1:

SCENE.locator1
# Error: MayaNodeError: file C:\Program
Files\Autodesk\Maya2014\Python\lib\site-packages\pymel\core\general.py line
1754: Multiple maya Nodes existed: u'locator1' #

SCENE.a|b|locator1
# Error: NameError: file <maya console> line 1: name 'b' is not defined #

SCENE.'a|b|locator1'
# Error: invalid syntax #

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAGCWdhki%2BzyvaJhVwR%2BbK%3D71LPvSti-2xVJbo80XC6_w23C5qg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to