Lists the AutoCAD entity types that this feature class definition supports.
AcMapObjClass::EErrCode GetSupportedEntityTypes( AcMapStringArray& 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 eFailed if no entity type is supported or if the process failed for some other reason.
The list typically matches the value that AcRxClass::name() 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()->name() is output in aEntityTypes. For specific block reference names, the names are output in aBlockNames.