Category Creo Parametric fundamentals, Object ProMdl

Function ProMdlTypeGet


Description
Returns the type of model (such as PRO_PART or PRO_ASSEMBLY).
Synopsis
#include <ProMdl.h>
ProErrorProMdlTypeGet(
ProMdl model
/* (In)
A model pointer whose type needs to returned.
*/
ProMdlType* p_type
/* (Out)
The type of model. If the function fails, this is set to PRO_TYPE_UNUSED.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the type
PRO_TK_BAD_INPUTSThe input argument is invalid.

Manual References:

  1. Assembly: Basic Assembly Access: Properties Related to Component Purpose
  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

Sample Code References:

  1. pt_af_examples ( PTAEToChamfer.c )
  2. pt_af_examples ( PTAEToChamfer.c )
  3. pt_af_examples ( PTAEToDraft.c )
  4. pt_af_examples ( PTAEToDraft.c )
  5. pt_af_examples ( PTAEToRound.c )
  6. pt_af_examples ( PTAEToRound.c )
  7. pt_af_examples ( PTAFNotesUpdate.c )
  8. pt_af_examples ( PTMfgTemplateBOM.c )
  9. pt_af_examples ( PTMfgTemplateBOM.c )
  10. pt_af_examples ( PTMfgTemplateBOM.c )
  11. pt_autoaxis ( AutoAxis.c )
  12. pt_autoaxis ( AutoAxis.c )
  13. pt_examples ( TestAnimation.c )
  14. pt_examples ( TestAnimation.c )
  15. pt_examples ( TestExtref.c )
  16. pt_examples ( TestExtref.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 ( TestDbms.c )
  23. pt_examples ( TestDbms.c )
  24. pt_examples ( TestDimension.c )
  25. pt_examples ( TestDimension.c )
  26. pt_examples ( TestDimension.c )
  27. pt_examples ( TestInterface.c )
  28. pt_examples ( TestSolid.c )
  29. pt_examples ( TestDispObject.c )
  30. pt_examples ( TestDispObject.c )
  31. pt_examples ( TestExtobj.c )
  32. pt_examples ( TestExtobj.c )
  33. pt_examples ( TestFamTab.c )
  34. pt_examples ( TestFeats.c )
  35. pt_examples ( TestExport.c )
  36. pt_examples ( TestGeom.c )
  37. pt_examples ( TestGeom.c )
  38. pt_examples ( TestGeom.c )
  39. pt_examples ( TestGeom.c )
  40. pt_examples ( UtilGeom.c )
  41. pt_examples ( UtilGeom.c )
  42. pt_examples ( TestDrwView.c )
  43. pt_examples ( TestLayer.c )
  44. pt_examples ( TestLayer.c )
  45. pt_examples ( TestLayer.c )
  46. pt_examples ( TestView.c )
  47. pt_examples ( TestMain.c )
  48. pt_examples ( TestMain.c )
  49. pt_examples ( TestMain.c )
  50. pt_examples ( TestMain.c )
  51. pt_examples ( TestMain.c )
  52. pt_examples ( TestMain.c )
  53. pt_examples ( TestMain.c )
  54. pt_examples ( TestMain.c )
  55. pt_examples ( TestMain.c )
  56. pt_examples ( TestMain.c )
  57. pt_examples ( TestCavityLayout.c )
  58. pt_examples ( UtilMfgNew.c )
  59. pt_examples ( UtilMfgNew.c )
  60. pt_examples ( TestMisc.c )
  61. pt_examples ( TestGtol.c )
  62. pt_examples ( TestParams.c )
  63. pt_examples ( TestRelation.c )
  64. pt_examples ( TestRelation.c )
  65. pt_examples ( TestSetup.c )
  66. pt_examples ( TestSetup.c )
  67. pt_examples ( TestSetup.c )
  68. pt_examples ( TestSetup.c )
  69. pt_examples ( TestSetup.c )
  70. pt_examples ( TestSetup.c )
  71. pt_examples ( TestSetup.c )
  72. pt_examples ( TestSimpRep.c )
  73. pt_examples ( TestSimpRep.c )
  74. pt_examples ( TestSimpRep.c )
  75. pt_examples ( TestSimpRep.c )
  76. pt_examples ( TestSimpRep.c )
  77. pt_examples ( TestSimpRep.c )
  78. pt_examples ( TestCollect.c )
  79. pt_examples ( UtilCollectDtmpnt.c )
  80. pt_examples ( UtilCollectDtmpnt.c )
  81. pt_examples ( UtilVisit.c )
  82. pt_examples ( UtilVisit.c )
  83. pt_examples ( UtilVisit.c )
  84. pt_geardesign ( GearDesign.c )
  85. pt_mech_examples ( PTMechExItemInfo.c )
  86. pt_mech_examples ( PTMechExItemInfo.c )
  87. pt_mech_examples ( PTMechExLoadMenu.c )
  88. pt_mech_examples ( PTMechExampleMain.c )
  89. pt_udf_examples ( PTUDFExParamInfo.c )
  90. pt_udf_examples ( PTUDFExUDFPlacementDashboard.c )
  91. pt_userguide ( UgDatumCreate.c )
  92. pt_userguide ( UgDrawingFromTmpltCreate.c )
  93. pt_userguide ( UgDrawingSolidReplace.c )
  94. pt_userguide ( UgDtlsymdefExamples.c )
  95. pt_userguide ( UgDtlsyminstExamples.c )
  96. pt_userguide ( UgDrwTree.c )
  97. pt_userguide ( UgDrwTree.c )
  98. pt_userguide ( UgDrwTree.c )
  99. pt_userguide ( UgDwgPublishContext.c )
  100. pt_userguide ( UgDwgPublishContext.c )
  101. pt_userguide ( UgDwgPublishContext.c )
  102. pt_userguide ( UgDwgPublishContext.c )
  103. pt_userguide ( UgDwgPublishContext.c )
  104. pt_userguide ( UgDwgPublishContext.c )
  105. pt_userguide ( UgSheetCopy.c )
  106. pt_userguide ( UgCreoSweepCreate.c )
  107. pt_userguide ( UgImportfeatCreate.c )
  108. pt_userguide ( UgImportfeatCreate.c )
  109. pt_userguide ( UgSmtExtendWallCreate.c )
  110. pt_userguide ( UgSmtFlatWallCreate.c )
  111. pt_userguide ( UgSmtFlgWallCreate.c )
  112. pt_userguide ( UgFundCsysTrf.c )
  113. pt_userguide ( UgFundCsysTrf.c )
  114. pt_userguide ( UgInterfaceExport.c )
  115. pt_userguide ( UgInterfaceExport.c )
  116. pt_userguide ( UgInterfaceExport.c )
  117. pt_userguide ( UgInterfaceExport.c )
  118. pt_userguide ( UgSimprepCreate.c )
  119. pt_userguide ( UgSimprepInfo.c )
  120. pt_userguide ( UgSolidInfoMass.c )
  121. pt_userguide ( UgSolidRegen.c )
  122. pt_userguide ( UtilCsys.c )
  123. pt_wc_server ( PTWCServerPartToPView.c )
  124. pt_wc_server ( PTWCServerPartToPView.c )
  125. pt_wc_server ( PTWCServerPartToPView.c )