Category Creo Parametric fundamentals, Object ProMdl

Function ProMdlCommonnameSet


Description
Assigns a model common name. This is the name to identify a PDM object containing this model file.
Replacement in Object TOOLKIT: pfcModel::CommonName
Synopsis
#include <ProMdl.h>
externProMdlCommonnameSet(
ProMdl model
/* (In)
The model.
*/
wchar_t* common_name
/* (In)
The common name.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.
PRO_TK_CANT_MODIFYThe common name for the given model has been locked by PDM and cannot be modified.
PRO_TK_GENERAL_ERRORThe function failed.

Manual References:

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