Category Mechanica, Object ProMechcontact

Function ProMechcontactDistributiontypeGet


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 distribution type for the contact item.

Licensing Requirement
TOOLKIT for Mechanica
Synopsis
#include <ProMechContact.h>
ProErrorProMechcontactDistributiontypeGet(
ProMechItem* item
/* (In)
The contact item.
*/
ProMechContactDistrType* type
/* (Out)
The distribution type.
*/
)
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.