Adding a User Parameter

You can add an user parameter in all Prismatic, Surface, and Lathe Machining Operations.


Before you begin:

This is an example, the operating mode is the same for all the Prismatic, Surface, and Lathe Machining Operations.

  1. Go to Tools > Machining > Operation > User Interface , and select the User Parameters check box to display the User Parameters tab in the Machining Operation dialog box.

  2. Activate the Manufacturing Program.

    1. Click Prismatic Machining Operations.
    2. Click Profile Contouring in the toolbar that appears.

      The Profile Contouring dialog box appears directly at the Geometry tab .

    3. Go to the Strategy tab, then to User Parameters tab.



  3. Click Add .

    1. In the Add Parameter dialog box that appears, enter the Name of the user parameter.
    2. Select a Type from the list, Boolean in our example, and click OK.



  4. If you have selected Boolean:

    1. In the Edit Parameter dialog box that appears, select the check box with the name of the parameter to set it to True.

      Selecting the check box sets the value of the parameter to True, not selecting the check box sets the value of the parameter to False.

  5. If you have selected Integer, Real, Angle, or Length, the Edit Parameter dialog box lets you key in the value:



  6. If you have selected String, the Edit Parameter dialog box lets you key in the string:



  7. If needed, either double-click the line of the parameter in the dialog box, or select the line and click .

    The Edit Parameter dialog box appears again, letting you change the parameter value.

  8. To add a comment to an user parameter, in the Edit Parameter dialog box, right-click the value field and select Edit Comment.

    This is not possible for boolean parameters.

    1. Click Edit Comment, the URLs & Comment dialog box appears.
    2. Key in an URL and a comment in URLs & Comment dialog box

    3. Click Add to specify the URL name and browse your files to specify the URL destination.

    4. Click Go in URLs & Comment dialog box to reach the URL destination.
    5. Select the URL name and click Modify to edit the URL details.
    6. Select the URL name and click Remove to delete the URL.

    The content of your comment appears as a tooltip when you place the cursor over the parameter in the dialog box

  9. Click to remove the selected user parameter.

  10. Click OK to validate and exit the dialog boxes.

    Note:

    • Parameters that have no value field require to use the formula dialog box.
    • You can generate user parameters in the APT file when you modify a macro in the PPTable. For example, if you add the MFG_WORK_TYPE string parameter with Cartesian value then it is taken into account in the apt source.
      *START_NC_COMMAND NC_AXIAL_MO_START_COMMENT
       LOADTL/%MFG_SPINDLE_NAME,%MFG_WORK_TYPE
      *END /
       *START_NC_COMMAND NC_MILL_MO_START_COMMENT
       LOADTL/%MFG_SPINDLE_NAME,%MFG_WORK_TYPE
       *END/