<!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>ug_cam_map_feature_attribute()</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">ug_cam_map_feature_attribute()</div>
      <hr noshade="true">
      <p class="para_topic">This function generalizes feature parameters or attributes by using a synonym key word. If the features parameters or attributes to be used have distinct names but same meanings they can be put in a list which is assigned to the key word that represents the attributes name. The key words corresponds to the segments of the feature. For example dia1 is the synonym key for the first diameter on a hole relative to the hole top. Dia2 would represent the 2nd diameter, depth1 the first depth, depth2 the second, and so on. This allows you to use these synonyms without having to know the real name of the attribute. &nbsp;</p>
      <p class="para_topic">Example: </p><pre class="indent">top_diameter &lt;&lt; ug_oper_askFeatureAttributeValue(&quot;ug_cam_map_feature_attribute(&quot;dia1&quot;, Number));</pre><p class="para_topic">If this is called at the operation level it will return the most top diameter value of the active feature if it is listed in the function (dfa) and has the &quot;dia1&quot; key word defined as a representative of its original parameter/attribute name.</p>
      <p class="para_topic">Example from ug_cam_map_feature_attribute():</p><pre class="indent">#Key word DIA1 for Counterbore Hole, Cap Screw Hole, etc.
{{&quot;DIA1&quot;,&quot;C-Bore Diameter&quot;,&quot;CB_dia&quot;}
#Key word DIA1 for &nbsp;Simple Hole, Threads, etc. {{&quot;DIA1&quot;,&quot;Diameter&quot;,&quot;Tapped Drill Size&quot;,&quot;Hole_diameter&quot;,&quot;thread_tapped_drill_size&quot;}</pre></body>
</html>