API Reference > Functions > SDAI > sdaiFindInstanceUsedInBN Function
sdaiFindInstanceUsedInBN Function
Syntax
C++
DAI_EXPORT SdaiNPL sdaiFindInstanceUsedInBN(SdaiInstance instance, SdaiString roleName, SdaiNPL domain, SdaiNPL resultList);

sdai.h

Parameters 
Description 
SdaiInstance instance 
[in] Identifier of the entity instance whose users are requested.  
SdaiString roleName 
[in] A string that contains a fully qualified attribute name, i.e. ifcplacement.location.  
SdaiNPL domain 
[in] Identifier of a NPL containing the SdaiSchemaInstance identifiers of the schema instances that define the domain of the function request.  
SdaiNPL resultList 
[in/out] Identifier of the pre-existing NPL to which the identifiers of the entity instances referencing the current instance by the specified attribute name are added.  

Identifier of the result NPL.

Retrieves the identifiers of all the entity instances in the model data that reference the curent entity instance by the specified attribute name. 

 

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