TOC PREV NEXT INDEX

Delete statement

Synopsis

- object_name;

Description

The delete statement deletes an object.

Caution: Deleting an inherited subobject breaks an object's derivation hierarchy.

Clauses

object_name

The name of the object to be deleted. You can specify the current object, one of its immediate subobjects, or, using a pathname, any lower-level subobject.

Examples

For example, you create a macro:


macro mymacro {
Read_Geom geom_1;
Read_Geom geom_2;
Viewer3D Viewer;
};

You then delete geom_1:


mymacro {
-geom_1;
};


TOC PREV NEXT INDEX