A3DMkpLinkForAdditionalMarkupReferenceGet

A3DStatus A3DMkpLinkForAdditionalMarkupReferenceGet(const A3DMkpMarkup *pMarkup, A3DUns32 *puiLinkedItemsSize, A3DMiscMarkupLinkedItem ***pppLinkedItems)
A3DStatus A3DMkpLinkForAdditionalMarkupReferenceGet(const A3DMkpMarkup* pMarkup, A3DUns32* puiLinkedItemsSize, A3DMiscMarkupLinkedItem*** pppLinkedItems)

Get links corresponding to the A3DMkpMarkup additional references such as element defining the toleranced line for line profile.

This function allocates and returns an array of A3DMiscMarkupLinkedItem. To free the allocated array, the function must be called again with pMarkup as NULL.

6.0

Internally there are several types of links such as reference, position, additional reference, owner or datum.This function only returns the additional reference links.

9.0

Return Values

A3D_INITIALIZE_NOT_CALLED:

A3D_INVALID_DATA_STRUCT_SIZE:

A3D_INVALID_DATA_STRUCT_NULL:

A3D_INVALID_ENTITY_NULL:

A3D_INVALID_ENTITY_TYPE:

A3D_SUCCESS:

Parameters

pMarkup: The A3DMkpMarkup entity to get linked item list from. If NULL, pppLinkedItems is freed instead of being allocated.

puiLinkedItemsSize: The number of A3DMiscMarkupLinkedItem in the resulting array.

pppLinkedItems: The resulting array.

Returns

A3D_SUCCESS on success, or an error code on failure