<?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: How to set in Inventor so that the dimension appears underline when there is a break in Inventor Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-forum/how-to-set-in-inventor-so-that-the-dimension-appears-underline/m-p/12829522#M18799</link>
    <description>&lt;P&gt;You can also solve it automatically, using the measure and "underline" trick with the following iLogic macro:&lt;/P&gt;
&lt;LI-CODE lang="visual-basic"&gt;'Underline "broken" dimensions - a tip from www.cadforum.cz
Sub Main()
  Dim oDoc As DrawingDocument
  oDoc = ThisApplication.ActiveDocument
  Dim oSheet As Sheet
  oSheet = oDoc.ActiveSheet
  Dim Scl As Double ' View Scale
    
  Dim oDim As DrawingDimension
  For Each oDim In oSheet.DrawingDimensions
	Dim oView As DrawingView
	Select Case oDim.Type
	Case ObjectTypeEnum.kLinearGeneralDimensionObject, ObjectTypeEnum.kAngularGeneralDimensionObject
		 oView = oDim.IntentOne.Geometry.Parent
	Case ObjectTypeEnum.kRadiusGeneralDimensionObject, ObjectTypeEnum.kDiameterGeneralDimensionObject
		 oView = oDim.Intent.Geometry.Parent
	End Select
		
	Scl = oView.Scale
    Dim d As Double
    d = dist(oDim.DimensionLine.StartPoint.Y, oDim.DimensionLine.StartPoint.X, _
			 oDim.DimensionLine.EndPoint.Y, oDim.DimensionLine.EndPoint.X)
    d = d / Scl
    If Math.Round(d,4) &amp;lt;&amp;gt; Math.Round(oDim.ModelValue,4) Then ' equal?
      'oDoc.SelectSet.Select(oDim)
	  If Not oDim.Text.FormattedText.Contains("&amp;lt;br/&amp;gt; \U+0305") Then 'was: &amp;lt;StyleOverride Underline='True'&amp;gt;
         'oDim.Text.FormattedText = "&amp;lt;StyleOverride Underline='True'&amp;gt; &amp;lt;DimensionValue/&amp;gt; &amp;lt;/StyleOverride&amp;gt;"
         oDim.Text.FormattedText = "&amp;lt;DimensionValue/&amp;gt;&amp;lt;br/&amp;gt; \U+0305 \U+0305 \U+0305 \U+0305 \U+0305 \U+0305 \U+0305 \U+0305 "
      End If
    End If
        
  Next
End Sub

Function dist(y1 As Double, x1 As Double, y2 As Double, x2 As Double)
  dist = Sqrt((y1 - y2) ^ 2 + (x1 - x2) ^ 2)
End Function&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Vladimir Michl, &lt;A href="http://www.arkance-systems.cz" target="_blank"&gt;www.arkance-systems.cz&lt;/A&gt;&amp;nbsp; -&amp;nbsp; &lt;A href="http://www.cadforum.cz" target="_blank"&gt;www.cadforum.cz&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jun 2024 11:12:08 GMT</pubDate>
    <dc:creator>vladimir_michl</dc:creator>
    <dc:date>2024-06-10T11:12:08Z</dc:date>
    <item>
      <title>How to set in Inventor so that the dimension appears underline when there is a break</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/how-to-set-in-inventor-so-that-the-dimension-appears-underline/m-p/12819481#M18794</link>
      <description>&lt;P&gt;&lt;SPAN&gt;How to set in Inventor so that the dimension appears underline when there is a break?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ČSN EN ISO 5456 - 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://www.n-i-s.cz/cz/zobrazovani-nabytku/page/592/" target="_blank" rel="noopener"&gt;https://www.n-i-s.cz/cz/zobrazovani-nabytku/page/592/&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;When Break View is used, the underlined dimension value is used.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;See attached image&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-06-05_08h06_20.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1372035iAABEBFFB249A7F02/image-size/large?v=v2&amp;amp;px=999" role="button" title="2024-06-05_08h06_20.png" alt="2024-06-05_08h06_20.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 07:15:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/how-to-set-in-inventor-so-that-the-dimension-appears-underline/m-p/12819481#M18794</guid>
      <dc:creator>dusan.naus.trz</dc:creator>
      <dc:date>2024-06-05T07:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to set in Inventor so that the dimension appears underline when there is a break</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/how-to-set-in-inventor-so-that-the-dimension-appears-underline/m-p/12819886#M18795</link>
      <description>&lt;P&gt;&lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1632506"&gt;@dusan.naus.trz&lt;/a&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Hello! I'm not seeing a specific option to set this in the Styles Manager. &amp;nbsp;You may need to create a new Dimension Style for this situation, which has the text underlined, and then manually select it for dimensions in these areas.&lt;BR /&gt;&lt;BR /&gt;Anyone else have any ideas on this? &amp;nbsp;Good luck.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 10:58:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/how-to-set-in-inventor-so-that-the-dimension-appears-underline/m-p/12819886#M18795</guid>
      <dc:creator>CGBenner</dc:creator>
      <dc:date>2024-06-05T10:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to set in Inventor so that the dimension appears underline when there is a break</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/how-to-set-in-inventor-so-that-the-dimension-appears-underline/m-p/12825813#M18796</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp;I create New dimension style.&amp;nbsp;It would be useful to automate this.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-06-07_17h25_58.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1373314i7BAC5BB036ACF062/image-size/large?v=v2&amp;amp;px=999" role="button" title="2024-06-07_17h25_58.png" alt="2024-06-07_17h25_58.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I create Ideas&amp;nbsp;&lt;A href="https://forums.autodesk.com/t5/inventor-ideas/drawing-dimension-appears-underline-when-there-is-a-break/idi-p/12825803" target="_blank"&gt;https://forums.autodesk.com/t5/inventor-ideas/drawing-dimension-appears-underline-when-there-is-a-break/idi-p/12825803&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2024 15:50:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/how-to-set-in-inventor-so-that-the-dimension-appears-underline/m-p/12825813#M18796</guid>
      <dc:creator>dusan.naus.trz</dc:creator>
      <dc:date>2024-06-07T15:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to set in Inventor so that the dimension appears underline when there is a break</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/how-to-set-in-inventor-so-that-the-dimension-appears-underline/m-p/12825883#M18797</link>
      <description>&lt;P&gt;If I modify the Dimension. The underline will not appear. Please fix it, it's a bug.&amp;nbsp;What do you think?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-06-07_18h10_10.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1373329iACF8A69FE4E38EFF/image-size/large?v=v2&amp;amp;px=999" role="button" title="2024-06-07_18h10_10.png" alt="2024-06-07_18h10_10.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2024 16:17:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/how-to-set-in-inventor-so-that-the-dimension-appears-underline/m-p/12825883#M18797</guid>
      <dc:creator>dusan.naus.trz</dc:creator>
      <dc:date>2024-06-07T16:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to set in Inventor so that the dimension appears underline when there is a break</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/how-to-set-in-inventor-so-that-the-dimension-appears-underline/m-p/12826170#M18798</link>
      <description>&lt;P&gt;Hi! The behavior is indeed a bit confusing. However, the dimension text is driven by the text style referenced by the given dimension style. By default, it is the Note Text style. You may enable the underline in the style. Then the dimension value text will be underlined.&lt;/P&gt;
&lt;P&gt;Many thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2024 18:47:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/how-to-set-in-inventor-so-that-the-dimension-appears-underline/m-p/12826170#M18798</guid>
      <dc:creator>johnsonshiue</dc:creator>
      <dc:date>2024-06-07T18:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to set in Inventor so that the dimension appears underline when there is a break</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/how-to-set-in-inventor-so-that-the-dimension-appears-underline/m-p/12829522#M18799</link>
      <description>&lt;P&gt;You can also solve it automatically, using the measure and "underline" trick with the following iLogic macro:&lt;/P&gt;
&lt;LI-CODE lang="visual-basic"&gt;'Underline "broken" dimensions - a tip from www.cadforum.cz
Sub Main()
  Dim oDoc As DrawingDocument
  oDoc = ThisApplication.ActiveDocument
  Dim oSheet As Sheet
  oSheet = oDoc.ActiveSheet
  Dim Scl As Double ' View Scale
    
  Dim oDim As DrawingDimension
  For Each oDim In oSheet.DrawingDimensions
	Dim oView As DrawingView
	Select Case oDim.Type
	Case ObjectTypeEnum.kLinearGeneralDimensionObject, ObjectTypeEnum.kAngularGeneralDimensionObject
		 oView = oDim.IntentOne.Geometry.Parent
	Case ObjectTypeEnum.kRadiusGeneralDimensionObject, ObjectTypeEnum.kDiameterGeneralDimensionObject
		 oView = oDim.Intent.Geometry.Parent
	End Select
		
	Scl = oView.Scale
    Dim d As Double
    d = dist(oDim.DimensionLine.StartPoint.Y, oDim.DimensionLine.StartPoint.X, _
			 oDim.DimensionLine.EndPoint.Y, oDim.DimensionLine.EndPoint.X)
    d = d / Scl
    If Math.Round(d,4) &amp;lt;&amp;gt; Math.Round(oDim.ModelValue,4) Then ' equal?
      'oDoc.SelectSet.Select(oDim)
	  If Not oDim.Text.FormattedText.Contains("&amp;lt;br/&amp;gt; \U+0305") Then 'was: &amp;lt;StyleOverride Underline='True'&amp;gt;
         'oDim.Text.FormattedText = "&amp;lt;StyleOverride Underline='True'&amp;gt; &amp;lt;DimensionValue/&amp;gt; &amp;lt;/StyleOverride&amp;gt;"
         oDim.Text.FormattedText = "&amp;lt;DimensionValue/&amp;gt;&amp;lt;br/&amp;gt; \U+0305 \U+0305 \U+0305 \U+0305 \U+0305 \U+0305 \U+0305 \U+0305 "
      End If
    End If
        
  Next
End Sub

Function dist(y1 As Double, x1 As Double, y2 As Double, x2 As Double)
  dist = Sqrt((y1 - y2) ^ 2 + (x1 - x2) ^ 2)
End Function&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Vladimir Michl, &lt;A href="http://www.arkance-systems.cz" target="_blank"&gt;www.arkance-systems.cz&lt;/A&gt;&amp;nbsp; -&amp;nbsp; &lt;A href="http://www.cadforum.cz" target="_blank"&gt;www.cadforum.cz&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 11:12:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/how-to-set-in-inventor-so-that-the-dimension-appears-underline/m-p/12829522#M18799</guid>
      <dc:creator>vladimir_michl</dc:creator>
      <dc:date>2024-06-10T11:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to set in Inventor so that the dimension appears underline when there is a break</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/how-to-set-in-inventor-so-that-the-dimension-appears-underline/m-p/12829609#M18800</link>
      <description>&lt;P&gt;Unbelievable. That's very interesting. Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 11:58:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/how-to-set-in-inventor-so-that-the-dimension-appears-underline/m-p/12829609#M18800</guid>
      <dc:creator>dusan.naus.trz</dc:creator>
      <dc:date>2024-06-10T11:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to set in Inventor so that the dimension appears underline when there is a break</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/how-to-set-in-inventor-so-that-the-dimension-appears-underline/m-p/12829819#M18801</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/9248770"&gt;@CGBenner&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/486618"&gt;@johnsonshiue&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After reading the current standard ISO 129-1, THE UNDERLINED DIMENSIONS ARE NOT INDICATED ANYWHERE after using Break in the view.&lt;BR /&gt;We do not require this functionality. It was a unique case with a customer. We won't use it anymore. The existing functionality contained in Inventor is correct.&lt;BR /&gt;The ČSN EN ISO 5456 - 2 standard only talks about the projection of component views. The information that was on the website is not listed anywhere.&lt;BR /&gt;Recommend discussion: If someone wants this functionality, let them supply additional documents.&lt;BR /&gt;I'm in favor of scrapping this idea and we won't be using it in future drawings.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 13:18:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/how-to-set-in-inventor-so-that-the-dimension-appears-underline/m-p/12829819#M18801</guid>
      <dc:creator>dusan.naus.trz</dc:creator>
      <dc:date>2024-06-10T13:18:14Z</dc:date>
    </item>
  </channel>
</rss>

