Category Feature element trees, Object ProElement

Function ProElementCollectionGet


Description
Extracts a collection from a feature element tree element of type PRO_E_STD_CURVE_COLLECTION_APPL, PRO_E_STD_SURF_COLLECTION_APPL.
Synopsis
#include <ProElement.h>
ProErrorProElementCollectionGet(
ProElement element
/* (In)
The element.
*/
ProCollectionGetOptions opts
/* (In)
Options to use when extracting the element. Reserved for future use; pass NULL in this release.
*/
ProCollection* collection
/* (Out)
A copy of the collection object. Free this using ProCollectionFree().
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more arguments is invalid.
PRO_TK_INVALID_TYPEThis element does not contain a collection.

Manual References:

  1. User Interface: Curve and Surface Collection: Access of Collection Object from Feature Element Trees
  2. User Interface: Curve and Surface Collection: Access of Collection Object from Feature Element Trees

Sample Code References:

  1. pt_examples ( UtilTree.c )