Go to: Synopsis. Flags. Return value. MEL examples.
removeMultiInstance [-break boolean]
attribute
removeMultiInstance is undoable, queryable, and editable.
Removes a particular instance of a multiElement. This is only useful for input attributes since outputs will get regenerated the next time the node gets executed. This command will remove the instance and optionally break all incoming and outgoing connections to that instance. If the connections are not broken (with the -b true) flag, then the command will fail if connections exist.| Long name (short name) | [argument types] | Properties | ||
|---|---|---|---|---|
-break(-b)
|
boolean
|
|
||
|
||||
// This will remove the element with index 4 from the input of // the choice node as long as there are no incoming or outgoing // connections to the attribute. // removeMultiInstance choice.input[4]; // This will remove the element with index 100 from the input of // the choice node, breaking any existing connections first. // removeMultiInstance -b true choice.input[100];