<!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>Example of MOM_cycle_objects</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">Example of MOM_cycle_objects</div>
      <hr noshade="true">
      <p class="para_topic">This is an example of cycling objects in this Program View. </p>
      <p class="para_topic">This is the command to cycle all the tools that are attached to operations in the Program View and display their names: &nbsp;</p><pre class="indent">[MOM_cycle_objects 
&nbsp;&nbsp;&nbsp;{SETUP
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{PROGRAMVIEW 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;HDRT='----- Start of Tools -------'
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FTRT='------ End of Tools --------'
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{MEMBERS
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{TOOL
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;BDYT='Name = $mom_tool_name'
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
&nbsp;&nbsp;&nbsp;}
]</pre><p class="para_topic">Use this command to cycle objects in the Program View shown below. </p>
      <p align="center"><img align="bottom" src="graphics/main_shopdoc_ont.gif"></p>
      <p class="para_topic">This example outputs this  <a class="links" href="javascript:void(0)" onclick="top.openFile('mfggeneral/main_list_mom_events.html');return(false);">list of events</a>.
      </p>
      <p class="para_topic">This example produces this output: </p><pre class="indent">----- Start of Tools -------
Name = UGTI0202_025
Name = UGTI0201_013
Name = UGTI0203_016
Name = UGTI0203_018
------ End of Tools --------</pre></body>
</html>