API Reference > Functions > SDAI > sdaiGetEntityExtent Function
sdaiGetEntityExtent Function
Syntax
C++
DAI_EXPORT SdaiSet sdaiGetEntityExtent(SdaiModel model, SdaiEntity entity);

sdai.h

Parameters 
Description 
SdaiModel model 
[in] The model to get entities collection from.  
SdaiEntity entity 
[in] The entity definition to find entity instances.  

A set of entity instances of the type which is derived from the entity.

Retrieves a collection of entity instances that are subtypes of entity type described by entity definition.

SdaiEntity entPropertySingleValue = sdaiGetEntity(model, "IfcPropertySingleValue"); SdaiSet propertySingleValues = sdaiGetEntityExtent(model, entPropertySingleValue); SdaiInteger cnt = sdaiGetMemberCount(propertySingleValues);
Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.