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