AcMapClassificationManager::GetFeatureDefinitionFileAttached Method

Land Desktop Development ARX CPP SDK

AcMapClassificationManager:: GetFeatureDefinitionFileAttached Method
 

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

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.

Remarks

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.

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