Category Mechanica, Object ProMechcontact

Function ProMechcontactYdirectionGet


DEPRECATED: Since Wildfire 4.0
SUPERSEDED BY: ProMechgapSimpledataGet
Description
Note: From release Wildfire 4.0 this function is superseded by ProMechgapSimpledataGet(). PTC recommends using the new function in place of this function in all new or updated user applications.

Obtains the Orientation for the contact item.

Licensing Requirement
TOOLKIT for Mechanica
Synopsis
#include <ProMechContact.h>
ProErrorProMechcontactYdirectionGet(
ProMechItem* item
/* (In)
The contact item.
*/
ProMechYDirection* y_dir
/* (Out)
The Orientation. Free this output using ProMechydirectionFree().
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments are invalid.
PRO_TK_BAD_CONTEXTThe Creo Simulate session is not initialized.
PRO_TK_GENERAL_ERRORA general error is encountered.
PRO_TK_INVALID_PTRThe Input ProMechItem Solid pointer is invalid .
PRO_TK_OUT_OF_MEMORYThere is not enough memory to perform the operation.