<!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>Place part annotation callback</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_topic2" id="xps10_pagetitle">Place part annotation callback</div>
      <hr noshade="true">
      <p class="para_topic">The <b class="uiTerm">Place Part Annotation Callback</b> provided by default for the Routing Logical application, labels each part when placed. The program places a label for each part placed provided the following conditions exist:
      </p>
      <ol type="1" start="1">
         <li>
            <p class="para_item">The callback is declared in the active APV file (as seen in the example Routing Logical APV files).</p>
         </li>
         <li>
            <p class="para_item">The placed part occurrence has the characteristic REFERENCE_ID (for a synonym thereof) with a non-null value.</p>
         </li>
         <li>
            <p class="para_item">The placed part contains a point named NOTE_ORIGIN.</p>
         </li>
         <li>
            <p class="para_item">The placed part contains a point named LEADER_ORIGIN.</p>
         </li>
      </ol>
      <p class="para_topic">The source code for this callback is included in the installation. The files ufd_route_place_part_annotation.c and ufd_route_place_part_annotation.h are found in the folder named plug-ins under the ugroute_mech installation folder. You may modify, compile and link the source, and then specify your new shared library file in the APV in order to customize this callback.</p>
      <p class="para_topic">If you do not want the part labels placed at all, simply remove the declaration of the callback from the APV file.</p>
   </body>
</html>