Category Mechanica, Object ProMechinterface

Function ProMechinterfaceDefaultGet


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

Obtains the default interface connecton type.

Licensing Requirement
TOOLKIT for Mechanica
Synopsis
#include <ProMechInterface.h>
ProErrorProMechinterfaceDefaultGet(
ProSolid owner
/* (In)
The solid model.
*/
ProMechInterfaceType* default_type
/* (Out)
The default 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_INVALID_PTRThe Input ProMechItem Solid pointer is invalid.
PRO_TK_GENERAL_ERRORA general error is encountered.