Category Mechanica, Object ProMechitem

Function ProMechitemNameGet


Description
Returns the name of a Creo Simulate item.
Licensing Requirement
TOOLKIT for Mechanica
Synopsis
#include <ProMechItem.h>
ProErrorProMechitemNameGet(
ProMechItem* item
/* (In)
The item.
*/
ProName name
/* (Out)
The item name.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments are invalid.
PRO_TK_GENERAL_ERRORA general error is encountered.
PRO_TK_BAD_CONTEXTThe Creo Simulate session is not initialized.
PRO_TK_INVALID_PTRThe Input ProMechItem Solid pointer is invalid.

Manual References:

  1. Creo Simulate: Items: Accessing Creo Simulate Items
  2. Creo Simulate: Items: Accessing Creo Simulate Items

Sample Code References:

  1. pt_mech_examples ( PTMechExItemInfo.c )
  2. pt_mech_examples ( PTMechExUtils.c )
  3. pt_mech_examples ( PTMechExUtils.c )