Rule Type: Features

Features rules set the state of captured features to Suppress, Unsuppress, or Delete.

Features Example: Suppressing a Feature

To suppress a feature based on an input value:

  1. Create a form with a check box called Chamfer that requires the feature when checked.
  2. Click Rules to open the Rules pane.
  3. Under Edit, select the check box for Features and click Edit Rules.
  4. Double-click the feature or click Build.
  5. Select Inputs > Chamfer.
    The formula shown in the rules list:

    Chamfer

    The feature is unsuppressed when the check box is checked (returns True to the rule) and suppressed when cleared (returns False to the rule)

  6. Click OK.

Features Example: Suppressing a Pattern

To suppress a pattern feature when the number of holes is 0 or 1:

  1. Create a form with an input field for HoleQuantity.
  2. Click Rules to open the Rules pane.
  3. Under Edit, select the check box for Features and click Edit Rules.
  4. Double-click the feature or click Build.
  5. In the DriveWorksXpress Rule Builder dialog box, click Logic > IF( , , ) and construct the expression to suppress or unsuppress the feature based on the value of HoleQuantity:
    • In the IF field, select Inputs > HoleQuantity.
    • In the Then field, enter the action, in quotes, to perform on the feature when this condition is True.
    • In the Otherwise field, type the action, in quotes, to perform on the feature when this condition is False.

    The formula shown in the rules list:

    IF( HoleQuantity <= 1 , "Suppress" , "Unsuppress" )

  6. Click OK.