<!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_param_askValue()</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_param_askValue()</div>
      <hr noshade="true">
      <p class="para_topic">This function asks for a parameter index of the object in whose context it is called. It can be used to ask for any available parameter index that is exposed to UFUNC (see uf_param_indices.h).</p>
      <div class="title_division">Examples of How to Use ug_param_askValue()</div><pre class="indent">ug_param_askValue(&quot;Tool Flute Length&quot;)</pre><p class="para_division">Returns the value of the flute length of the tool used in the associated feature group operation.</p><pre class="indent">if ug_param_askValue(&quot;Tool Flute Length&quot;) &lt;= ug_oper_askFeatureValue(&quot;Hole Depth&quot;) &nbsp;then</pre><p class="para_division">Asks if the flute length of the used tool is smaller than or equal to the hole depth.</p><pre class="indent">if ug_param_askValue(&quot;Fixture offset value&quot;) == 54 than 300 else 50</pre><p class="para_division">Asks for the value of fixture offset (MCS) and the tool retracts 300mm if 54 else 50mm. This, for instance, can be applied in a KF rule on a clearance distance.</p><pre class="indent">ug_param_askValue(Machine Tool Manufacturer)+ug_param_askValue(Machine Tool Description)</pre><p class="para_division">This returns the machine tool library information from the active machine tool.</p>
   </body>
</html>