Category
Mechanica
, Object
ProMechvalue
Function ProMechvalueAlloc
Description
Allocates the memory for a Creo Simulate value handle.
Licensing Requirement
TOOLKIT for Mechanica
Synopsis
#include <
ProMechValue.h
>
ProError
ProMechvalueAlloc
(
ProMechValue
*
value
/* (Out)
The handle.
*/
)
Returns
PRO_TK_NO_ERROR
The function succeeded.
PRO_TK_BAD_INPUTS
One or more input arguments are invalid.
PRO_TK_BAD_CONTEXT
The Creo Simulate session is not initialized.
PRO_TK_OUT_OF_MEMORY
Insufficient memory.
Manual References:
Creo Simulate: Items: Accessing the Properties used for Loads and Constraints
Sample Code References:
pt_mech_examples ( PTMechExUtils.c )
pt_mech_examples ( PTMechExUtils.c )