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 application instance.  
SdaiInteger id 
[in] An entity identifier.  

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

Retrieves an application instance by its identifier

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