<!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>Text APV design rules file overview</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">Text APV design rules file overview</div>
      <hr noshade="true">
      <table cellspacing="4" align="center">
         <tr valign="top">
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td"><a class="links" href="javascript:void(0)" onclick="top.openFile('routingadmin/view_overview.html');return(false);">Overview</a></p>
            </td>
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td"><a class="links" href="javascript:void(0)" onclick="top.openFile('routingadmin/view_example.html');return(false);">How To</a></p>
            </td>
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td"><a class="links" href="javascript:void(0)" onclick="top.openFile('routingadmin/view_descrip.html');return(false);">Options</a></p>
            </td>
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td"><a class="links" href="javascript:void(0)" onclick="top.openFile('routingadmin/xml_key.html');return(false);">Related Topics</a></p>
            </td>
         </tr>
      </table><br><p class="para_topic">A Design Rules file defines a list of design rules executed by Routing for a particular application. The Application View file specifies the Design Rules file to be used for the Routing application.</p>
      <p class="para_topic">A design rule may be a function provided by NX or it may be an entry point in a site-specific Open C and Open C++API. Instructions for creating design rules are contained in <a class="links" href="javascript:void(0)" onclick="top.openFile('routingadmin/write_overview.html');return(false);">Writing Design Rules</a>.
      </p>
      <table border="0">
         <tr>
            <td valign="top" align="left"><img align="left" src="../graphics/note.gif" alt="Note" title="Note"></td>
            <td valign="bottom" align="left" width="100%">
               <div class="para_note">
                  <p class="para_note_body">Design Rule files pertain to the older Text APV. &nbsp;When using the newer XML APV, the design rules are defined within the XML APV file and the design rule file is not needed.</p>
               </div>
            </td>
         </tr>
      </table>
      <div class="title_division">Example design rules file</div><pre class="indent">!- &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; 
! Minimum Bend Radius rule check
!- &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; &mdash; 
RULE				Minimum Bend Radius
FUNCTION		CHECK_MIN_BEND_RADIUS
LIBRARY		INTERNAL
MODES			CONCURRENT_BATCH_INTERACTIVE
DESCRIPTION
The Minimum Bend Radius rule verifies that the radius for a Bend Corner is at least:
PIPING_MIN_BEND_RADIUS_COEFF times the DIAMETER of the stock along the bend segment.
PIPING_MIN_BEND_RADIUS_COEFF is a User Preference defined in the Application View file.
DIAMETER is a Routing characteristics which must be attached to the stock.
END_OD_DESCRIPTION
END_OF_RULE</pre></body>
</html>