select; // clear the selection i.e. deselects all selectByType CharacterNode; // select the top level node selectSet -a Body; // selects all of the body markers select -invert; delete; // inverts the selection and deletes // select invert; hide -s; // alternatively, you can hide them // This removes any unlabeled trajectories // or markers from your scene.