Rule Type: Features Features rules set the state of captured features to Suppress, Unsuppress, or Delete. Parent topicRule Types and Examples Rule Type: File Name Rule Type: Configuration Rule Type: Custom Properties Rule Type: Dimension Features Example: Suppressing a Feature To suppress a feature based on an input value: Create a form with a check box called Chamfer that requires the feature when checked. Click Rules to open the Rules pane. Under Edit, select the check box for Features and click Edit Rules. Double-click the feature or click Build. 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) Click OK. Features Example: Suppressing a Pattern To suppress a pattern feature when the number of holes is 0 or 1: Create a form with an input field for HoleQuantity. Click Rules to open the Rules pane. Under Edit, select the check box for Features and click Edit Rules. Double-click the feature or click Build. 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" ) Click OK.
Rule Type: Features Features rules set the state of captured features to Suppress, Unsuppress, or Delete. Parent topicRule Types and Examples Rule Type: File Name Rule Type: Configuration Rule Type: Custom Properties Rule Type: Dimension Features Example: Suppressing a Feature To suppress a feature based on an input value: Create a form with a check box called Chamfer that requires the feature when checked. Click Rules to open the Rules pane. Under Edit, select the check box for Features and click Edit Rules. Double-click the feature or click Build. 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) Click OK. Features Example: Suppressing a Pattern To suppress a pattern feature when the number of holes is 0 or 1: Create a form with an input field for HoleQuantity. Click Rules to open the Rules pane. Under Edit, select the check box for Features and click Edit Rules. Double-click the feature or click Build. 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" ) Click OK.
Features Example: Suppressing a Feature To suppress a feature based on an input value: Create a form with a check box called Chamfer that requires the feature when checked. Click Rules to open the Rules pane. Under Edit, select the check box for Features and click Edit Rules. Double-click the feature or click Build. 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) Click OK.
Features Example: Suppressing a Pattern To suppress a pattern feature when the number of holes is 0 or 1: Create a form with an input field for HoleQuantity. Click Rules to open the Rules pane. Under Edit, select the check box for Features and click Edit Rules. Double-click the feature or click Build. 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" ) Click OK.