AcMapTopology::Create Method

Land Desktop Development ARX CPP SDK

AcMapTopology:: Create Method
 

Creates a topology. To set topology-creation values, call the three functions SetNodeCreationSettings(), SetEdgeCreationSettings(), and SetCentroidCreationSettings(). If caller does not call these functions, then node creation defaults to false, missing-centroid creation defaults to true, and the node or centroid block name defaults to ACAD_POINT.

AcMap::EErrCode Create(
    const AcDbObjectIdArray& edges, 
    const AcDbObjectIdArray& nodes, 
    const AcDbObjectIdArray& centroids, 
    int nType, 
    int nCreateOptions = eStopAtMultipleCentroid | eIgnoreIncompleteArea | eUsePersistentMarkers, 
    double dTolerance = 0.01
);
Parameters 
Description 
edges 
Input edge object IDs.  
nodes 
Input node object IDs.  
centroids 
Input centroid object IDs.  
nType 
Input ETopologyTypetopology type.  
nCreateOptions 
Input ECreateOptionstopology creation options. The default value is eStopAtMultipleCentroid | eIgnoreIncompleteArea | eUsePersistentMarkers.  
dTolerance 
Input topology-creation tolerance. The default value is 0.01.  
Returns

Returns AcMap::EErrCode kOk if successful; otherwise, returns a different error code.

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].