API Reference > Functions > SDAI > _sdaiGetEntityById Function
_sdaiGetEntityById Function
Syntax
C++
DAI_EXPORT SdaiAppInstance _sdaiGetEntityById(SdaiModel model, SdaiInteger id);

sdai.h

Parameters 
Description 
SdaiModel model 
[in] A model that owns the entity.  
SdaiInteger id 
[in] An entity identifier.  

An entity instance represented by its STEP-identifier if the entity was found; otherwise the function returns the NULL pointer.

Retrieves an entity by its identifier.

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.