| script (MEL) | Only available in MEL | 
		  | plugAttr  | In categories: General | 
       
      
		
      
      Go to: Synopsis. Return value. MEL examples. 
      
       
string plugAttr(string $plug)
	  
      
      This procedure returns the attribute name portion of the specified
plug. Note that some attribute names may contain multiple, 
"."-separated tokens. For example, the attribute name portion of the 
plug "ramp1.colorEntryList[0].color" would be "colorEntryList[0].color".
	  
      
      None
      
      
      
    Arguments
    
    
       | Variable Name | Variable Type | Description | 
    | $plug | string | The plug name from which to extract the attribute name
portion. | 
    
    
  	// Find the attribute name portion of checker1.color1
		plugAttr "checker1.color1";
		// Result: color1 //