Category Creo Parametric fundamentals, Object ProMdl

Function ProMdlMdlnameGet


Description
Retrieves the name of the specified model. 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 ProMdlName will be added in a future release.
Replacement in Object TOOLKIT: pfcModel::FullName
pfcModel::InstanceName
pfcModel::FileName
wfcWModel::GetMdlfileDescriptor
Synopsis
#include <ProMdl.h>
ProErrorProMdlMdlnameGet(
ProMdl handle
/* (In)
The model handle.
*/
ProMdlName name
/* (Out)
The address of the memory area to be filled in with the model name. Free this argument using ProWstringFree.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the name.
PRO_TK_BAD_INPUTSThe input argument is invalid.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Assembly: Data Sharing Features: Accessing Properties of Variant Features
  3. Fundamentals: Object Handles
  4. Core: Models and Model Items: Identifying Models
  5. Core: Models and Model Items: Identifying Models
  6. Working with Multi-CAD Models Using Creo Unite: Functions that Support Multi-CAD Assemblies
  7. Working with Multi-CAD Models Using Creo Unite: Superseded Functions
  8. Working with Multi-CAD Models Using Creo Unite: Restrictions on Character Length for Multi-CAD Functions
  9. 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_af_examples ( PTMfgTemplateBOM.c )
  2. pt_af_examples ( PTMfgTemplateBOM.c )
  3. pt_examples ( TestAnimation.c )
  4. pt_examples ( TestAnimation.c )
  5. pt_examples ( TestAsm.c )
  6. pt_examples ( TestAsm.c )
  7. pt_examples ( TestExtref.c )
  8. pt_examples ( TestExtref.c )
  9. pt_examples ( TestProcstep.c )
  10. pt_examples ( TestProcstep.c )
  11. pt_examples ( TestSkelet.c )
  12. pt_examples ( TestSkelet.c )
  13. pt_examples ( TestWeld.c )
  14. pt_examples ( TestWeld.c )
  15. pt_examples ( TestDbms.c )
  16. pt_examples ( TestDbms.c )
  17. pt_examples ( TestDbms.c )
  18. pt_examples ( TestDbms.c )
  19. pt_examples ( TestDbms.c )
  20. pt_examples ( TestDbms.c )
  21. pt_examples ( TestDbms.c )
  22. pt_examples ( TestDimension.c )
  23. pt_examples ( TestInterface.c )
  24. pt_examples ( TestSolid.c )
  25. pt_examples ( TestExtobj.c )
  26. pt_examples ( TestFamTab.c )
  27. pt_examples ( TestFeats.c )
  28. pt_examples ( TestExport.c )
  29. pt_examples ( TestDrawTbl.c )
  30. pt_examples ( TestDrawTbl.c )
  31. pt_examples ( TestDrawTbl.c )
  32. pt_examples ( TestDrwInfo.c )
  33. pt_examples ( TestDrwInfo.c )
  34. pt_examples ( TestDrwSimprep.c )
  35. pt_examples ( TestDrwView.c )
  36. pt_examples ( TestDtlnote.c )
  37. pt_examples ( TestView.c )
  38. pt_examples ( TestWindow.c )
  39. pt_examples ( TestCavityLayout.c )
  40. pt_examples ( TestCavityLayout.c )
  41. pt_examples ( TestMisc.c )
  42. pt_examples ( TestNotify.c )
  43. pt_examples ( TestNotify.c )
  44. pt_examples ( TestNotify.c )
  45. pt_examples ( TestNotify.c )
  46. pt_examples ( TestNotify.c )
  47. pt_examples ( TestNotify.c )
  48. pt_examples ( TestNotify.c )
  49. pt_examples ( TestGtol.c )
  50. pt_examples ( TestGtol.c )
  51. pt_examples ( TestSetup.c )
  52. pt_examples ( TestSelect.c )
  53. pt_examples ( TestSimpRep.c )
  54. pt_examples ( UtilCable.c )
  55. pt_examples ( UtilCable.c )
  56. pt_examples ( UtilNames.c )
  57. pt_examples ( UtilVisit.c )
  58. pt_udf_examples ( PTUDFExParamInfo.c )
  59. pt_userguide ( UgAsmCompVisit.c )
  60. pt_userguide ( UgAsmCompVisit.c )
  61. pt_userguide ( UgAsmcompConstraint.c )
  62. pt_userguide ( UgAsmcompConstraint.c )
  63. pt_userguide ( UgAsmcompTransfGet.c )
  64. pt_userguide ( UgDrawingFromTmpltCreate.c )
  65. pt_userguide ( UgDrawingViews.c )
  66. pt_userguide ( UgDwgtableExamples.c )
  67. pt_userguide ( UgSheetsList.c )
  68. pt_userguide ( UgFamtabUse.c )
  69. pt_userguide ( UgFundStringConv.c )
  70. pt_userguide ( UgGeomInterferCheck.c )
  71. pt_userguide ( UgInterfaceExport.c )
  72. pt_userguide ( UgModelCheck.c )
  73. pt_userguide ( UgModelCheck.c )
  74. pt_userguide ( UgModelCheck.c )
  75. pt_userguide ( UgUIListImplement.c )
  76. pt_userguide ( UgUtilFile.c )
  77. pt_userguide ( UgXsecList.c )
  78. pt_userguide ( UgXsecList.c )
  79. pt_wc_server ( PTWCServerAddInstance.c )
  80. pt_wc_server ( PTWCServerPartToPView.c )
  81. pt_wc_server ( PTWCServerUpdateDXF.c )