AcMapTopology::Open Method

Land Desktop Development ARX CPP SDK

AcMapTopology:: Open Method
 

Opens the topology model in both current and source (attached) drawings. After you are finished with a topology model, call Close()to close it.

AcMap::EErrCode Open(
    EOpenMode eMode, 
    bool bCreateObjects, 
    bool bSelectObjectsForSaveBack, 
    int* nAuditResults = NULL
);
Parameters 
Description 
eMode 
Input EOpenModeopen mode.  
bCreateObjects 
Input true to create objects from the source drawing; otherwise, false.  
bSelectObjectsForSaveBack 
Input true to select topology objects in the save set; otherwise, false.  
nAuditResults 
Input pointer that determines topology audit behavior. If NULL (the default value), no audit is performed. If the pointer is valid, the returned value zero indicates that the topology is correct and complete; otherwise, the returned value is a one of (or a combination of) the EAuditResultsvalues.  
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].