AcMapObjClassDefinition::GetCreateMethodName Method

Land Desktop Development ARX CPP SDK

AcMapObjClassDefinition:: GetCreateMethodName Method
 

Retrieves the AutoCAD entity type that this feature class definition uses when a digitize process runs for this class.

AcMapObjClass::EErrCode GetCreateMethodName(
    ACHAR*& pszEntityType, 
    ACHAR*& pszBlockName
) const;
Parameters 
Description 
pszEntityType 
Output entity type defining the create method, or NULL if undefined. The caller must free this object, typically with acutDelString().  
pszBlockName 
Output block name, or NULL if undefined or no block is used. The caller must free this object, typically with acutDelString().  
Returns

Returns AcMapObjClass::EErrCode eOk if successful. Returns AcMapObjClass::EErrCode eClassNotFromCurrentSchema if the class is not from the current feature-definition file. Returns AcMapObjClass::EErrCode eFailed if the process failed for some other reason.

Remarks

The entity type typically matches the value that AcRxClass::name() returns. If the feature class definition uses a specific block reference name as a create method, AcDbBlockReference::desc()->name() is output in pszEntityType and the name is output in pszBlockName.

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