You can get OdDAIObjectId of an entity instance and then get a # from it if needed:
OdIfcEntityPtr pInst = ...; // or IfcWallPtr pWallInst = ...;
OdDAIObjectId id = pInst->id();
OdDbHandle h = id.getHandle();
弊社の事業開発マネージャーが、
お客様のご質問にお答えいたします
WeChatで接続する
stjiaxu