Category Creo Parametric fundamentals, Object ProMdl

Function ProMdlFiletypeGet


Description
provides ProMdlfileType for a given model.
Replacement in Object TOOLKIT: wfcWModel::GetMdlfileDescriptor
Synopsis
#include <ProMdl.h>
ProErrorProMdlFiletypeGet(
ProMdl model
/* (In)
the model. Not allowed to be NULL.
*/
ProMdlfileType* filetype
/* (Out)
file type. Not allowed to be NULL.
*/
)
Returns
PRO_TK_NO_ERRORthe function successfully provided the filetype.
PRO_TK_BAD_INPUTSthe model argument is NULL.
PRO_TK_INVALID_PTRthe model argument does not represent a correct model.

Manual References:

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

Sample Code References:

  1. pt_examples ( UtilVisit.c )