Function ProModelitemNameSet
Description
Sets or resets the name of the model item.
The valid types (p_item->type) are as follows:
If you pass any other type, the function returns PRO_TK_BAD_INPUTS.
Replacement in Object TOOLKIT:
Synopsis
#include <ProModelitem.h>
ProModelitemNameSet
(
ProModelitem* p_item
/* (In)
The model item
*/
ProName name
/* (In)
The name to set
*/
)
Returns
The function successfully set the name.
One or more of the arguments are invalid.
The string passed has exceeded the maximum size, that is, PRO_NAME_SIZE.
The name specified is not a valid name for a model item in Creo Parametric.
The name specified is already in use in the model.
Sample Code References
User Guide References
Isto foi útil?