AcMapClassificationManager:: Audit Method
Examines multiple entities for out-of-range or missing classified-property values, listing and fixing these values if desired.
AcMapObjClass::EErrCode Audit( AcDbObjectIdArray* paEntIdsOutOfRange, AcDbObjectIdArray* paEntIdsMissingProperties, AcDbObjectIdArray* paEntIdsNotClassified, AcDbObjectIdArray& aEntIds, bool bFixOutOfRange, bool bFixMissingProperties );
Parameters |
Description |
paEntIdsOutOfRange |
Output entity IDs of out-of-range properties, or NULL if not needed by the caller. |
paEntIdsMissingProperties |
Output entity IDs of missing properties, or NULL if not needed by the caller. |
paEntIdsNotClassified |
Output IDs of unclassified entities. or NULL if not needed by the caller. |
aEntIds |
Input IDs of the entities 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 eFailed if the process failed for at least one entity.
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].