Category Creo Parametric fundamentals, Object ProModelitem

Function ProModelitemDefaultnameGet


Description
Gets the "default" name for the item. This is the name assigned by Creo Parametric to the item when it was created, before it may or may not have been modified by the user. For feature names where the default name would include spaces, this function will substitute underscore characters ("_") for spaces.
Replacement in Object TOOLKIT: wfcWModelItem::GetDefaultName
Synopsis
#include <ProModelitem.h>
ProErrorProModelitemDefaultnameGet(
ProModelitem* item
/* (In)
The model item handle.
*/
ProName name
/* (Out)
The default name for this item.
*/
)
Returns
PRO_TK_NO_ERRORDefault name was found.
PRO_TK_E_NOT_FOUNDDefault name was not found.
PRO_TK_BAD_INPUTSThe input argument was invalid.
PRO_TK_NOT_IMPLEMENTEDNot supported for this item type.
See Also
ProModelitemNameGet

Manual References:

  1. Assembly: Data Sharing Features: Accessing Properties of Variant Features
  2. Core: Models and Model Items: Model Items
  3. Core: Models and Model Items: Model Items