Category Curve and surface collection, Object ProCollectionref

Function ProCollectionrefAlloc


DEPRECATED: Since Wildfire 4.0
SUPERSEDED BY: Depends on the context, consult the user documentation.
Description
Note: This function accesses an older version of the ProCollection interface. It has been superseded. Please consult the Creo Parametric TOOLKIT user's guide chapter on "Collections" for more information.

Allocate a new ProCollectionRef object

Synopsis
#include <ProCollect.h>
ProErrorProCollectionrefAlloc(
ProCollectionrefType type
/* (In)
Type of the reference
*/
ProSelection selection
/* (In)
Selection identifying the target of the reference
*/
ProCollectionref* r_ref
/* (Out)
Pointer to the new collection reference object
*/
)
Returns
PRO_TK_NO_ERROR PRO_TK_BAD_INPUTS PRO_TK_OUT_OF_MEMORY

Manual References:

  1. User Interface: Curve and Surface Collection: Programmatic Access to Legacy Collections