Category Curve and surface collection, Object ProSrfcollref

Function ProSrfcollrefAlloc


Description
Allocates a surface collection reference handle
Synopsis
#include <ProSrfcollection.h>
ProErrorProSrfcollrefAlloc(
ProSrfcollrefType type
/* (In)
The reference type.
*/
ProReference item
/* (In)
The reference item.
*/
ProSrfcollref* ref
/* (Out)
Pointer to the reference handle.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more arguments was invalid.
PRO_TK_OUT_OF_MEMORYMemory allocation failure.

Manual References:

  1. User Interface: Curve and Surface Collection: Creation and Modification of Surface Collections
  2. User Interface: Curve and Surface Collection: Creation and Modification of Surface Collections

Sample Code References:

  1. pt_af_examples ( PTAEToDraft.c )
  2. pt_userguide ( UgDraftTemplate.c )
  3. pt_userguide ( UgRemoveSurfCreate.c )
  4. pt_userguide ( UgSimpleDraftCreate.c )
  5. pt_userguide ( UgMfgMillSeqCreate.c )