Vicon Shogun banner

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

NameFlag argumentsArgument typeExclusive toComments
all0primaryDeletes all objects
primary0allDeletes only the primary object

Return value

void

Examples

// Delete all BoneNode objects in the scene
selectByType BoneNode;
delete;