Category Creo Parametric fundamentals, Object ProMdl

Function ProMdlCurrentGet


Description
Initializes the p_handle with the current Creo Parametric object.
Replacement in Object TOOLKIT: pfcBaseSession::CurrentModel
Synopsis
#include <ProMdl.h>
ProErrorProMdlCurrentGet(
ProMdl* p_handle
/* (Out)
The model handle
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully initialized the handle.
PRO_TK_BAD_CONTEXTThe current Creo Parametric object is not set.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. User Interface: Basic Graphics: Controlling Which Window is Current
  3. Core: Models and Model Items: Models in Session
  4. Core: Models and Model Items: Models in Session
  5. Core: Utilities: Configuration Options

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 ( PTAFNotesUpdate.c )
  9. pt_af_examples ( PTAFNotesUpdate.c )
  10. pt_af_examples ( PTMfgTemplateBOM.c )
  11. pt_af_examples ( PTMfgTemplateBOM.c )
  12. pt_autoaxis ( AutoAxis.c )
  13. pt_examples ( TestAnalysis.c )
  14. pt_examples ( TestExtref.c )
  15. pt_examples ( TestMechanism.c )
  16. pt_examples ( TestMultiCADFile.c )
  17. pt_examples ( TestProcstep.c )
  18. pt_examples ( TestDbms.c )
  19. pt_examples ( TestDbms.c )
  20. pt_examples ( TestDbms.c )
  21. pt_examples ( TestDbms.c )
  22. pt_examples ( TestFemmesh.c )
  23. pt_examples ( TestSolid.c )
  24. pt_examples ( TestDispObject.c )
  25. pt_examples ( TestDispObject.c )
  26. pt_examples ( TestExtobj.c )
  27. pt_examples ( TestExtobj.c )
  28. pt_examples ( TestExtobj.c )
  29. pt_examples ( TestExtobj.c )
  30. pt_examples ( TestFamTab.c )
  31. pt_examples ( TestFamTab.c )
  32. pt_examples ( TestFamTab.c )
  33. pt_examples ( TestFeats.c )
  34. pt_examples ( TestDtmPln.c )
  35. pt_examples ( TestExtrude.c )
  36. pt_examples ( TestExtrude.c )
  37. pt_examples ( TestGenedata.c )
  38. pt_examples ( TestExport.c )
  39. pt_examples ( TestGeom.c )
  40. pt_examples ( TestMeasure.c )
  41. pt_examples ( TestXsec.c )
  42. pt_examples ( TestDisplist.c )
  43. pt_examples ( TestDisplist.c )
  44. pt_examples ( TestDrawTbl.c )
  45. pt_examples ( TestDrwInfo.c )
  46. pt_examples ( TestDrwSimprep.c )
  47. pt_examples ( TestDrwSimprep.c )
  48. pt_examples ( TestDrwView.c )
  49. pt_examples ( TestDrwView.c )
  50. pt_examples ( TestDrwView.c )
  51. pt_examples ( TestDrwView.c )
  52. pt_examples ( TestDtlnote.c )
  53. pt_examples ( TestLayer.c )
  54. pt_examples ( TestRay.c )
  55. pt_examples ( TestSymDefInfo.c )
  56. pt_examples ( TestView.c )
  57. pt_examples ( TestView.c )
  58. pt_examples ( TestView.c )
  59. pt_examples ( TestView.c )
  60. pt_examples ( TestDrawing.c )
  61. pt_examples ( TestDrawing.c )
  62. pt_examples ( TestMain.c )
  63. pt_examples ( TestMain.c )
  64. pt_examples ( TestMain.c )
  65. pt_examples ( TestMain.c )
  66. pt_examples ( TestMain.c )
  67. pt_examples ( TestMain.c )
  68. pt_examples ( TestMain.c )
  69. pt_examples ( TestMain.c )
  70. pt_examples ( TestMain.c )
  71. pt_examples ( TestMain.c )
  72. pt_examples ( TestMain.c )
  73. pt_examples ( TestMain.c )
  74. pt_examples ( TestMain.c )
  75. pt_examples ( TestMain.c )
  76. pt_examples ( TestMain.c )
  77. pt_examples ( TestMain.c )
  78. pt_examples ( TestMain.c )
  79. pt_examples ( TestCavityLayout.c )
  80. pt_examples ( TestClCmd.c )
  81. pt_examples ( TestClCmd.c )
  82. pt_examples ( TestMfgMenu.c )
  83. pt_examples ( TestMfgMenu.c )
  84. pt_examples ( TestMoldLayout.c )
  85. pt_examples ( UtilMfgNew.c )
  86. pt_examples ( UtilMfgNew.c )
  87. pt_examples ( TestMisc.c )
  88. pt_examples ( TestMisc.c )
  89. pt_examples ( TestMisc.c )
  90. pt_examples ( TestGtol.c )
  91. pt_examples ( TestGtol.c )
  92. pt_examples ( TestParams.c )
  93. pt_examples ( TestSelect.c )
  94. pt_examples ( TestSelect.c )
  95. pt_examples ( TestSelect.c )
  96. pt_examples ( TestSelect.c )
  97. pt_examples ( TestSelect.c )
  98. pt_examples ( TestSelect.c )
  99. pt_examples ( TestRule.c )
  100. pt_examples ( TestSimpRep.c )
  101. pt_examples ( TestQcr.c )
  102. pt_examples ( UtilNames.c )
  103. pt_geardesign ( GearDesign.c )
  104. pt_geardesign ( GearDesignUI.c )
  105. pt_geardesign ( GearDesignUtils.c )
  106. pt_mech_examples ( PTMechExCopy.c )
  107. pt_mech_examples ( PTMechExDelete.c )
  108. pt_mech_examples ( PTMechExItemInfo.c )
  109. pt_mech_examples ( PTMechExItemInfo.c )
  110. pt_mech_examples ( PTMechExLoadMenu.c )
  111. pt_mech_examples ( PTMechExLoadMenu.c )
  112. pt_mech_examples ( PTMechExLoadMenu.c )
  113. pt_mech_examples ( PTMechExLoadMenu.c )
  114. pt_mech_examples ( PTMechExLoadMenu.c )
  115. pt_mech_examples ( PTMechExLoadMenu.c )
  116. pt_mech_examples ( PTMechExLoadMenu.c )
  117. pt_mech_examples ( PTMechExMagChange.c )
  118. pt_mech_examples ( PTMechExMatOrient.c )
  119. pt_mech_examples ( PTMechExampleMain.c )
  120. pt_udf_examples ( PTUDFExUDFPlacementDashboard.c )
  121. pt_udf_examples ( PTUDFExUDFPlacementDashboard.c )
  122. pt_userguide ( UgAnimAsmcompAnim.c )
  123. pt_userguide ( UgAsmCompVisit.c )
  124. pt_userguide ( UgAsmcompConstraint.c )
  125. pt_userguide ( UgAsmcompConstraint.c )
  126. pt_userguide ( UgDatumCreate.c )
  127. pt_userguide ( UgDimDisplayRounded.c )
  128. pt_userguide ( UgDimLocationUtils.c )
  129. pt_userguide ( UgDimsChange.c )
  130. pt_userguide ( UgDrawingDimensions.c )
  131. pt_userguide ( UgDrawingFromTmpltCreate.c )
  132. pt_userguide ( UgDrawingSheets.c )
  133. pt_userguide ( UgDrawingSolidReplace.c )
  134. pt_userguide ( UgDrawingViews.c )
  135. pt_userguide ( UgDrawingViews.c )
  136. pt_userguide ( UgDtlentityExamples.c )
  137. pt_userguide ( UgDtlgroupExamples.c )
  138. pt_userguide ( UgDtlnoteExamples.c )
  139. pt_userguide ( UgDtlsymdefExamples.c )
  140. pt_userguide ( UgDtlsyminstExamples.c )
  141. pt_userguide ( UgDwgtableExamples.c )
  142. pt_userguide ( UgDrwTree.c )
  143. pt_userguide ( UgDrwTree.c )
  144. pt_userguide ( UgDrwTree.c )
  145. pt_userguide ( UgDwgPublishContext.c )
  146. pt_userguide ( UgDwgPublishContext.c )
  147. pt_userguide ( UgDwgPublishContext.c )
  148. pt_userguide ( UgDwgPublishContext.c )
  149. pt_userguide ( UgDwgPublishContext.c )
  150. pt_userguide ( UgDwgPublishContext.c )
  151. pt_userguide ( UgModelAdd.c )
  152. pt_userguide ( UgModelDelete.c )
  153. pt_userguide ( UgNoteCreate.c )
  154. pt_userguide ( UgNotesColor.c )
  155. pt_userguide ( UgSheetAdd.c )
  156. pt_userguide ( UgSheetCopy.c )
  157. pt_userguide ( UgSheetDelete.c )
  158. pt_userguide ( UgSheetsList.c )
  159. pt_userguide ( UgTableColorChange.c )
  160. pt_userguide ( UgExtobjCreate.c )
  161. pt_userguide ( UgFamtabUse.c )
  162. pt_userguide ( Ug3DSectSplineDim.c )
  163. pt_userguide ( Ug3DSweepCreate.c )
  164. pt_userguide ( UgChamferTemplate.c )
  165. pt_userguide ( UgCreoSweepCreate.c )
  166. pt_userguide ( UgCreoSweepCreate.c )
  167. pt_userguide ( UgDatumAxisCreate.c )
  168. pt_userguide ( UgDraftTemplate.c )
  169. pt_userguide ( UgEdgeChamferCreate.c )
  170. pt_userguide ( UgEdgeRoundCreate.c )
  171. pt_userguide ( UgFieldPointCreate.c )
  172. pt_userguide ( UgFlexModelCreate.c )
  173. pt_userguide ( UgFlexModelCreate.c )
  174. pt_userguide ( UgFlexModelCreate.c )
  175. pt_userguide ( UgGeneralCsysCreate.c )
  176. pt_userguide ( UgGeneralPointCreate.c )
  177. pt_userguide ( UgHoleCreate.c )
  178. pt_userguide ( UgImportfeatCreate.c )
  179. pt_userguide ( UgImportfeatCreate.c )
  180. pt_userguide ( UgIntcollectionDraftCreate.c )
  181. pt_userguide ( UgOADraftCreate.c )
  182. pt_userguide ( UgOffsetPointCreate.c )
  183. pt_userguide ( UgRemoveSurfCreate.c )
  184. pt_userguide ( UgRoundTemplate.c )
  185. pt_userguide ( UgSimpleDraftCreate.c )
  186. pt_userguide ( UgSketchedCurveCreate.c )
  187. pt_userguide ( UgSketchedPointCreate.c )
  188. pt_userguide ( UgSktExtrusionCreate.c )
  189. pt_userguide ( UgSktExtrusionCut.c )
  190. pt_userguide ( UgSktExtrusionProtrusion.c )
  191. pt_userguide ( UgSktExtrusionProtrusionExtSkt.c )
  192. pt_userguide ( UgSktExtrusionSurfaceCapped.c )
  193. pt_userguide ( UgSktExtrusionSurfaceTrim.c )
  194. pt_userguide ( UgSktExtrusionTemplate.c )
  195. pt_userguide ( UgSktExtrusionThin.c )
  196. pt_userguide ( UgSktFirstFeatureCreate.c )
  197. pt_userguide ( UgSktFirstFeatureRevCreate.c )
  198. pt_userguide ( UgSktRevolveProtrusion.c )
  199. pt_userguide ( UgSktRevolveProtrusionExtSkt.c )
  200. pt_userguide ( UgSktRevolveSurface.c )
  201. pt_userguide ( UgSktRevolveTemplate.c )
  202. pt_userguide ( UgSktRevolveThinCut.c )
  203. pt_userguide ( UgSmtExtendWallCreate.c )
  204. pt_userguide ( UgSmtExtendWallCreate.c )
  205. pt_userguide ( UgSmtFlatWallCreate.c )
  206. pt_userguide ( UgSmtFlatWallCreate.c )
  207. pt_userguide ( UgSmtFlatWallCreate.c )
  208. pt_userguide ( UgSmtFlatWallCreate.c )
  209. pt_userguide ( UgSmtFlgWallCreate.c )
  210. pt_userguide ( UgSmtFlgWallCreate.c )
  211. pt_userguide ( UgSmtFlgWallCreate.c )
  212. pt_userguide ( UgSmtFlgWallCreate.c )
  213. pt_userguide ( UgSweepCreate.c )
  214. pt_userguide ( UgFundCsysTrf.c )
  215. pt_userguide ( UgFundCsysTrf.c )
  216. pt_userguide ( UgFundExpArrays.c )
  217. pt_userguide ( UgFundVisit.c )
  218. pt_userguide ( UgGeomChildDisp.c )
  219. pt_userguide ( UgGeomHoleSrfDisp.c )
  220. pt_userguide ( UgGeomInterferCheck.c )
  221. pt_userguide ( UgGeomInterferCheck.c )
  222. pt_userguide ( UgInterfaceExport.c )
  223. pt_userguide ( UgInterfaceExport.c )
  224. pt_userguide ( UgInterfaceExport.c )
  225. pt_userguide ( UgMfgMillSeqCreate.c )
  226. pt_userguide ( UgMfgOperCreate.c )
  227. pt_userguide ( UgMfgWcellCreate.c )
  228. pt_userguide ( UgMfgWcellCreate.c )
  229. pt_userguide ( UgMfgWcellIdentify.c )
  230. pt_userguide ( UgRelsEdit.c )
  231. pt_userguide ( UgSimprepCreate.c )
  232. pt_userguide ( UgSimprepInfo.c )
  233. pt_userguide ( UgSolidInfoMass.c )
  234. pt_userguide ( UgSolidInfoMass.c )
  235. pt_userguide ( UgSolidMaterial.c )
  236. pt_userguide ( UgSolidNoteCreate.c )
  237. pt_userguide ( UgSolidOutlineComp.c )
  238. pt_userguide ( UgSolidRegen.c )
  239. pt_userguide ( UgUIListImplement.c )
  240. pt_userguide ( UgUtilFile.c )
  241. pt_userguide ( UgUtilFile.c )
  242. pt_userguide ( UgXsecList.c )
  243. pt_userguide ( UgXsecMassProps.c )
  244. pt_wc_server ( PTWCServerAddInstance.c )
  245. pt_wc_server ( PTWCServerPartToPView.c )
  246. pt_wc_server ( PTWCServerUpdateDXF.c )