Go to: Synopsis. Notes. Return value. Keywords. Related. MEL examples.
 
void editAttrLimits(string $attr, float $min, float $max) 
	 
None
| Variable Name | Variable Type | Description | 
|---|---|---|
| $attr | string | Attribute to be altered | 
| $min | float | New attribute minimum | 
| $max | float | New attribute maximum | 
createNode -n sinNode transform; addAttr -at double -min 0.0 -max 2.0 -ln sinValue; attributeQuery -range -n sinNode sinValue; // Result: 0 2 // editAttrLimits( "sinNode.sinValue", -1.0, 1.0 ); attributeQuery -range -n sinNode sinValue; // Result: -1 1 //