Unclassifies an entity. Unclassifying entities does not trigger internal transactions. Unclassify only entities classified with the currently attached feature-definition file. If you unclassify an entity that was classified with a different feature-definition file, the corresponding tags will not be changed. To remove all existing tags, regardless of which feature-definition file was used, use ClearAllTags().
AcMapObjClass::EErrCode Unclassify( AcDbObjectId& entId );
Parameters |
Description |
entId |
Input ID of the entity to unclassify. |
Returns AcMapObjClass::EErrCode eOk if successful. Returns AcMapObjClass::EErrCode eNoSchemaFileAttached if no feature-definition file is attached to the current drawing. Returns AcMapObjClass::EErrCode eAlreadyUnclassified if the entity is already-unclassified. Returns AcMapObjClass::EErrCode eFailed if the process failed for some other reason.