Using User Defined Functions

You can create a User Defined function which focuses on the definition of geometrical expressions in a Machining Process. This also includes the definition, instantiation of User Features, as well as the definition of knowledge expressions.

See Also
Managing Machining Processes
Procedural Concepts of User Defined Functions in a Machining Process
Apply a Machining Process
  1. Click to create a New Machining Process in the Machining Process view.
  2. Define a set of Machining Operations.
    We will use Profile Contouring in this scenario.

  3. Click Profile Contouring from the Prismatic Machining section.
    See Creating Profile Contouring Operations
  4. Click to define the geometrical expressions.
    The Define Geometrical Expression dialog box appears.
  5. Click to search From Session for the Part.
    The Physical Product appears in the object selection dialog box. The related UDF features are available in Reference pull-down window.

    The exposed or linked parameters appear.
  6. Select the relevant parameters (UDF_Pocket) and associate the geometric features in the Profile Contouring dialog box image.


  7. Select Tool Query to associate Knowledge expressions.

    Note: Double-click to open.

    The Tool Query Definition dialog box appears.
  8. Select Nominal diameter =
  9. Type 10mm and use the Arrow up to add it to the List of query constraints.


  10. Click Drilling from Axial Machining section to create another machining operation.
  11. Click No point.
    The Define Geometrical Expression dialog box appears.
  12. Click UDF_HOLE from Reference.


  13. Select ORIGIN from the pull-down window.
  14. Select the relevant parameters and associate the geometric features.
  15. Click OK.
  16. Select Tool Query to associate Knowledge expressions.

    Note: Double-click to open.

    The Tool Query Definition dialog box appears.
  17. Select Part Design Features, Hole, Diameter (Length) from the KnowledgeWarePackageType section.
  18. Select Nominal diameter =
  19. Type 15mm and use the Arrow up to add it to the List of query constraints.
  20. Save the Machining Process.
    You can send a Machining Process View to a library for future use.
  21. Right-click on the Machining Process and select Send To Library.