Hide Table of Contents

Feature Example

To suppress a feature based on an input value:

  1. Create a form with a checkbox called Chamfer that requires the feature when checked.

  2. Open the Rules tab.

  3. For Action, select Edit Feature Rules and click Next.

  1. Double-click the feature in the rules list.

  2. Select Chamfer from the Inputs tab.

  3. Click Next.

The formula shown in the rules list:

Chamfer

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

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. Open the Rules tab.

  3. For Action, select Edit Feature Rules and click Next.

  1. Double-click the feature in the rules list.

  2. Select If from the Logic tab and construct the expression to suppress or unsuppress the feature based on the value of HoleQuantity:

    • In the If field, select HoleQuantity from the Inputs tab.

    • 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.

  1. Click Next.

The formula shown in the rules list:

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



Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   Feature Example
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: SOLIDWORKS 2010 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.