/
delete
delete
Description
This command deletes any objects in the scene, including items that do not visually exist in the 3D views (such as constraints and solvers). The command can be used to delete the entire scene, delete selected objects only, or delete only the primary selection of a group of selected objects.
When combined with other commands like those used for determining selected objects based on pre-determined criteria, delete can be used to permanently clear scenes of unnecessary objects.
Functional area
Data editing
Command syntax
Syntax
delete [-all] [-primary] |
Arguments
None
Flags
Name | Flag arguments | Argument type | Exclusive to | Comments |
---|---|---|---|---|
all | 0 | — | primary | Deletes all objects |
primary | 0 | — | all | Deletes only the primary object |
Return value
void
Examples
// Delete all BoneNode objects in the scene selectByType BoneNode; delete;
, multiple selections available,