Go to: Synopsis. Flags. Return value. Related. MEL examples.
disconnectAttr [-nextAvailable]
sourceAttribute destinationAttribute
disconnectAttr is undoable, queryable, and editable.
Disconnects two connected 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");