AcMapClassificationManager::SaveCurrentFeatureDefinitionFileAs Method

Land Desktop Development ARX CPP SDK

AcMapClassificationManager:: SaveCurrentFeatureDefinitionFileAs Method
 

Saves with a different name the feature-definition file attached to the current drawing.

AcMapObjClass::EErrCode SaveCurrentFeatureDefinitionFileAs(
    const ACHAR* pszSchemaFileName
) const;
Parameters 
Description 
pszSchemaFileName 
Input name of the new feature-definition file. If no path is specified, the current path is used.  
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 eFileAlreadyExists if a file with the same name already exists. Returns AcMapObjClass::EErrCode eFailedSavingSchema if the feature-definition file could not be saved. 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

This process simply duplicates the existing file; it does not replace it or attach it to current drawing.

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