<?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 Inventor Drawing; Toggle hide dimension while in active sketch in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/inventor-drawing-toggle-hide-dimension-while-in-active-sketch/m-p/12314823#M159222</link>
    <description>&lt;P&gt;I have seen some post that you can use VBA with this code to hide/unhide dimension but it seems it doesn't work on the inventor 2024 version.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Dim oDoc As PartDocument
oDoc = ThisApplication.ActiveDocument
oDoc.ComponentDefinition.Sketches(1).DimensionsVisible = Not oDoc.ComponentDefinition.Sketches(1).DimensionsVisible&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Oct 2023 16:19:25 GMT</pubDate>
    <dc:creator>thao.q.nguyen</dc:creator>
    <dc:date>2023-10-18T16:19:25Z</dc:date>
    <item>
      <title>Inventor Drawing; Toggle hide dimension while in active sketch</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/inventor-drawing-toggle-hide-dimension-while-in-active-sketch/m-p/12314823#M159222</link>
      <description>&lt;P&gt;I have seen some post that you can use VBA with this code to hide/unhide dimension but it seems it doesn't work on the inventor 2024 version.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Dim oDoc As PartDocument
oDoc = ThisApplication.ActiveDocument
oDoc.ComponentDefinition.Sketches(1).DimensionsVisible = Not oDoc.ComponentDefinition.Sketches(1).DimensionsVisible&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2023 16:19:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/inventor-drawing-toggle-hide-dimension-while-in-active-sketch/m-p/12314823#M159222</guid>
      <dc:creator>thao.q.nguyen</dc:creator>
      <dc:date>2023-10-18T16:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: Inventor Drawing; Toggle hide dimension while in active sketch</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/inventor-drawing-toggle-hide-dimension-while-in-active-sketch/m-p/12314864#M159224</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8698272"&gt;@thao.q.nguyen&lt;/a&gt;.&amp;nbsp; That specific 3 lines of code might not work in VBA, because it is missing the 'Set' keyword in front of the second line, but it should work in an iLogic rule.&amp;nbsp; Even in Inventor 2024 version the &lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=PlanarSketch_DimensionsVisible" target="_blank" rel="noopener"&gt;PlanarSketch.DimensionsVisible&lt;/A&gt;&amp;nbsp;property is still present, and still a Read/Write Boolean.&amp;nbsp; I just tested it from an iLogic rule and it worked just fine.&amp;nbsp; However, if the Sketch object itself is not visible, the dimensions will not be visible either.&amp;nbsp; So, you may have to make the sketch itself visible first.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2023 16:38:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/inventor-drawing-toggle-hide-dimension-while-in-active-sketch/m-p/12314864#M159224</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2023-10-18T16:38:14Z</dc:date>
    </item>
  </channel>
</rss>

