Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
sdaiCreateNestedAggrByIndexADB Function
Syntax
C++
DAI_EXPORT SdaiAggr sdaiCreateNestedAggrByIndexADB(SdaiOrderedAggr aggregate, SdaiAggrIndex index, SdaiADB selaggrInstance);

Creates a nested aggregate instance stored in an attribute data block within a specified aggregate instance at the position specified by the index.

Parameters
Description
aggregate
[in] An aggregate instance that contains the created nested aggregate.
index
[in] An index that determines the position of the created item.
selaggrInstance
[in] An attribute data block instance that defines the type of the SELECT value.

The identifier of the newly created aggregate instance.

SdaiADB lineIndex = sdaiCreateEmptyADB(); SdaiString lineIndexPath[] = { "ifclineindex" }; sdaiPutADBTypePath(lineIndex, 1, lineIndexPath); SdaiAggr lineIndexAggr = sdaiCreateNestedAggrByIndexADB(segments, 0, lineIndex);

File: sdai.h

Copyright © 2002-2022. Open Design Alliance All rights reserved.