Category Creo Parametric fundamentals, Object ProMdl

Function ProMdlCommonnameGet


Description
Obtains a model common name. This is the name to identify a PDM object containing this model file.
Replacement in Object TOOLKIT: pfcModel::CommonName
pfcModel::IsCommonNameModifiable
Synopsis
#include <ProMdl.h>
ProErrorProMdlCommonnameGet(
ProMdl model
/* (In)
The model.
*/
wchar_t** common_name
/* (Out)
The model common name. Free this string using ProWstringFree().
*/
ProBoolean* is_modifiable
/* (Out)
PRO_B_TRUE if the common name can be modified, PRO_B_FALSE if it has been locked by PDM and cannot be modified. This argiment can be NULL if not interested.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.
PRO_TK_GENERAL_ERRORThe function failed.

Manual References:

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