AcMapTopology::DeleteNode Method

Land Desktop Development ARX CPP SDK

AcMapTopology:: DeleteNode Method
 

Deletes a node from this topology model.

AcMap::EErrCode DeleteNode(
    long lNodeID
);
Parameters 
Description 
lNodeID 
Input ID of the node to delete.  
Returns

Returns AcMap::EErrCode kOk if successful. Returns AcMap::EErrCode kErrNotClosed if the node object is open for read/write. Returns AcMap::EErrCode kErrTopDeleteDisabled if the node is not a pseudonode for a linear or polygon topology.

Remarks

Only current stand-alone nodes can be deleted. For a linear or polygon topology, only a pseudonode can be deleted. Before deleting a node, open the topology for writing and free all references associated with the node. After the deletion succeeds, the node object referenced by lNodeID becomes invalid; the caller is responsible for freeing this object.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].