A3DBIMRelVoidsElementGet

A3DStatus A3DBIMRelVoidsElementGet(const A3DBIMRelVoidsElement *pRelationship, A3DBIMRelVoidsElementData *pData)
A3DStatus A3DBIMRelVoidsElementGet(const A3DBIMRelVoidsElement* pRelationship, A3DBIMRelVoidsElementData* pData)

Retrieves the data of an A3DBIMRelVoidsElement 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 pDBIMDatais null

A3D_INVALID_ENTITY_TYPE: if pdBIMData 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 A3DBIMRelVoidsElementGet 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