Category
Mechanica
, Object
ProMechload
Function ProMechgravitydataAlloc
Description
Allocates the memory for a Creo Simulate gravity load data handle.
Licensing Requirement
TOOLKIT for Mechanica
Synopsis
#include <
ProMechLoad.h
>
ProError
ProMechgravitydataAlloc
(
ProMechGravityData
*
data
/* (Out)
The data
*/
)
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
There is not enough memory to perform the operation.
Manual References:
Creo Simulate: Items: Pressure, Gravity, and Bearing Loads
Creo Simulate: Items: Pressure, Gravity, and Bearing Loads
Sample Code References:
pt_mech_examples ( PTMechExLoadMenu.c )