Hey guys,

Is there a way to create ramp attribute for compound array attributes.

For example: this works AEaddRampControl($nodeName + ".falloff")

But how can i achieve this: AEaddRampControl($nodeName + 
".layers[i].falloff")
always give me error: Error: file: 
/servers/Software/Autodesk/Maya/2014_ext_sp1/scripts/AETemplates/AEaddRampControl.mel
 
line 281: No object matches name: customNode.customNode.layers[0].falloff

i tried this method also string $falloffAttr = "layers["+$i+"].falloff";
AEaddRampControl ($falloffAttr);

i get this error: Error: file: 
/servers/Software/Autodesk/Maya/2014_ext_sp1/scripts/AETemplates/AEaddRampControl.mel
 
line 487: Found no attribute match for "layers[0].falloff"


Any ideas?

Thanks.

Dilen.

-- 
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/e348aea3-92d0-4992-901b-d825aacd15d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to