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 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.
This process simply duplicates the existing file; it does not replace it or attach it to current drawing.