Category Mechanica, Object ProMechfunc

Function ProMechfuncVartypeSet


Description
Sets the value of the function Var Type to the function item.
Licensing Requirement
TOOLKIT for Mechanica
Synopsis
#include <ProMechFunction.h>
ProErrorProMechfuncVartypeSet(
ProMechItem* item
/* (In)
The item.
*/
ProMechfuncVarType value
/* (In)
The function Var Type.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments are invalid.
PRO_TK_CANT_ACCESSCannot access the object in the current mode.
PRO_TK_BAD_CONTEXTThe Creo Simulate session is not initialized.
PRO_TK_INVALID_PTRThe Input ProMechItem Solid pointer is invalid.
PRO_TK_CANT_MODIFYCannot modify the item.
PRO_TK_GENERAL_ERRORA general error is encountered.

Manual References:

  1. Creo Simulate: Items: Functions