del
'del' ['p'|'l'|'c'|'s'|'b'|'t'|'v'|'S'|'L'|'se'|'sh' <entity>]|
['l0' <entity>]|
['se0']|
['mesh']|
['pic']
This keyword is used to delete entities, the whole mesh (see also qdel) or a background-picture. For example,
del se part
will delete the set “part” but all included entities are untouched. The following entities are known:
Points p, Lines l, Combined Lines c, Surfaces s, Bodies b, Node Texts t, values v, Nurb Surfaces S, Nurb Lines L, Sets se and Shapes sh.
When an entity is deleted, all dependent higher entities are deleted as well. Special cases are
del l0 set (l<zero>)
were all lines with zero length in set ”set” are deleted and
del se0
will delete all empty sets.
If a value is to be deleted it is necessary to mask it with a leading '\' otherwhise it would be replaced by its content:
del v \val
will prevent the substitution of val1 by its content.
If a background-picture was loaded with the ”read” command it can be deleted with:
del pic
See also ”zap” on how to delete a set with all its referenced entities.