<?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: Replace Sketch Symbol retain reference to attached entity in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/replace-sketch-symbol-retain-reference-to-attached-entity/m-p/10305929#M124315</link>
    <description>&lt;P&gt;Figured it out. Posting for reference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;//returns the GeometryIntent of the node, in this case it is the node&amp;nbsp;@ index 2 (this is where I was confused since I was using index&amp;nbsp;@1 but this returns the first node of your leader which is not what is attached to the leader note mentioned above)&lt;/P&gt;&lt;P&gt;object intent = oldSymbol.Leader.AllNodes[2].AttachedEntity;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once the object was returned I used that as a point in my new sketchsymbol to insert it and the new symbol is attached to the intent&lt;/P&gt;</description>
    <pubDate>Tue, 11 May 2021 17:00:34 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-05-11T17:00:34Z</dc:date>
    <item>
      <title>Replace Sketch Symbol retain reference to attached entity</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/replace-sketch-symbol-retain-reference-to-attached-entity/m-p/10305745#M124307</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am writing a quick program that replaces a sketch symbol in a drawing. I am able to query the old symbol's position and use that however, the old symbol is attached to a leader note via geometry intent. How can I query the leader note from the old symbol so I can recreate the intent and have the new symbol attach to the same leader note?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help appreciated. Let me know if more information is needed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Chris&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 15:35:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/replace-sketch-symbol-retain-reference-to-attached-entity/m-p/10305745#M124307</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-11T15:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Sketch Symbol retain reference to attached entity</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/replace-sketch-symbol-retain-reference-to-attached-entity/m-p/10305929#M124315</link>
      <description>&lt;P&gt;Figured it out. Posting for reference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;//returns the GeometryIntent of the node, in this case it is the node&amp;nbsp;@ index 2 (this is where I was confused since I was using index&amp;nbsp;@1 but this returns the first node of your leader which is not what is attached to the leader note mentioned above)&lt;/P&gt;&lt;P&gt;object intent = oldSymbol.Leader.AllNodes[2].AttachedEntity;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once the object was returned I used that as a point in my new sketchsymbol to insert it and the new symbol is attached to the intent&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 17:00:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/replace-sketch-symbol-retain-reference-to-attached-entity/m-p/10305929#M124315</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-11T17:00:34Z</dc:date>
    </item>
  </channel>
</rss>

