AcMapClassificationManager::ReloadCurrentFeatureDefinitionFile Method

Land Desktop Development ARX CPP SDK

AcMapClassificationManager:: ReloadCurrentFeatureDefinitionFile Method
 

Reloads the feature-definition file attached to the current drawing.

AcMapObjClass::EErrCode ReloadCurrentFeatureDefinitionFile();
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 some other reason.

Remarks

Use this function with caution. The feature-definition file's data and file name are cached in memory, so if a user is modifying the file while this function executes, it may reload outdated data while the file and memory are unsynchronized (prior to the user saving the file). In particular, this function will fail if the user renames or deletes the feature-definition file.

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