Object ProMdlname

Function ProMdlnameInit


Description
Initializes the ProMdl handle. Note: In Creo 3 this function does not support names longer than 80 characters. It will return PRO_TK_BAD_INPUTS for longer names. The support for longer names will be added in a future release.
Replacement in Object TOOLKIT: wfcWSession::GetModelFromMdlfileDescriptor
Synopsis
#include <ProMdl.h>
ProErrorProMdlnameInit(
ProMdlName name
/* (In)
The model name
*/
ProMdlfileType type
/* (In)
The model type
*/
ProMdl* p_mdl_handle
/* (Out)
The handle to initialize
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully initialized the handle.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.
PRO_TK_E_NOT_FOUNDUnable to find the required model.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Updating Older Applications: Tools Available for Updating Applications
  3. Core: Models and Model Items: Identifying Models
  4. Core: Models and Model Items: Identifying Models
  5. Working with Multi-CAD Models Using Creo Unite: Functions that Support Multi-CAD Assemblies
  6. Working with Multi-CAD Models Using Creo Unite: Superseded Functions
  7. Working with Multi-CAD Models Using Creo Unite: Restrictions on Character Length for Multi-CAD Functions
  8. Technical Summary of Changes for Creo 11.0.0.0: Functions superseded from Creo 1.0 to Creo 11.0

Sample Code References:

  1. pt_examples ( TestDbms.c )
  2. pt_examples ( TestDbms.c )
  3. pt_examples ( TestDbms.c )
  4. pt_examples ( TestDbms.c )
  5. pt_examples ( TestDbms.c )
  6. pt_examples ( TestDbms.c )
  7. pt_examples ( TestDbms.c )
  8. pt_examples ( TestDbms.c )
  9. pt_examples ( TestDbms.c )
  10. pt_examples ( TestDbms.c )
  11. pt_examples ( TestMisc.c )
  12. pt_examples ( UtilTree.c )
  13. pt_userguide ( UgDrawingViews.c )
  14. pt_userguide ( UgInterfaceExport.c )
  15. pt_userguide ( UgInterfaceExport.c )
  16. pt_userguide ( UgInterfaceExport.c )
  17. pt_userguide ( UgInterfaceExport.c )