delete is undoable, queryable, and editable.
This command is used to delete selected objects, or all objects, or
objects specified along with the command. Flags are available to
filter the type of objects that the command acts on.
Long name (short name) |
[argument types] |
Properties |
-attribute(-at)
|
string
|

|
|
List of attributes to select
|
|
-hierarchy(-hi)
|
string
|
|
|
Hierarchy expansion options. Valid values are "above,"
"below," "both," and "none." (Not valid for "pasteKey" cmd.)
|
|
-shape(-s)
|
boolean
|
|
|
Consider attributes of shapes below transforms as well,
except "controlPoints". Default: true. (Not valid for "pasteKey" cmd.)
|
|
-controlPoints(-cp)
|
boolean
|
|
|
This flag explicitly specifies whether or not to include the
control points of a shape (see "-s" flag) in the list of attributes.
Default: false. (Not valid for "pasteKey" cmd.)
|
|
-all(-all)
|
|
|
|
Remove all objects of specified kind, in the scene. This flag
is to be used in conjunction with the following flags.
|
|
-inputConnectionsAndNodes(-icn)
|
|
|
|
Break input connection to specified attribute and delete all
unconnected nodes that are left behind. The graph will be
traversed until a node that cannot be deleted is encountered.
|
|
-constructionHistory(-ch)
|
|
|
|
Remove the construction history on the objects specified or
selected.
|
|
-staticChannels(-sc)
|
|
|
|
Remove static animation channels in the scene. Either all
static channels can be removed, or the scope can be narrowed down
by specifying some of the above mentioned options.
|
|
-channels(-c)
|
|
|
|
Remove animation channels in the scene. Either all channels
can be removed, or the scope can be narrowed down by specifying
some of the above mentioned options.
|
|
-unitlessAnimationCurves(-uac)
|
boolean
|
|
|
Modifies the -c/channels and -sc/staticChannels flags.
When true, only channels connected to
unitless-input animation curves (for instance,
those created by 'setDrivenKeyframe' will be
deleted. When false, no unitless-input
animation curves will be deleted. Default:
true.
|
|
-timeAnimationCurves(-tac)
|
boolean
|
|
|
Modifies the -c/channels and -sc/staticChannels flags.
When true, only channels connected to time-input
animation curves (for instance, those created by
'setKeyframe' will be deleted. When false, no
time-input animation curves will be deleted.
Default: true.
|
|
-expressions(-e)
|
|
|
|
Remove expressions in the scene. Either all expressions
can be removed, or the scope can be narrowed down by specifying
some of the above mentioned options.
|
|
-constraints(-cn)
|
|
|
|
Remove selected constraints and constraints attached to the
selected nodes, or remove all constraints in the scene.
|
|