Category Mechanica, Object ProMechitem

Function ProMechitemNameSet


Description
Returns the name of a Creo Simulate item.
Licensing Requirement
TOOLKIT for Mechanica
Synopsis
#include <ProMechItem.h>
ProErrorProMechitemNameSet(
ProMechItem* item
/* (In)
The item.
*/
ProName name
/* (In)
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_CANT_ACCESSCannot access the object in the current mode.
PRO_TK_CANT_MODIFYCannot modify the item.

Sample Code References:

  1. pt_mech_examples ( PTMechExCopy.c )
  2. pt_mech_examples ( PTMechExLoadMenu.c )
  3. pt_mech_examples ( PTMechExLoadMenu.c )
  4. pt_mech_examples ( PTMechExLoadMenu.c )
  5. pt_mech_examples ( PTMechExLoadMenu.c )
  6. pt_mech_examples ( PTMechExMatOrient.c )
  7. pt_mech_examples ( PTMechExUtils.c )