# Pour certaines instances d’entité, comment puis-je obtenir l'ID à partir du fichier STEP ifc?

 1. [FAQ](/fr/faq)
2. »
3. [L’IFC](/fr/faq/lifc)

Vous pouvez obtenir OdDAIObjectId d'une instance d'entité, puis en obtenir un # si nécessaire:

```
OdIfcEntityPtr pInst = ...; // or IfcWallPtr pWallInst = ...;
OdDAIObjectId id = pInst->id();
OdDbHandle h = id.getHandle();
```
