<?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] SetInspectionDimensionData Blank Label Issue in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/vba-setinspectiondimensiondata-blank-label-issue/m-p/5539410#M54624</link>
    <description>I can reproduce this issue with Inventor 2015 as well. The issue disappeared in Inventor 2016, could you please have a try when you get the new build? And please let us know if you expect the fix in Inventor 2015 SP or Update. Thank you!</description>
    <pubDate>Fri, 13 Mar 2015 09:46:13 GMT</pubDate>
    <dc:creator>JarFu</dc:creator>
    <dc:date>2015-03-13T09:46:13Z</dc:date>
    <item>
      <title>[VBA] SetInspectionDimensionData Blank Label Issue</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/vba-setinspectiondimensiondata-blank-label-issue/m-p/5527360#M54443</link>
      <description>&lt;P&gt;Gday all,&lt;BR /&gt;&lt;BR /&gt;My goal is to create macros for everything I use the most so i can assign them single key hotkeys to boost my productivity. So I got the following code to set a dimension as an inspection with an angular border, but my issue is it creates a segment (vertical line) for the label even when the label it's set to be blank. Manually editing the dimension shows that the label is blank but if i press delete it removes the segment line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Sub Dimension_Inspection()
  Dim oDoc As DrawingDocument
  Set oDoc = ThisApplication.ActiveDocument
  Dim oSSet As SelectSet
  Set oSSet = oDoc.SelectSet
  'reference to the selected dimension
  Dim oDim As LinearGeneralDimension
  Set oDim = oSSet.Item(1)
   
  Dim Shape As InspectionDimensionShapeEnum
  Dim Label As String
  Dim Rate As String
  Shape = kAngularEndsInspectionBorder
  Label = ""
  Rate = ""
  
  oDim.IsInspectionDimension = True
  oDim.SetInspectionDimensionData Shape, Label, Rate

End Sub&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;IMG alt="ins.PNG" border="0" title="ins.PNG" src="https://forums.autodesk.com/t5/image/serverpage/image-id/156640i6B5FAE87F68685D9/image-size/original?v=mpbl-1&amp;amp;px=-1" /&gt;&lt;/P&gt;&lt;P&gt;See the highligted segment. it's unnecessary and makes my drawings look inconsistant.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Mar 2015 23:44:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/vba-setinspectiondimensiondata-blank-label-issue/m-p/5527360#M54443</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-03T23:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: [VBA] SetInspectionDimensionData Blank Label Issue</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/vba-setinspectiondimensiondata-blank-label-issue/m-p/5535796#M54563</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I too could reproduce the issue:&amp;nbsp;&lt;A href="http://www.screencast.com/t/XuivQmtlXIAE" target="_self"&gt;http://www.screencast.com/t/XuivQmtlXIAE&lt;/A&gt;, and have logged it in our database under #54707 so that hopefully it will get sorted in a later release.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately, I cannot think of a nice workaround - other than ugly Windows messaging, bringing up the dialog, sending DELETE KEY, pressing OK. :-s&lt;/P&gt;
&lt;P&gt;(which is also not very robust :-s)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry for the bad news.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2015 22:20:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/vba-setinspectiondimensiondata-blank-label-issue/m-p/5535796#M54563</guid>
      <dc:creator>adam.nagy</dc:creator>
      <dc:date>2015-03-10T22:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: [VBA] SetInspectionDimensionData Blank Label Issue</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/vba-setinspectiondimensiondata-blank-label-issue/m-p/5539410#M54624</link>
      <description>I can reproduce this issue with Inventor 2015 as well. The issue disappeared in Inventor 2016, could you please have a try when you get the new build? And please let us know if you expect the fix in Inventor 2015 SP or Update. Thank you!</description>
      <pubDate>Fri, 13 Mar 2015 09:46:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/vba-setinspectiondimensiondata-blank-label-issue/m-p/5539410#M54624</guid>
      <dc:creator>JarFu</dc:creator>
      <dc:date>2015-03-13T09:46:13Z</dc:date>
    </item>
  </channel>
</rss>

