<?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: [VBA] Change position of existing Sketch Symbol and Parts List in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-change-position-of-existing-sketch-symbol-and-parts-list/m-p/9614119#M61317</link>
    <description>&lt;P&gt;change g_inventorapplication to thisapplication.&lt;/P&gt;</description>
    <pubDate>Thu, 02 Jul 2020 09:38:39 GMT</pubDate>
    <dc:creator>marcin_otręba</dc:creator>
    <dc:date>2020-07-02T09:38:39Z</dc:date>
    <item>
      <title>[VBA] Change position of existing Sketch Symbol and Parts List</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-change-position-of-existing-sketch-symbol-and-parts-list/m-p/9613967#M61312</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I change position of existing Sketch Symbol and Parts List?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a macro to easely change Sheet Size, but I need to re-position&amp;nbsp;Sketch Symbols and Parts List, but I couldn't do it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sketch Symbol Names are: "Tol Geral" and "Comentarios automaticos"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2020 08:04:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-change-position-of-existing-sketch-symbol-and-parts-list/m-p/9613967#M61312</guid>
      <dc:creator>amarcoc</dc:creator>
      <dc:date>2020-07-02T08:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: [VBA] Change position of existing Sketch Symbol and Parts List</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-change-position-of-existing-sketch-symbol-and-parts-list/m-p/9614000#M61313</link>
      <description>&lt;P&gt;sketched symbol:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;oSketchedSymbol = odraw.ActiveSheet.SketchedSymbols.Item(1)
oSketchedSymbol.Position = g_inventorApplication.TransientGeometry.CreatePoint2d(1, 1)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;partlist:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Set opartslist = osheet.PartsLists(1)
opartslist.Position = g_inventorApplication.TransientGeometry.CreatePoint2d(1, 1)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2020 08:26:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-change-position-of-existing-sketch-symbol-and-parts-list/m-p/9614000#M61313</guid>
      <dc:creator>marcin_otręba</dc:creator>
      <dc:date>2020-07-02T08:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: [VBA] Change position of existing Sketch Symbol and Parts List</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-change-position-of-existing-sketch-symbol-and-parts-list/m-p/9614046#M61314</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did try, but couldnt make it work. Is that for VBA?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please check attached errors.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2020 08:53:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-change-position-of-existing-sketch-symbol-and-parts-list/m-p/9614046#M61314</guid>
      <dc:creator>amarcoc</dc:creator>
      <dc:date>2020-07-02T08:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: [VBA] Change position of existing Sketch Symbol and Parts List</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-change-position-of-existing-sketch-symbol-and-parts-list/m-p/9614058#M61315</link>
      <description>&lt;P&gt;For vba you must&amp;nbsp; use set :&lt;/P&gt;&lt;LI-CODE lang="general"&gt;set oSketchedSymbol = odraw.ActiveSheet.SketchedSymbols.Item(1)

oSketchedSymbol.Position = g_inventorApplication.TransientGeometry.CreatePoint2d(1, 1)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you didint set osheet:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Dim osheet As Sheet
Set osheet = Thisapplication.activedocument.ActiveSheet
Set opartslist = osheet.PartsLists(1)
opartslist.Position = g_inventorApplication.TransientGeometry.CreatePoint2d(1, 1)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2020 09:00:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-change-position-of-existing-sketch-symbol-and-parts-list/m-p/9614058#M61315</guid>
      <dc:creator>marcin_otręba</dc:creator>
      <dc:date>2020-07-02T09:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: [VBA] Change position of existing Sketch Symbol and Parts List</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-change-position-of-existing-sketch-symbol-and-parts-list/m-p/9614117#M61316</link>
      <description>&lt;P&gt;I still cant make it work &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the error&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="erro3.png" style="width: 807px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/790941i5F688BBC1247453F/image-size/large?v=v2&amp;amp;px=999" role="button" title="erro3.png" alt="erro3.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2020 09:36:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-change-position-of-existing-sketch-symbol-and-parts-list/m-p/9614117#M61316</guid>
      <dc:creator>amarcoc</dc:creator>
      <dc:date>2020-07-02T09:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: [VBA] Change position of existing Sketch Symbol and Parts List</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-change-position-of-existing-sketch-symbol-and-parts-list/m-p/9614119#M61317</link>
      <description>&lt;P&gt;change g_inventorapplication to thisapplication.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2020 09:38:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-change-position-of-existing-sketch-symbol-and-parts-list/m-p/9614119#M61317</guid>
      <dc:creator>marcin_otręba</dc:creator>
      <dc:date>2020-07-02T09:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: [VBA] Change position of existing Sketch Symbol and Parts List</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-change-position-of-existing-sketch-symbol-and-parts-list/m-p/9614228#M61318</link>
      <description>&lt;P&gt;Thanks! That was it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I know Part List height?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2020 11:10:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-change-position-of-existing-sketch-symbol-and-parts-list/m-p/9614228#M61318</guid>
      <dc:creator>amarcoc</dc:creator>
      <dc:date>2020-07-02T11:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: [VBA] Change position of existing Sketch Symbol and Parts List</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-change-position-of-existing-sketch-symbol-and-parts-list/m-p/9614259#M61319</link>
      <description>&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oprtl&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartsList&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;&lt;SPAN style="color: #ff0000;"&gt;Set&lt;/SPAN&gt; oprtl&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;Thisapplication.activedocument&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ActiveSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PartsLists&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;height&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;width&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Decimal&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Set&lt;/SPAN&gt;  &lt;SPAN style="color: #800000;"&gt;width&lt;/SPAN&gt; = (&lt;SPAN style="color: #800000;"&gt;oprtl&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;RangeBox&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;MaxPoint&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt; - &lt;SPAN style="color: #800000;"&gt;oprtl&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;RangeBox&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;MinPoint&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt;)*10
&lt;SPAN style="color: #ff0000;"&gt;Set&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;height&lt;/SPAN&gt;=(&lt;SPAN style="color: #800000;"&gt;oprtl&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;RangeBox&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;MaxPoint&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt; - &lt;SPAN style="color: #800000;"&gt;oprtl&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;RangeBox&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;MinPoint&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt;)*10&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry it was logic. i corrected it.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2020 11:31:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-change-position-of-existing-sketch-symbol-and-parts-list/m-p/9614259#M61319</guid>
      <dc:creator>marcin_otręba</dc:creator>
      <dc:date>2020-07-02T11:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: [VBA] Change position of existing Sketch Symbol and Parts List</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-change-position-of-existing-sketch-symbol-and-parts-list/m-p/9614534#M61320</link>
      <description>&lt;P&gt;Thanks. It worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Last question:&lt;/P&gt;&lt;P&gt;How can I check Model Documentype (running same VBA macro from a drawing?). I want partlist code to run only if model is an assembly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!!!&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2020 13:36:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-change-position-of-existing-sketch-symbol-and-parts-list/m-p/9614534#M61320</guid>
      <dc:creator>amarcoc</dc:creator>
      <dc:date>2020-07-02T13:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: [VBA] Change position of existing Sketch Symbol and Parts List</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-change-position-of-existing-sketch-symbol-and-parts-list/m-p/9614799#M61321</link>
      <description>&lt;PRE&gt;&lt;SPAN style="color: #800000;"&gt;odraw&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ReferencedDocuments&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1).&lt;SPAN style="color: #800000;"&gt;documenttype&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Jul 2020 15:28:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-change-position-of-existing-sketch-symbol-and-parts-list/m-p/9614799#M61321</guid>
      <dc:creator>marcin_otręba</dc:creator>
      <dc:date>2020-07-02T15:28:34Z</dc:date>
    </item>
  </channel>
</rss>

