<!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>CAM Object Types</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_topic7" id="xps10_pagetitle"> CAM Object Types</div>
      <hr noshade="true">
      <p class="para_topic">The first argument of the MOM_cycle_objects command is the object type. The object type specifies what type of objects are to be interrogated. Some examples of object types are listed below:</p>
      <ul>
         <li>
            <p class="para_item">SETUP</p>
         </li>
         <li>
            <p class="para_item">PROGRAMVIEW</p>
         </li>
         <li>
            <p class="para_item">METHODVIEW</p>
         </li>
         <li>
            <p class="para_item">GEOMVIEW</p>
         </li>
         <li>
            <p class="para_item">MACHVIEW</p>
         </li>
         <li>
            <p class="para_item">OPER</p>
         </li>
         <li>
            <p class="para_item">TOOL</p>
         </li>
         <li>
            <p class="para_item">MEMBERS</p>
         </li>
      </ul>
      <p class="para_topic">Objects reside in different classes within the hierarchy and are interrogated in a nested fashion as shown below:</p>
      <ul>
         <li>
            <p class="para_item">{ ... {objectType1 {objectType2} ... }. </p>
            <p class="para_item">ObjectType2 is nested in objectType1.</p>
         </li>
      </ul>
      <ul>
         <li>
            <p class="para_item">{SETUP {MACHVIEW {TOOL}}}</p>
            <p class="para_item">TOOL is nested in MACHVIEW, which is nested in SETUP.</p>
            <p class="para_item">This command asks for all the TOOLs in the MACHVIEW (Tool View) of the SETUP, whether they are used by an operation or not.</p>
         </li>
      </ul>
      <p class="para_topic">The use of MEMBERS allows for general, flexible MOM_cycle_objects arguments that can handle a variety of NX data hierarchies. Nest MEMBERS inside an object type to see all the members that belong to that object type, as shown below:</p>
      <ul>
         <li>
            <p class="para_item">{SETUP {PROGRAMVIEW {MEMBERS}}}</p>
            <p class="para_item">This command asks for all the members that belong to PROGRAMVIEW.</p>
         </li>
      </ul>
      <p class="para_topic">The meaning of MEMBERS depends on the object type, as shown below.</p>
      <ul>
         <li>
            <p class="para_item">{SETUP {PROGRAMVIEW {MEMBERS {OPER {TOOL}}}}}</p>
            <p class="para_item">The SETUP is comprised of many programs. If MEMBERS appears in the MOM_cycle_objects argument, the command cycles through each individual program searching for all the MEMBERS within each program. In this case MEMBERS includes:</p>
            <ul>
               <li>
                  <p class="para_item">Groups of operations within the programs</p>
               </li>
               <li>
                  <p class="para_item">Each individual operation within the groups of operations</p>
               </li>
               <li>
                  <p class="para_item">The tools within each operation</p>
               </li>
            </ul>
            <p class="para_item">In this example, when the software searches for MEMBERS, it:</p>
            <ol type="1" start="1">
               <li>
                  <p class="para_item">Searches for all program groups that are under the PROGRAMVIEW root.</p>
               </li>
               <li>
                  <p class="para_item">Searches for any OPERs that are contained in each program group. </p>
               </li>
               <li>
                  <p class="para_item">Searches for all the tools in the operations.</p>
               </li>
            </ol>
         </li>
      </ul>
      <p class="para_topic">In any view, when OPERs are cycled, the TOOL used by the OPER can be cycled. If MEMBERS are cycled, and the member is an operation, the tool is cycled. If the member is not an OPER, no tool is available, and the cycling continues as shown below.</p>
      <ul>
         <li>
            <p class="para_item">[ MOM_cycle_objects { SETUP { PROGRAMVIEW { MEMBERS { TOOL } } } } ] </p>
            <p class="para_item">This example cycles all the members in the program view, looking for tools.</p>
         </li>
      </ul>
   </body>
</html>