API 文件集 > Mechanica > Object ProMechload > Function ProMechloadGravitydataGet
Function ProMechloadGravitydataGet
Description
Obtains the value of the gravity data from the Creo Simulate item.
Licensing Requirement
Synopsis
#include <ProMechLoad.h>
ProMechloadGravitydataGet
(
/* (In)
The item.
*/
/* (Out)
The gravity data. Free this using ProMechgravitydataFree().
*/
)
Returns
The function succeeded.
One or more input arguments are invalid.
The Creo Simulate session is not initialized.
The Input ProMechItem Solid pointer is invalid.
A general error was encountered.
The item does not contain this type of load.
There is not enough memory to perform the operation.
See Also
Sample Code References
這是否有幫助?