<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: iLogic bind annotation to user parameters in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-bind-annotation-to-user-parameters/m-p/9659582#M60297</link>
    <description>&lt;P&gt;Does everything look like in this video?&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jul 2020 13:03:05 GMT</pubDate>
    <dc:creator>JhoelForshav</dc:creator>
    <dc:date>2020-07-28T13:03:05Z</dc:date>
    <item>
      <title>iLogic bind annotation to user parameters</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-bind-annotation-to-user-parameters/m-p/9659126#M60291</link>
      <description>&lt;P&gt;&lt;STRONG&gt;I have custom parameters created in my part, Ak1 Ak2 Rk1 Rk2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I would like to place iLogic in the selected view in the drawing, the leader's note according to these parameters. And put them on the edge.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Previously, I did not dare to make such a request on the forum, but after seeing what miracles &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5330176"&gt;@JhoelForshav&lt;/a&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;STRONG&gt;does, I will ask&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kantai.jpg" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/800332iFDEEA6614026BEEC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kantai.jpg" alt="Kantai.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 08:50:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-bind-annotation-to-user-parameters/m-p/9659126#M60291</guid>
      <dc:creator>robertast</dc:creator>
      <dc:date>2020-07-28T08:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic bind annotation to user parameters</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-bind-annotation-to-user-parameters/m-p/9659220#M60292</link>
      <description>&lt;P&gt;Forgot to complicate the task. If there is nothing in the custom options, the leader does not appear &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kantai 2.jpg" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/800349iA523CCDEA8DCDC1A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kantai 2.jpg" alt="Kantai 2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;And for those users who do not know how a callout is made with pens, I attach a video&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 09:44:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-bind-annotation-to-user-parameters/m-p/9659220#M60292</guid>
      <dc:creator>robertast</dc:creator>
      <dc:date>2020-07-28T09:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic bind annotation to user parameters</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-bind-annotation-to-user-parameters/m-p/9659388#M60293</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8397348"&gt;@robertast&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's a difficult task. Maybe this code will at least give you someideas.&lt;/P&gt;&lt;P&gt;Since the view is a simple square i can use its properties top and left to find curve segments on its edges. Then I can create geometry intent from these segments parents (drawing curves).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems however that text justification is ignored when it comes to leader notes, and since the notes position is the same wether the text is over/under the line as long as it's attached to the line I can't find a way to move it to the outside...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This code:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DrawingView&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CommandManager&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Pick&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;SelectionFilterEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kDrawingViewFilter&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"pick drawing view."&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;TransientGeometry&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;TransientGeometry&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oPt&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Point2d&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Position&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Ak1Pos&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Point2d&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oPt&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Top&lt;/SPAN&gt; - &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Height&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Ak2Pos&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Point2d&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oPt&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Top&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Rk1Pos&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Point2d&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Left&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oPt&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Rk2Pos&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Point2d&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Left&lt;/SPAN&gt; + &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Width&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oPt&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Sheet&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parent&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ak1Curve&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DrawingCurveSegment&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FindUsingPoint&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Ak1Pos&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ak2Curve&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DrawingCurveSegment&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FindUsingPoint&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Ak2Pos&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;rk1Curve&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DrawingCurveSegment&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FindUsingPoint&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Rk1Pos&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;rk2Curve&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DrawingCurveSegment&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FindUsingPoint&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Rk2Pos&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ak1Intent&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;GeometryIntent&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateGeometryIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ak1Curve&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parent&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;kCenterPointIntent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ak2Intent&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;GeometryIntent&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateGeometryIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ak2Curve&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parent&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;kCenterPointIntent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;rk1Intent&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;GeometryIntent&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateGeometryIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;rk1Curve&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parent&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;kCenterPointIntent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;rk2Intent&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;GeometryIntent&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateGeometryIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;rk2Curve&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parent&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;kCenterPointIntent&lt;/SPAN&gt;)


&lt;SPAN style="color: #ff0000;"&gt;On&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Error&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Resume&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ReferencedDocumentDescriptor&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ReferencedDocument&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Ak1&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parameters&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;UserParameters&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Ak1"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Ak2&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parameters&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;UserParameters&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Ak2"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Rk1&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parameters&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;UserParameters&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Rk1"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Rk2&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parameters&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;UserParameters&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Rk2"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ObjectCollection&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;TransientObjects&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateObjectCollection&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ak1Intent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Ak1Note&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;LeaderNote&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DrawingNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;LeaderNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;Ak1&lt;/SPAN&gt;)
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Clear&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ak2Intent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Ak2Note&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;LeaderNote&lt;/SPAN&gt; =&lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DrawingNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;LeaderNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;Ak2&lt;/SPAN&gt;)
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Clear&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;rk1Intent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Rk1Note&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;LeaderNote&lt;/SPAN&gt; =&lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DrawingNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;LeaderNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;Rk1&lt;/SPAN&gt;)
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Clear&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;rk2Intent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Rk2Note&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;LeaderNote&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DrawingNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;LeaderNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;Rk2&lt;/SPAN&gt;)


&lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Update&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;will give a result like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="annotations.PNG" style="width: 974px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/800395i21CD546F218F1114/image-size/large?v=v2&amp;amp;px=999" role="button" title="annotations.PNG" alt="annotations.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 11:24:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-bind-annotation-to-user-parameters/m-p/9659388#M60293</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2020-07-28T11:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic bind annotation to user parameters</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-bind-annotation-to-user-parameters/m-p/9659409#M60294</link>
      <description>&lt;P&gt;Are the squares around your text something that comes with your note style?&lt;/P&gt;&lt;P&gt;(I only have Inventor 2020 so I can't open your drawing to see how you've done it)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I managed to get the annotations in the correct positions now so maybe this is it?&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DrawingView&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CommandManager&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Pick&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;SelectionFilterEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kDrawingViewFilter&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"pick drawing view."&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;TransientGeometry&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;TransientGeometry&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oPt&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Point2d&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Position&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Ak1Pos&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Point2d&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oPt&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Top&lt;/SPAN&gt; - &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Height&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Ak2Pos&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Point2d&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oPt&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Top&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Rk1Pos&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Point2d&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Left&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oPt&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Rk2Pos&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Point2d&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Left&lt;/SPAN&gt; + &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Width&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oPt&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Sheet&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parent&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ak1Curve&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DrawingCurveSegment&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FindUsingPoint&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Ak1Pos&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ak2Curve&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DrawingCurveSegment&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FindUsingPoint&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Ak2Pos&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;rk1Curve&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DrawingCurveSegment&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FindUsingPoint&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Rk1Pos&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;rk2Curve&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DrawingCurveSegment&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FindUsingPoint&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Rk2Pos&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ak1Intent&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;GeometryIntent&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateGeometryIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ak1Curve&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parent&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;kCenterPointIntent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ak2Intent&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;GeometryIntent&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateGeometryIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ak2Curve&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parent&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;kCenterPointIntent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;rk1Intent&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;GeometryIntent&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateGeometryIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;rk1Curve&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parent&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;kCenterPointIntent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;rk2Intent&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;GeometryIntent&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateGeometryIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;rk2Curve&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parent&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;kCenterPointIntent&lt;/SPAN&gt;)


&lt;SPAN style="color: #ff0000;"&gt;On&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Error&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Resume&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ReferencedDocumentDescriptor&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ReferencedDocument&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Ak1&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parameters&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;UserParameters&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Ak1"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Ak2&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parameters&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;UserParameters&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Ak2"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Rk1&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parameters&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;UserParameters&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Rk1"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Rk2&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parameters&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;UserParameters&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Rk2"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ObjectCollection&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;TransientObjects&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateObjectCollection&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ak1Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;ak1Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt; - .1))
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ak1Intent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Ak1Note&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;LeaderNote&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DrawingNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;LeaderNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;Ak1&lt;/SPAN&gt;)
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Clear&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ak2Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;ak2Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt; + .1))
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ak2Intent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Ak2Note&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;LeaderNote&lt;/SPAN&gt; =&lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DrawingNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;LeaderNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;Ak2&lt;/SPAN&gt;)
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Clear&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;rk1Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt; - .1, &lt;SPAN style="color: #800000;"&gt;rk1Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt;))
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;rk1Intent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Rk1Note&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;LeaderNote&lt;/SPAN&gt; =&lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DrawingNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;LeaderNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;Rk1&lt;/SPAN&gt;)
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Clear&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;rk2Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt; + .1, &lt;SPAN style="color: #800000;"&gt;rk1Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt;))
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;rk2Intent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Rk2Note&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;LeaderNote&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DrawingNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;LeaderNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;Rk2&lt;/SPAN&gt;)

&lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Update&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="annotations2.PNG" style="width: 858px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/800397iEB0140BF0D1C5E5A/image-size/large?v=v2&amp;amp;px=999" role="button" title="annotations2.PNG" alt="annotations2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 11:47:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-bind-annotation-to-user-parameters/m-p/9659409#M60294</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2020-07-28T11:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic bind annotation to user parameters</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-bind-annotation-to-user-parameters/m-p/9659540#M60295</link>
      <description>&lt;P&gt;Yes, I told you that you are a genius in solving the most difficult problems &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;. Since I am a specialist in creating unsolvable problems&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Again, I'm doing something wrong, not one of the rules does not work for me &lt;span class="lia-unicode-emoji" title=":slightly_frowning_face:"&gt;🙁&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 12:44:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-bind-annotation-to-user-parameters/m-p/9659540#M60295</guid>
      <dc:creator>robertast</dc:creator>
      <dc:date>2020-07-28T12:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic bind annotation to user parameters</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-bind-annotation-to-user-parameters/m-p/9659570#M60296</link>
      <description>&lt;P&gt;Hmm... Are the parameter names correct?&lt;/P&gt;&lt;P&gt;Try removing "On Error Resume Next" so we can see the error message &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 12:57:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-bind-annotation-to-user-parameters/m-p/9659570#M60296</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2020-07-28T12:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic bind annotation to user parameters</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-bind-annotation-to-user-parameters/m-p/9659582#M60297</link>
      <description>&lt;P&gt;Does everything look like in this video?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 13:03:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-bind-annotation-to-user-parameters/m-p/9659582#M60297</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2020-07-28T13:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic bind annotation to user parameters</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-bind-annotation-to-user-parameters/m-p/9659595#M60298</link>
      <description>&lt;P&gt;I have parameters in the wrong place Here is a video of where they are&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5330176"&gt;@JhoelForshav&lt;/a&gt;&amp;nbsp;&amp;nbsp; Is it possible in iLogic to use these parameters?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 13:16:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-bind-annotation-to-user-parameters/m-p/9659595#M60298</guid>
      <dc:creator>robertast</dc:creator>
      <dc:date>2020-07-28T13:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic bind annotation to user parameters</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-bind-annotation-to-user-parameters/m-p/9659609#M60299</link>
      <description>&lt;P&gt;Ahaa, those are properties, not parameters &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DrawingView&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CommandManager&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Pick&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;SelectionFilterEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kDrawingViewFilter&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"pick drawing view."&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;TransientGeometry&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;TransientGeometry&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oPt&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Point2d&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Position&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Ak1Pos&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Point2d&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oPt&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Top&lt;/SPAN&gt; - &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Height&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Ak2Pos&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Point2d&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oPt&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Top&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Pk1Pos&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Point2d&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Left&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oPt&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Pk2Pos&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Point2d&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Left&lt;/SPAN&gt; + &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Width&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oPt&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Sheet&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parent&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ak1Curve&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DrawingCurveSegment&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FindUsingPoint&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Ak1Pos&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ak2Curve&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DrawingCurveSegment&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FindUsingPoint&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Ak2Pos&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;pk1Curve&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DrawingCurveSegment&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FindUsingPoint&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Pk1Pos&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;pk2Curve&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DrawingCurveSegment&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FindUsingPoint&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Pk2Pos&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ak1Intent&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;GeometryIntent&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateGeometryIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ak1Curve&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parent&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;kCenterPointIntent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ak2Intent&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;GeometryIntent&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateGeometryIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ak2Curve&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parent&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;kCenterPointIntent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;pk1Intent&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;GeometryIntent&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateGeometryIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;pk1Curve&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parent&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;kCenterPointIntent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;pk2Intent&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;GeometryIntent&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateGeometryIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;pk2Curve&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parent&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;kCenterPointIntent&lt;/SPAN&gt;)


&lt;SPAN style="color: #ff0000;"&gt;On&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Error&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Resume&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ReferencedDocumentDescriptor&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ReferencedDocument&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Ak1&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(4).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Ak1"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Ak2&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(4).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Ak2"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Pk1&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(4).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Pk1"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Pk2&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(4).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Pk2"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ObjectCollection&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;TransientObjects&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateObjectCollection&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ak1Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;ak1Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt; - .1))
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ak1Intent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Ak1Note&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;LeaderNote&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DrawingNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;LeaderNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;Ak1&lt;/SPAN&gt;)
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Clear&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ak2Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;ak2Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt; + .1))
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ak2Intent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Ak2Note&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;LeaderNote&lt;/SPAN&gt; =&lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DrawingNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;LeaderNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;Ak2&lt;/SPAN&gt;)
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Clear&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;pk1Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt; - .1, &lt;SPAN style="color: #800000;"&gt;pk1Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt;))
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;pk1Intent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Pk1Note&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;LeaderNote&lt;/SPAN&gt; =&lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DrawingNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;LeaderNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;Pk1&lt;/SPAN&gt;)
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Clear&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;pk2Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt; + .1, &lt;SPAN style="color: #800000;"&gt;pk1Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt;))
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;pk2Intent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Pk2Note&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;LeaderNote&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DrawingNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;LeaderNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;Pk2&lt;/SPAN&gt;)

&lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Update&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 28 Jul 2020 13:19:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-bind-annotation-to-user-parameters/m-p/9659609#M60299</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2020-07-28T13:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic bind annotation to user parameters</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-bind-annotation-to-user-parameters/m-p/9659658#M60300</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5330176"&gt;@JhoelForshav&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much. Everything works fine. I owe you wine again. &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;BR /&gt;You have solved almost all my problems. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But don't be offended, I'll come up with additional&lt;BR /&gt;I wrote to @WCrihfield&amp;nbsp;&amp;nbsp; that he hadn't spoken to me for four days. &lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 13:35:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-bind-annotation-to-user-parameters/m-p/9659658#M60300</guid>
      <dc:creator>robertast</dc:creator>
      <dc:date>2020-07-28T13:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic bind annotation to user parameters</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-bind-annotation-to-user-parameters/m-p/9659665#M60301</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8397348"&gt;@robertast&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a little bonus you can use formatted text to have the note linked to the property in the model, so that when you update the properties in the model the drawing will update automatically &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try this, It worked for me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DrawingView&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CommandManager&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Pick&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;SelectionFilterEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kDrawingViewFilter&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"pick drawing view."&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;TransientGeometry&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;TransientGeometry&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oPt&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Point2d&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Position&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Ak1Pos&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Point2d&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oPt&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Top&lt;/SPAN&gt; - &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Height&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Ak2Pos&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Point2d&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oPt&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Top&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Pk1Pos&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Point2d&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Left&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oPt&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Pk2Pos&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Point2d&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Left&lt;/SPAN&gt; + &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Width&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oPt&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Sheet&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parent&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ak1Curve&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DrawingCurveSegment&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FindUsingPoint&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Ak1Pos&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ak2Curve&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DrawingCurveSegment&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FindUsingPoint&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Ak2Pos&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;pk1Curve&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DrawingCurveSegment&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FindUsingPoint&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Pk1Pos&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;pk2Curve&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DrawingCurveSegment&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FindUsingPoint&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Pk2Pos&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ak1Intent&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;GeometryIntent&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateGeometryIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ak1Curve&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parent&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;kCenterPointIntent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ak2Intent&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;GeometryIntent&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateGeometryIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ak2Curve&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parent&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;kCenterPointIntent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;pk1Intent&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;GeometryIntent&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateGeometryIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;pk1Curve&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parent&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;kCenterPointIntent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;pk2Intent&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;GeometryIntent&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateGeometryIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;pk2Curve&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parent&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;kCenterPointIntent&lt;/SPAN&gt;)


&lt;SPAN style="color: #ff0000;"&gt;On&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Error&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Resume&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ReferencedDocumentDescriptor&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ReferencedDocument&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Ak1&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(4).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Ak1"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Ak2&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(4).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Ak2"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Pk1&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(4).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Pk1"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Pk2&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(4).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Pk2"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ObjectCollection&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;TransientObjects&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateObjectCollection&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ak1Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;ak1Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt; - .1))
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ak1Intent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Ak1Note&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;LeaderNote&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DrawingNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;LeaderNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;Ak1&lt;/SPAN&gt;)
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Clear&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ak2Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;ak2Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt; + .1))
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ak2Intent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Ak2Note&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;LeaderNote&lt;/SPAN&gt; =&lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DrawingNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;LeaderNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;Ak2&lt;/SPAN&gt;)
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Clear&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;pk1Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt; - .1, &lt;SPAN style="color: #800000;"&gt;pk1Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt;))
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;pk1Intent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Pk1Note&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;LeaderNote&lt;/SPAN&gt; =&lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DrawingNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;LeaderNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;Pk1&lt;/SPAN&gt;)
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Clear&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;pk2Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt; + .1, &lt;SPAN style="color: #800000;"&gt;pk1Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt;))
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;pk2Intent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Pk2Note&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;LeaderNote&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DrawingNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;LeaderNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;Pk2&lt;/SPAN&gt;)


&lt;SPAN style="color: #800000;"&gt;Ak1Note&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FormattedText&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"&amp;lt;Property Document='model' PropertySet='User Defined Properties' Property='Ak1' FormatID='{D5CDD505-2E9C-101B-9397-08002B2CF9AE}' PropertyID='28'&amp;gt;Ak1&amp;lt;/Property&amp;gt;"&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;Ak2Note&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FormattedText&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"&amp;lt;Property Document='model' PropertySet='User Defined Properties' Property='Ak2' FormatID='{D5CDD505-2E9C-101B-9397-08002B2CF9AE}' PropertyID='28'&amp;gt;Ak2&amp;lt;/Property&amp;gt;"&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;Pk1Note&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FormattedText&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"&amp;lt;Property Document='model' PropertySet='User Defined Properties' Property='Pk1' FormatID='{D5CDD505-2E9C-101B-9397-08002B2CF9AE}' PropertyID='28'&amp;gt;Pk1&amp;lt;/Property&amp;gt;"&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;Pk2Note&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FormattedText&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"&amp;lt;Property Document='model' PropertySet='User Defined Properties' Property='Pk2' FormatID='{D5CDD505-2E9C-101B-9397-08002B2CF9AE}' PropertyID='28'&amp;gt;Pk2&amp;lt;/Property&amp;gt;"&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Update&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 13:38:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-bind-annotation-to-user-parameters/m-p/9659665#M60301</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2020-07-28T13:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic bind annotation to user parameters</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-bind-annotation-to-user-parameters/m-p/9659680#M60302</link>
      <description>&lt;P&gt;All I ran for wine &lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 13:41:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-bind-annotation-to-user-parameters/m-p/9659680#M60302</guid>
      <dc:creator>robertast</dc:creator>
      <dc:date>2020-07-28T13:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic bind annotation to user parameters</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-bind-annotation-to-user-parameters/m-p/9691163#M60303</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5330176"&gt;@JhoelForshav&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe you can still correct the code so that it overlaps by name at the edges of the inscription? Nobody can do it without you. I've already tried looking for help.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_2020-08-14 Получить Надпись на чертеже.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/807239i5478A81DFE347407/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot_2020-08-14 Получить Надпись на чертеже.png" alt="Screenshot_2020-08-14 Получить Надпись на чертеже.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2020 08:40:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-bind-annotation-to-user-parameters/m-p/9691163#M60303</guid>
      <dc:creator>robertast</dc:creator>
      <dc:date>2020-08-14T08:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic bind annotation to user parameters</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-bind-annotation-to-user-parameters/m-p/9691199#M60304</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8397348"&gt;@robertast&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry, but I don't understand what you're asking for here&lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2020 09:03:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-bind-annotation-to-user-parameters/m-p/9691199#M60304</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2020-08-14T09:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic bind annotation to user parameters</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-bind-annotation-to-user-parameters/m-p/9691232#M60305</link>
      <description>&lt;P&gt;Each property should fit in accordance with the face name.&lt;BR /&gt;Ak1 = "Front" ; Ak2 = "Back" ; Pk1 = "Left" ; Pk2 = "Right"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Atribute.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/807251i4BC48D9CB95A04E1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Atribute.png" alt="Atribute.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2020 09:35:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-bind-annotation-to-user-parameters/m-p/9691232#M60305</guid>
      <dc:creator>robertast</dc:creator>
      <dc:date>2020-08-14T09:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic bind annotation to user parameters</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-bind-annotation-to-user-parameters/m-p/9691301#M60306</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8397348"&gt;@robertast&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Like this?&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Main&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DrawingView&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CommandManager&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Pick&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;SelectionFilterEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kDrawingViewFilter&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"pick drawing view."&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;TransientGeometry&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;TransientGeometry&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Sheet&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parent&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ReferencedDocumentDescriptor&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ReferencedDocument&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oFront&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Face&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;GetNamedEntity&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"Front"&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oBack&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Face&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;GetNamedEntity&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"Back"&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oLeft&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Face&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;GetNamedEntity&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"Left"&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oRight&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Face&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;GetNamedEntity&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"Right"&lt;/SPAN&gt;)

&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ak1Curve&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DrawingCurve&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ak2Curve&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DrawingCurve&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;pk1Curve&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DrawingCurve&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;pk2Curve&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DrawingCurve&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oCurve&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DrawingCurve&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DrawingCurves&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oEdge&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Edge&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oFront&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Edges&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oEdge&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Is&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oCurve&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ModelGeometry&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ak1Curve&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oCurve&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oEdge&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Edge&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oBack&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Edges&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oEdge&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Is&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oCurve&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ModelGeometry&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ak2Curve&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oCurve&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oEdge&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Edge&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oLeft&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Edges&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oEdge&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Is&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oCurve&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ModelGeometry&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;pk1Curve&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oCurve&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oEdge&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Edge&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oRight&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Edges&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oEdge&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Is&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oCurve&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ModelGeometry&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;pk2Curve&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oCurve&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ak1Intent&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;GeometryIntent&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateGeometryIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ak1Curve&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;kCenterPointIntent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ak2Intent&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;GeometryIntent&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateGeometryIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ak2Curve&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;kCenterPointIntent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;pk1Intent&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;GeometryIntent&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateGeometryIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;pk1Curve&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;kCenterPointIntent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;pk2Intent&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;GeometryIntent&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateGeometryIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;pk2Curve&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;kCenterPointIntent&lt;/SPAN&gt;)


&lt;SPAN style="color: #ff0000;"&gt;On&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Error&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Resume&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Ak1&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(4).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Ak1"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Ak2&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(4).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Ak2"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Pk1&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(4).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Pk1"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Pk2&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(4).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Pk2"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ObjectCollection&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;TransientObjects&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateObjectCollection&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ak1Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;ak1Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt; - .1))
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ak1Intent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Ak1Note&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;LeaderNote&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DrawingNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;LeaderNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;Ak1&lt;/SPAN&gt;)
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Clear&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ak2Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;ak2Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt; + .1))
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ak2Intent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Ak2Note&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;LeaderNote&lt;/SPAN&gt; =&lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DrawingNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;LeaderNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;Ak2&lt;/SPAN&gt;)
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Clear&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;pk1Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt; - .1, &lt;SPAN style="color: #800000;"&gt;pk1Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt;))
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;pk1Intent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Pk1Note&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;LeaderNote&lt;/SPAN&gt; =&lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DrawingNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;LeaderNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;Pk1&lt;/SPAN&gt;)
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Clear&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;pk2Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt; + .1, &lt;SPAN style="color: #800000;"&gt;pk1Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt;))
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;pk2Intent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Pk2Note&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;LeaderNote&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DrawingNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;LeaderNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;Pk2&lt;/SPAN&gt;)


&lt;SPAN style="color: #800000;"&gt;Ak1Note&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FormattedText&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"&amp;lt;Property Document='model' PropertySet='User Defined Properties' Property='Ak1' FormatID='{D5CDD505-2E9C-101B-9397-08002B2CF9AE}' PropertyID='28'&amp;gt;Ak1&amp;lt;/Property&amp;gt;"&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;Ak2Note&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FormattedText&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"&amp;lt;Property Document='model' PropertySet='User Defined Properties' Property='Ak2' FormatID='{D5CDD505-2E9C-101B-9397-08002B2CF9AE}' PropertyID='28'&amp;gt;Ak2&amp;lt;/Property&amp;gt;"&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;Pk1Note&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FormattedText&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"&amp;lt;Property Document='model' PropertySet='User Defined Properties' Property='Pk1' FormatID='{D5CDD505-2E9C-101B-9397-08002B2CF9AE}' PropertyID='28'&amp;gt;Pk1&amp;lt;/Property&amp;gt;"&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;Pk2Note&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FormattedText&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"&amp;lt;Property Document='model' PropertySet='User Defined Properties' Property='Pk2' FormatID='{D5CDD505-2E9C-101B-9397-08002B2CF9AE}' PropertyID='28'&amp;gt;Pk2&amp;lt;/Property&amp;gt;"&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Update&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Public&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Function&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;GetNamedEntity&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Inventor&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Document&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;name&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt;) &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Object&lt;/SPAN&gt;
    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;attribMgr&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;AttributeManager&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;AttributeManager&lt;/SPAN&gt;
    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;objsFound&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ObjectCollection&lt;/SPAN&gt;
    &lt;SPAN style="color: #800000;"&gt;objsFound&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;attribMgr&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FindObjects&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"iLogicEntityNameSet"&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"iLogicEntityName"&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;name&lt;/SPAN&gt;)
    
    &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;objsFound&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Count&lt;/SPAN&gt; &amp;gt; 0 &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt;
        &lt;SPAN style="color: #ff0000;"&gt;Return&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;objsFound&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1))
    &lt;SPAN style="color: #ff0000;"&gt;Else&lt;/SPAN&gt;
        &lt;SPAN style="color: #ff0000;"&gt;Return&lt;/SPAN&gt;(&lt;SPAN style="color: #ff0000;"&gt;Nothing&lt;/SPAN&gt;)
    &lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Function&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 14 Aug 2020 10:31:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-bind-annotation-to-user-parameters/m-p/9691301#M60306</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2020-08-14T10:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic bind annotation to user parameters</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-bind-annotation-to-user-parameters/m-p/9691312#M60307</link>
      <description>&lt;P&gt;Many thanks. I told you that it won't work without you. I turned to other specialists for help, but they could not.&lt;BR /&gt;Now the rule works almost perfectly, except that in one projection it overlays the inscription inside the part. But this is not critical - I will correct it with my hands.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/807258iC087380613E91C96/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2020 10:42:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-bind-annotation-to-user-parameters/m-p/9691312#M60307</guid>
      <dc:creator>robertast</dc:creator>
      <dc:date>2020-08-14T10:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic bind annotation to user parameters</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-bind-annotation-to-user-parameters/m-p/9691406#M60308</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8397348"&gt;@robertast&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I fixed it. The code could use some clean up with a sub for the checking note positions instead of repeating the same lines over and over. But at least this works:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Main&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DrawingView&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CommandManager&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Pick&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;SelectionFilterEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kDrawingViewFilter&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"pick drawing view."&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;TransientGeometry&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;TransientGeometry&lt;/SPAN&gt;


&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oPt&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Point2d&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Position&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;BottomPos&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Point2d&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oPt&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Top&lt;/SPAN&gt; - &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Height&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;TopPos&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Point2d&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oPt&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Top&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;LeftPos&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Point2d&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Left&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oPt&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;RightPos&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Point2d&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Left&lt;/SPAN&gt; + &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Width&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oPt&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt;)



&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Sheet&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parent&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ReferencedDocumentDescriptor&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ReferencedDocument&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oFront&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Face&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;GetNamedEntity&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"Front"&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oBack&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Face&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;GetNamedEntity&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"Back"&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oLeft&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Face&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;GetNamedEntity&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"Left"&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oRight&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Face&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;GetNamedEntity&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"Right"&lt;/SPAN&gt;)

&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ak1Curve&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DrawingCurve&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ak2Curve&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DrawingCurve&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;pk1Curve&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DrawingCurve&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;pk2Curve&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DrawingCurve&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oCurve&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DrawingCurve&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DrawingCurves&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oEdge&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Edge&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oFront&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Edges&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oEdge&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Is&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oCurve&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ModelGeometry&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ak1Curve&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oCurve&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oEdge&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Edge&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oBack&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Edges&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oEdge&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Is&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oCurve&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ModelGeometry&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ak2Curve&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oCurve&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oEdge&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Edge&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oLeft&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Edges&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oEdge&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Is&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oCurve&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ModelGeometry&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;pk1Curve&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oCurve&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oEdge&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Edge&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oRight&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Edges&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oEdge&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Is&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oCurve&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ModelGeometry&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;pk2Curve&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oCurve&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ak1Intent&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;GeometryIntent&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateGeometryIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ak1Curve&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;kCenterPointIntent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ak2Intent&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;GeometryIntent&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateGeometryIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ak2Curve&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;kCenterPointIntent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;pk1Intent&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;GeometryIntent&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateGeometryIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;pk1Curve&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;kCenterPointIntent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;pk2Intent&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;GeometryIntent&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateGeometryIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;pk2Curve&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;kCenterPointIntent&lt;/SPAN&gt;)


&lt;SPAN style="color: #ff0000;"&gt;On&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Error&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Resume&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Ak1&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(4).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Ak1"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Ak2&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(4).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Ak2"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Pk1&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(4).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Pk1"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Pk2&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(4).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Pk2"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ObjectCollection&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;TransientObjects&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateObjectCollection&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;CorrVal&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Double&lt;/SPAN&gt; = 0
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;CorrPoint&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Point2d&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;ak1Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;CorrPoint&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;IsEqualTo&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;TopPos&lt;/SPAN&gt;) &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;CorrVal&lt;/SPAN&gt; = 0.1
&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;CorrPoint&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;IsEqualTo&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;BottomPos&lt;/SPAN&gt;) &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;CorrVal&lt;/SPAN&gt; = -0.1
&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;CorrPoint&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;IsEqualTo&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;LeftPos&lt;/SPAN&gt;) &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;CorrVal&lt;/SPAN&gt; = -0.1
&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;CorrPoint&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;IsEqualTo&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;RightPos&lt;/SPAN&gt;) &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;CorrVal&lt;/SPAN&gt; = 0.1

&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ak1Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;ak1Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt; + &lt;SPAN style="color: #800000;"&gt;CorrVal&lt;/SPAN&gt;))
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ak1Intent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Ak1Note&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;LeaderNote&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DrawingNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;LeaderNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;Ak1&lt;/SPAN&gt;)
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Clear&lt;/SPAN&gt;


&lt;SPAN style="color: #800000;"&gt;CorrPoint&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;ak2Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;CorrPoint&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;IsEqualTo&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;TopPos&lt;/SPAN&gt;) &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;CorrVal&lt;/SPAN&gt; = 0.1
&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;CorrPoint&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;IsEqualTo&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;BottomPos&lt;/SPAN&gt;) &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;CorrVal&lt;/SPAN&gt; = -0.1
&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;CorrPoint&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;IsEqualTo&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;LeftPos&lt;/SPAN&gt;) &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;CorrVal&lt;/SPAN&gt; = -0.1
&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;CorrPoint&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;IsEqualTo&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;RightPos&lt;/SPAN&gt;) &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;CorrVal&lt;/SPAN&gt; = 0.1
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ak2Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;ak2Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt; + &lt;SPAN style="color: #800000;"&gt;CorrVal&lt;/SPAN&gt;))
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ak2Intent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Ak2Note&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;LeaderNote&lt;/SPAN&gt; =&lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DrawingNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;LeaderNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;Ak2&lt;/SPAN&gt;)
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Clear&lt;/SPAN&gt;

&lt;SPAN style="color: #800000;"&gt;CorrPoint&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;pk1Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;CorrPoint&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;IsEqualTo&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;TopPos&lt;/SPAN&gt;) &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;CorrVal&lt;/SPAN&gt; = 0.1
&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;CorrPoint&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;IsEqualTo&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;BottomPos&lt;/SPAN&gt;) &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;CorrVal&lt;/SPAN&gt; = -0.1
&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;CorrPoint&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;IsEqualTo&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;LeftPos&lt;/SPAN&gt;) &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;CorrVal&lt;/SPAN&gt; = -0.1
&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;CorrPoint&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;IsEqualTo&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;RightPos&lt;/SPAN&gt;) &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;CorrVal&lt;/SPAN&gt; = 0.1
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;pk1Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt; + &lt;SPAN style="color: #800000;"&gt;CorrVal&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;pk1Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt;))
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;pk1Intent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Pk1Note&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;LeaderNote&lt;/SPAN&gt; =&lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DrawingNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;LeaderNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;Pk1&lt;/SPAN&gt;)
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Clear&lt;/SPAN&gt;

&lt;SPAN style="color: #800000;"&gt;CorrPoint&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;pk2Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;CorrPoint&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;IsEqualTo&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;TopPos&lt;/SPAN&gt;) &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;CorrVal&lt;/SPAN&gt; = 0.1
&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;CorrPoint&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;IsEqualTo&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;BottomPos&lt;/SPAN&gt;) &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;CorrVal&lt;/SPAN&gt; = -0.1
&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;CorrPoint&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;IsEqualTo&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;LeftPos&lt;/SPAN&gt;) &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;CorrVal&lt;/SPAN&gt; = -0.1
&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;CorrPoint&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;IsEqualTo&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;RightPos&lt;/SPAN&gt;) &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;CorrVal&lt;/SPAN&gt; = 0.1
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;pk2Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt; + &lt;SPAN style="color: #800000;"&gt;CorrVal&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;pk2Intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt;))
&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;pk2Intent&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Pk2Note&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;LeaderNote&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DrawingNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;LeaderNotes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oCol&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;Pk2&lt;/SPAN&gt;)


&lt;SPAN style="color: #800000;"&gt;Ak1Note&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FormattedText&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"&amp;lt;Property Document='model' PropertySet='User Defined Properties' Property='Ak1' FormatID='{D5CDD505-2E9C-101B-9397-08002B2CF9AE}' PropertyID='28'&amp;gt;Ak1&amp;lt;/Property&amp;gt;"&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;Ak2Note&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FormattedText&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"&amp;lt;Property Document='model' PropertySet='User Defined Properties' Property='Ak2' FormatID='{D5CDD505-2E9C-101B-9397-08002B2CF9AE}' PropertyID='28'&amp;gt;Ak2&amp;lt;/Property&amp;gt;"&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;Pk1Note&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FormattedText&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"&amp;lt;Property Document='model' PropertySet='User Defined Properties' Property='Pk1' FormatID='{D5CDD505-2E9C-101B-9397-08002B2CF9AE}' PropertyID='28'&amp;gt;Pk1&amp;lt;/Property&amp;gt;"&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;Pk2Note&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FormattedText&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"&amp;lt;Property Document='model' PropertySet='User Defined Properties' Property='Pk2' FormatID='{D5CDD505-2E9C-101B-9397-08002B2CF9AE}' PropertyID='28'&amp;gt;Pk2&amp;lt;/Property&amp;gt;"&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Update&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Public&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Function&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;GetNamedEntity&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Inventor&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Document&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;name&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt;) &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Object&lt;/SPAN&gt;
    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;attribMgr&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;AttributeManager&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;AttributeManager&lt;/SPAN&gt;
    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;objsFound&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ObjectCollection&lt;/SPAN&gt;
    &lt;SPAN style="color: #800000;"&gt;objsFound&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;attribMgr&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FindObjects&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"iLogicEntityNameSet"&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"iLogicEntityName"&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;name&lt;/SPAN&gt;)
    
    &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;objsFound&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Count&lt;/SPAN&gt; &amp;gt; 0 &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt;
        &lt;SPAN style="color: #ff0000;"&gt;Return&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;objsFound&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1))
    &lt;SPAN style="color: #ff0000;"&gt;Else&lt;/SPAN&gt;
        &lt;SPAN style="color: #ff0000;"&gt;Return&lt;/SPAN&gt;(&lt;SPAN style="color: #ff0000;"&gt;Nothing&lt;/SPAN&gt;)
    &lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Function&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="robertas.PNG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/807277iB94DD1FDCCA8AB3A/image-size/large?v=v2&amp;amp;px=999" role="button" title="robertas.PNG" alt="robertas.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2020 12:07:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-bind-annotation-to-user-parameters/m-p/9691406#M60308</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2020-08-14T12:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic bind annotation to user parameters</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-bind-annotation-to-user-parameters/m-p/9691554#M60309</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5330176"&gt;@JhoelForshav&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You are a wizard &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2020 13:17:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-bind-annotation-to-user-parameters/m-p/9691554#M60309</guid>
      <dc:creator>robertast</dc:creator>
      <dc:date>2020-08-14T13:17:06Z</dc:date>
    </item>
  </channel>
</rss>

