Go to: Synopsis. Return value. Related. Flags. MEL examples.
disconnectAttr [-nextAvailable]
sourceAttribute destinationAttribute
disconnectAttr is undoable, queryable, and editable.
Disconnects two connected attributes.string A phrase containing the names of the disconnected attributes.
In query mode, return type is based on queried flag.
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");