AcMapClassificationManager::Audit Method

Land Desktop Development ARX CPP SDK

AcMapClassificationManager:: Audit Method
 

Examines an entity for out-of-range or missing classified-property values, fixing these values if desired.

AcMapObjClass::EErrCode Audit(
    AcDbObjectId& entId, 
    bool bFixOutOfRange, 
    bool bFixMissingProperties
);
Parameters 
Description 
entId 
Input ID of the entity to examine.  
bFixOutOfRange 
Input true to reset each out-of-range property to its default value, or false to not reset these properties.  
bFixMissingProperties 
Input true to add each missing property to the entity, or false to not add these properties.  
Returns

Returns AcMapObjClass::EErrCode eOk if successful. Returns AcMapObjClass::EErrCode eNoSchemaFileAttached if no feature-definition file is attached to the current drawing. Returns AcMapObjClass::EErrCode eEntityNotClassified if the entity is unclassified. Returns AcMapObjClass::EErrCode eOutOfRange if at least one property value is out of range. This error code is returned only if bFixOutOfRange is true and an out-of-range property could not be fixed. If the range of the Layer property specifies a layer that does not exist in the current drawing, for example, attempting to fix this nonexistent layer will fail. Returns AcMapObjClass::EErrCode eMissingProperty if the entity is missing at least one property. This error code is returned only if bFixMissingProperties is true and a missing property could not be added to the entity. If a missing object-data property refers to a table and column with the same name but different type as the one in the current drawing, for example, the type mismatch prevents adding the property and setting its value. Returns AcMapObjClass::EErrCode eFailed if the process failed for some other reason.

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