API Reference > Functions > SDAI > sdaiGetEntity Function
sdaiGetEntity Function
Syntax
C++
DAI_EXPORT SdaiEntity sdaiGetEntity(SdaiModel model, SdaiString name);

sdai.h

Parameters 
Description 
SdaiModel model 
[in] A model that contains the entity definition.  
SdaiString name 
[in] A string that contains the entity name.  

An entity with specified name.

Returns an entity specified by its name.

The function is case insensitive.

SdaiModel model = ...; SdaiEntity entCartesianPoint = sdaiGetEntity(model, "ifccartesianpoint");

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