Category Creo Parametric fundamentals, Object ProModelitem

Function ProModelitemUsernameDelete


Description
Removes the user-defined name from the object. For objects which must have some name in Creo Parametric, the default name will be used instead.
Replacement in Object TOOLKIT: wfcWModelItem::DeleteUserDefinedName
Synopsis
#include <ProModelitem.h>
ProErrorProModelitemUsernameDelete(
ProModelitem* item
/* (In)
The model item handle.
*/
)
Returns
PRO_TK_NO_ERRORThe item name was found and deleted.
PRO_TK_E_NOT_FOUNDName was not deleted.
PRO_TK_BAD_INPUTSThe input argument was invalid.
PRO_TK_NOT_IMPLEMENTEDNot supported for this item type.
See Also
ProModelitemNameGet
ProModelitemDefaultnameGet

Manual References:

  1. Core: Models and Model Items: Model Items
  2. Core: Models and Model Items: Model Items