<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<!--
Copyright (c) 2006 UGS Corp.

All Rights Reserved.

This software and related documentation are proprietary to UGS Corp.
-->
<html>
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <title>Suppression by expression</title>
      <script language="javaScript">
        abridged="false";
        displayConditions=new Array();
      </script>
      <link type="text/css" href="../css/main_styles.css" rel="stylesheet">
   </head>
   <body class="bodydocs" onload="top.pageLoader()" bgcolor="#FFFFFF">
      <div class="title_topic3" id="xps10_pagetitle">Suppression by expression</div>
      <hr noshade="true">
      <p class="para_topic">Features can be conditionally suppressed based on a parameter value. To create a variable that controls the suppression of a feature, use the command: </p>
      <ul class="unmarkedList">
         <li>
            <p class="para_item"><b class="uiTerm">Edit</b> &rarr; <b class="uiTerm">Feature</b> &rarr; <b class="uiTerm">Suppress by Expression</b></p>
         </li>
      </ul>
      <p class="para_topic">This will create a variable set to a value of 1. If this value is changed to 0 manually or by a conditional expression, the feature will be suppressed.  Example: </p>
      <ul class="unmarkedList">
         <li>
            <p class="para_item"><i class="variableText">rib_suppress = if (length&gt;=10) (1) else (0)</i></p>
         </li>
      </ul>
      <p class="para_topic">This expression would suppress the feature when the length is less than 10.</p>
      <p class="para_topic">See also:</p>
      <ul class="unmarkedList">
         <li>
            <p class="para_item">Help: <img align="bottom" src="graphics/widgets/book_closed.gif" border="0"> Design &rarr; Modeling &rarr;  Editing Objects &rarr; Feature &rarr; Suppress by Expression
            </p>
         </li>
      </ul>
   </body>
</html>