AcMapClassificationManager::DeleteFeatureClassDefinition Method

Land Desktop Development ARX CPP SDK

AcMapClassificationManager:: DeleteFeatureClassDefinition Method
 

Deletes a feature class definition from the feature-definition file attached to the current drawing.

AcMapObjClass::EErrCode DeleteFeatureClassDefinition(
    const ACHAR* pszClassName
);
Parameters 
Description 
pszClassName 
Input name of the feature class to delete.  
Returns

Returns AcMapObjClass::EErrCode eOk if successful. Returns AcMapObjClass::EErrCode eClassNameInvalid if the class name is invalid. Returns AcMapObjClass::EErrCode eClassNameTooLong if the class name is too long. Returns AcMapObjClass::EErrCode eNoSchemaFileAttached if no feature-definition file is attached to the current drawing. Returns AcMapObjClass::EErrCode eClassNotFound if the class is not in the feature-definition file. Returns AcMapObjClass::EErrCode eNoUserPrivilegeToAlterSchema if the current user lacks the privileges to change the feature-definition file. Returns AcMapObjClass::EErrCode eFailed if the process failed for some other reason.

Remarks

Entities classified with the deleted feature class are not updated; instead, they retain their classification but become undefined.

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