A3DBIMRelAggregatesGet

A3DStatus A3DBIMRelAggregatesGet(const A3DBIMRelAggregates *pRelationship, A3DBIMRelAggregatesData *pData)
A3DStatus A3DBIMRelAggregatesGet(const A3DBIMRelAggregates* pRelationship, A3DBIMRelAggregatesData* pData)

Retrieves the data of an A3DBIMRelAggregates entity.

14.2

Return Values

A3D_SUCCESS: In case of success.

A3D_INITIALIZE_NOT_CALLED: if the library is not initialized.

A3D_INVALID_DATA_STRUCT_NULL: if pData is null

A3D_INVALID_DATA_STRUCT_SIZE: if pData is incorrectly initialized

A3D_INVALID_ENTITY_NULL: if pRelationshipis null

A3D_INVALID_ENTITY_TYPE: if pRelationship references an invalid entity type

In case of success, the pData contains heap allocated memory your are responsible for. To free the memory on pData, call A3DBIMRelAggregatesGet with pRelationship set to 0.

Parameters

pRelationship: The relationship entity to get data from

pData: A pointer to the data structure to fill in

Returns

A3D_SUCCESS on success, or an error code on failure