AcMapObjClassDefinition:: GetCreateMethod Method
Retrieves the AutoCAD entity type that this feature class definition uses when a digitize process runs for this class.
AcMapObjClass::EErrCode GetCreateMethod( AcRxClass*& prxEntityType, ACHAR*& pszBlockName ) const;
Parameters |
Description |
prxEntityType |
Output entity type defining the create method, or NULL if undefined. |
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 AcRxObject::desc() returns. If the feature class definition uses a specific block reference name as a create method, AcDbBlockReference::desc() is output in prxEntityType 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].