<!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_oper_create()</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_oper_create()</div>
      <hr noshade="true">
      <p class="para_topic">This function can be used to create hole making operations solely through KF. It&rsquo;s intended to be used from ug_fbm_post_create(), a function called every time a feature group is being created.</p>
      <p class="para_topic">This can be used to avoid alternate group definitions or complex operation suppress rules within a CAM template in order to reduce template customization and maintenance problems.</p>
      <p class="para_topic">Input</p>
      <ul class="unmarkedList">
         <li>
            <p class="para_item">String - Template name </p>
         </li>
         <li>
            <p class="para_item">String - Operation name within the template  </p>
         </li>
         <li>
            <p class="para_item">String - Operation name to be created </p>
         </li>
         <li>
            <p class="para_item">String - Program parent under which the operation will be created </p>
         </li>
         <li>
            <p class="para_item">String - Method parent under which the operation will be created </p>
         </li>
      </ul>
      <p class="para_topic">Output</p>
      <ul class="unmarkedList">
         <li>
            <p class="para_item">Hostpointer of the operation. The hostpointer is required for ug_oper_setCycle() and ug_param_setRule()</p>
         </li>
      </ul>
      <p class="para_topic"></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">This function should only be used from ug_fbm_postCreate() when the feature group has been created. </p>
               </div>
            </td>
         </tr>
      </table>
      <div class="title_division">Example of how to use ug_oper_create()</div>
      <p class="para_division">$oper_name &lt;&lt; &ldquo;REAM_TOL_SIMPLE_HOLE_D12_H7&rdquo;; ug_oper_create( &quot;hole_making&quot;,&quot;HOLE_MAKING&quot;,$oper_name,&quot;NONE&quot;,&quot;REAM_METHOD&quot; ); </p>
      <p class="para_division">See also ug_cam_create_oper_from_ss() in ug_cam_samples.dfa</p>
   </body>
</html>