Category
Mechanica
, Object
ProMechitem
Function ProMechitemNameSet
Description
Returns the name of a Creo Simulate item.
Licensing Requirement
TOOLKIT for Mechanica
Synopsis
#include <
ProMechItem.h
>
ProError
ProMechitemNameSet
(
ProMechItem
*
item
/* (In)
The item.
*/
ProName
name
/* (In)
The item name.
*/
)
Returns
PRO_TK_NO_ERROR
The function succeeded.
PRO_TK_BAD_INPUTS
One or more input arguments are invalid.
PRO_TK_GENERAL_ERROR
A general error is encountered.
PRO_TK_BAD_CONTEXT
The Creo Simulate session is not initialized.
PRO_TK_CANT_ACCESS
Cannot access the object in the current mode.
PRO_TK_CANT_MODIFY
Cannot modify the item.
Sample Code References:
pt_mech_examples ( PTMechExCopy.c )
pt_mech_examples ( PTMechExLoadMenu.c )
pt_mech_examples ( PTMechExLoadMenu.c )
pt_mech_examples ( PTMechExLoadMenu.c )
pt_mech_examples ( PTMechExLoadMenu.c )
pt_mech_examples ( PTMechExMatOrient.c )
pt_mech_examples ( PTMechExUtils.c )