API Documentation
>
Mechanica
>
Object ProMechload
> Function ProMechgravitydataAlloc
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.
Sample Code References
pt_mech_examples ( PTMechExLoadMenu.c )
User Guide References
Pressure, Gravity, and Bearing Loads:ProMechgravitydataAlloc
Was this helpful?
This site works best with JavaScript enabled