Category Features, Object ProUdfvarparam

Function ProUdfvarparamAlloc


Description
Allocates a UDF variable parameter or annotation structure which describes a variable parameter or annotation.
Synopsis
#include <ProUdf.h>
ProErrorProUdfvarparamAlloc(
ProName name
/* (In)
The parameter name.
*/
ProModelitem* item
/* (In)
The owner item. This item must have type and id filled out. The owner field is ignored by Creo Parametric. The following types are allowed here:
*/
ProUdfvarparam* param
/* (Out)
The variant parameter handle.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.
PRO_TK_NO_LICENSENo license is available for this function.
See Also
ProUdfdataVarparamAdd
ProUdfvarparamValueSet

Manual References:

  1. Core: Features: Variable Parameters and Annotations
  2. Core: Features: Variable Parameters and Annotations

Sample Code References:

  1. pt_udf_examples ( PTUDFExUDFPlacementDashboard.c )