# For some EntityInstance, how do I get the ID from the STEP file?

 1. [FAQ](/faq)
2. »
3. [STEP](/faq/step)

### You can get OdDAIObjectId of an entity instance and then get a # from it if needed:

```plaintext
OdDAI::ApplicationInstance pInst = ...; // arbitrary instance of SDAI Model
OdDAIObjectId id = pInst->id();
OdDbHandle h = id.getHandle();
```
