Go to: Synopsis. Return value. Related. Flags. MEL examples.
 disconnectAttr [-nextAvailable] 
attribute attribute
      
disconnectAttr is undoable, NOT queryable, and NOT editable.
Disconnects two connected attributes. First argument is the source attribute, second is the destination.| string | A phrase containing the names of the disconnected attributes. | 
| Long name (short name) | Argument types | Properties | ||
|---|---|---|---|---|
	    
	      -nextAvailable(-na) 
	   | 
	  
	    
	   | 
	  
 | 
	||
	    
  | 
	||||
// Create a sphere and cone and connect their rotate attribute. // string $sph[] = `sphere`; string $con[] = `cone`; connectAttr ($sph[0] + ".r") ($con[0] + ".r"); // Break the connection between the rotate attributes. // disconnectAttr ($sph[0] + ".r") ($con[0] + ".r");