Category Curve and surface collection, Object ProCollectioninstr

Function ProCollectioninstrAlloc


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.

Allocates a ProCollectioninstr object

Synopsis
#include <ProCollect.h>
ProErrorProCollectioninstrAlloc(
ProCollectioninstrType instr_type
/* (In)
the instruction type
*/
ProCollectioninstrAttr attr
/* (In)
the instruction attribute
*/
ProCollectioninstr* r_instr
/* (Out)
pointer to new instruction
*/
)
Returns
PRO_TK_NO_ERROR PRO_TK_OUT_OF_MEMORY

Manual References:

  1. Updating Older Applications: Tools Available for Updating Applications
  2. User Interface: Curve and Surface Collection: Programmatic Access to Legacy Collections