AcMapObjClassDefinition::GetSupportedEntityTypes Method

Land Desktop Development ARX CPP SDK

AcMapObjClassDefinition:: GetSupportedEntityTypes Method
 

Lists the AutoCAD entity types that this feature class definition supports.

AcMapObjClass::EErrCode GetSupportedEntityTypes(
    AcArray<AcRxClass*>& aEntityTypes, 
    AcMapStringArray& aBlockNames
) const;
Parameters 
Description 
aEntityTypes 
Output array of supported entity types.  
aBlockNames 
Output array of supported block names.  
Returns

Returns AcMapObjClass::EErrCode eOk if the class supports at least one entity type. Returns AcMapObjClass::EErrCode eClassNotFromCurrentSchema if the class is not from the current feature-definition file. Returns AcMapObjClass::EErrCode eRxClassNotFound if an entity type was found but the corresponding AcRxClass was not found in the class dictionary. Returns AcMapObjClass::EErrCode eFailed if no entity type is supported or if the process failed for some other reason.

Remarks

The list typically matches the value that AcRxObject::desc() returns. A feature class definition can support any block reference, or specific block reference names. For any block reference, the corresponding entity type AcDbBlockReference::desc() is output in aEntityTypes. For specific block reference names, the names are output in aBlockNames.

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