AcMapTopology::DeleteNode Method

Land Desktop Development ARX CPP SDK

AcMapTopology:: DeleteNode Method
 

Deletes a node from this topology model.

AcMap::EErrCode DeleteNode(
    const AcMapTopoNode& node
);
Parameters 
Description 
node 
Input object reference of the AcMapTopoNodenode 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 a topology for writing. After the deletion succeeds, the object reference passed in the node parameter 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].