Retrieves the name of the feature-definition file, if any, attached to the current drawing.
AcMapObjClass::EErrCode GetFeatureDefinitionFileAttached( ACHAR*& pszSchemaFileName ) const;
Parameters |
Description |
pszSchemaFileName |
Output the full pathname of the attached feature-definition file, or NULL if no file is attached. The caller must free this object, typically with acutDelString(). |
Returns AcMapObjClass::EErrCode eSchemaFileAttachedAndFound if the feature-definition file is attached to the current drawing and was found. Returns AcMapObjClass::EErrCode eSchemaFileAttachedButNotFound if the feature-definition file is attached to the current drawing but was not found. 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.
It is possible for a feature-definition file to be attached to the current drawing but physically missing from the indicated location (path); use the returned error code to determine the file status.