A3DMkpLinkForMarkupReferenceGet
-
A3DStatus
A3DMkpLinkForMarkupReferenceGet(const A3DMkpMarkup *pMarkup, A3DUns32 *puiLinkedItemsSize, A3DMiscMarkupLinkedItem ***ppLinkedItems) A3DStatusA3DMkpLinkForMarkupReferenceGet(constA3DMkpMarkup* pMarkup,A3DUns32* puiLinkedItemsSize,A3DMiscMarkupLinkedItem*** ppLinkedItems)Get links corresponding to the
A3DMkpMarkupreferences This function allocates and returns an array ofA3DMiscMarkupLinkedItem.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 reference links.
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
A3DMkpMarkupentity to get linked item list from. If NULL, pppLinkedItems is freed instead of being allocated.puiLinkedItemsSize: The number of
A3DMiscMarkupLinkedItemin the resulting array.ppLinkedItems: The resulting array.
Returns
A3D_SUCCESSon success, or an error code on failure