Category Creo Parametric fundamentals, Object ProMdl

Function ProMdlToModelitem


Description
Converts a ProMdl to a ProModelitem.
Synopsis
#include <ProMdl.h>
ProErrorProMdlToModelitem(
ProMdl mdl
/* (In)
The handle to a valid model
*/
ProModelitem* p_model_item
/* (Out)
The ProModelitem
*/
)
Returns
PRO_TK_NO_ERRORThe function was successful.
PRO_TK_BAD_INPUTSAn argument is NULL.
PRO_TK_INVALID_PTRThe handle is invalid.

Manual References:

  1. Element Trees: Principles of Feature Creation: Example of Complete Feature Creation
  2. Core: Models and Model Items: Identifying Models
  3. Core: Parameters: Accessing Parameters

Sample Code References:

  1. pt_af_examples ( PTAFExampleUtils.c )
  2. pt_autoaxis ( AutoAxis.c )
  3. pt_examples ( TestAsm.c )
  4. pt_examples ( TestAsm.c )
  5. pt_examples ( TestSkelet.c )
  6. pt_examples ( TestExtobj.c )
  7. pt_examples ( TestFamTab.c )
  8. pt_examples ( UtilFeats.c )
  9. pt_examples ( SketchFeatureCreate.c )
  10. pt_examples ( TestDtmPln.c )
  11. pt_examples ( TestDtmPln.c )
  12. pt_examples ( TestDtmPln.c )
  13. pt_examples ( TestExtrude.c )
  14. pt_examples ( TestExtrude.c )
  15. pt_examples ( TestCavityLayout.c )
  16. pt_examples ( TestParams.c )
  17. pt_examples ( TestRelation.c )
  18. pt_examples ( TestRule.c )
  19. pt_geardesign ( GearDesign.c )
  20. pt_geardesign ( GearDesign.c )
  21. pt_geardesign ( GearDesign.c )
  22. pt_geardesign ( GearDesign.c )
  23. pt_geardesign ( GearDesign.c )
  24. pt_geardesign ( GearDesign.c )
  25. pt_geardesign ( GearDesignUI.c )
  26. pt_geardesign ( GearDesignUtils.c )
  27. pt_udf_examples ( PTUDFExParamVerify.c )
  28. pt_userguide ( UgDatumCreate.c )
  29. pt_userguide ( UgDatumCreate.c )
  30. pt_userguide ( UgExtobjCreate.c )
  31. pt_userguide ( Ug3DSweepCreate.c )
  32. pt_userguide ( UgChamferTemplate.c )
  33. pt_userguide ( UgCreoSweepCreate.c )
  34. pt_userguide ( UgDatumAxisCreate.c )
  35. pt_userguide ( UgDraftTemplate.c )
  36. pt_userguide ( UgEdgeChamferCreate.c )
  37. pt_userguide ( UgEdgeRoundCreate.c )
  38. pt_userguide ( UgFieldPointCreate.c )
  39. pt_userguide ( UgFlexModelCreate.c )
  40. pt_userguide ( UgFlexModelCreate.c )
  41. pt_userguide ( UgFlexModelCreate.c )
  42. pt_userguide ( UgGeneralCsysCreate.c )
  43. pt_userguide ( UgGeneralPointCreate.c )
  44. pt_userguide ( UgHoleCreate.c )
  45. pt_userguide ( UgIntcollectionDraftCreate.c )
  46. pt_userguide ( UgOADraftCreate.c )
  47. pt_userguide ( UgOffsetPointCreate.c )
  48. pt_userguide ( UgRoundTemplate.c )
  49. pt_userguide ( UgSimpleDraftCreate.c )
  50. pt_userguide ( UgSketchedCurveCreate.c )
  51. pt_userguide ( UgSketchedPointCreate.c )
  52. pt_userguide ( UgSktExtrusionCreate.c )
  53. pt_userguide ( UgSktExtrusionCut.c )
  54. pt_userguide ( UgSktExtrusionProtrusion.c )
  55. pt_userguide ( UgSktExtrusionProtrusionExtSkt.c )
  56. pt_userguide ( UgSktExtrusionSurfaceCapped.c )
  57. pt_userguide ( UgSktExtrusionSurfaceTrim.c )
  58. pt_userguide ( UgSktExtrusionTemplate.c )
  59. pt_userguide ( UgSktExtrusionThin.c )
  60. pt_userguide ( UgSktFirstFeatureCreate.c )
  61. pt_userguide ( UgSktFirstFeatureRevCreate.c )
  62. pt_userguide ( UgSktRevolveProtrusion.c )
  63. pt_userguide ( UgSktRevolveProtrusionExtSkt.c )
  64. pt_userguide ( UgSktRevolveSurface.c )
  65. pt_userguide ( UgSktRevolveTemplate.c )
  66. pt_userguide ( UgSktRevolveThinCut.c )
  67. pt_userguide ( UgSmtExtendWallCreate.c )
  68. pt_userguide ( UgSmtFlatWallCreate.c )
  69. pt_userguide ( UgSmtFlgWallCreate.c )
  70. pt_userguide ( UgSweepCreate.c )
  71. pt_userguide ( UgModelCheck.c )
  72. pt_userguide ( UgModelCheck.c )
  73. pt_userguide ( UgMfgMillSeqCreate.c )
  74. pt_userguide ( UgSolidNoteCreate.c )
  75. pt_wc_server ( PTWCServerAddInstance.c )