This call retrieves an aggregation that contains all instances of the entity given.


//   Visual Studio for Windows
__int32 __declspec(dllexport) * __stdcall sdaiGetEntityExtent(
            __int32 model,
            __int32 entity

//   Linux, OS-X and non-Visual Studio Windows solutions
int32_t * sdaiGetEntityExtent(
            int32_t model,
            int32_t entity

Property model

Size: 32 bit / 4 byte (value)
Handle of the model containing the IFC file, this handle is needed in many other calls and given when the model is created.

Property entity

Size: 32 bit / 4 byte (value)
Handle of an entity (schema item/class), for example IFCWALLSTANDARDCASE as defined in IFC4.exp.


Here you can find code snippits that show how the API call sdaiGetEntityExtent can be used.

__int32 localGetEntityExtentBN(__int32 model, char * entityName)
    //  This function is an alternative to the API call sdaiGetEntityExtentBN()
    //  based on sdaiGetEntityExtent().
    //  Use of sdaiGetEntityExtent() can lead to performance improvement compared to sdaiGetEntityExtentBN().
    __int32 entity = sdaiGetEntity(model, entityName);

    return  sdaiGetEntityExtent(model, entity);