tpm_editdelelem

AutoCAD Map 3D AutoLISP

Up a level
tpm_editdelelem
 
 

Deletes an element from a topology.

(tpm_editdelelem tpm_id elem_id [delobjs])

Returns T or nil.

tpm_id Topology ID (real)
elem_id Element ID (real)
delobjs T or nil:
T Delete object from the drawing also
nil Delete object from the topology only

This function deletes elements from a topology. It does not erase corresponding entities in the drawing unless the delobjs argument is T.

Warning  Deleting an element can cause other deletions.

  • If you delete a node, you delete any link or polygon that contains it.
  • If you delete a link, you delete only the nodes belonging to that link. If the link belongs to one polygon only, you delete the polygon. If the link is shared by two polygons, you merge the polygons.
  • If you delete a polygon, you delete any node or link belonging to that polygon only.