<?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: Changing Measure Precision in Inventor Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-forum/changing-measure-precision/m-p/7889064#M324818</link>
    <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2186258"&gt;@admaiora&lt;/a&gt;&amp;nbsp; Your solution with template would solve the default precision when creating new dimensions but it would not affect the default precision when MEASURING , right? Unless I completely misunderstood.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;Bob&lt;/P&gt;</description>
    <pubDate>Tue, 27 Mar 2018 21:18:50 GMT</pubDate>
    <dc:creator>bobvdd</dc:creator>
    <dc:date>2018-03-27T21:18:50Z</dc:date>
    <item>
      <title>Changing Measure Precision</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/changing-measure-precision/m-p/6335964#M324813</link>
      <description>&lt;P&gt;Is there a way to change the default measure precision to a 4-place decimal? We get better results when mating parts to each other.&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2016 21:18:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/changing-measure-precision/m-p/6335964#M324813</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-18T21:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Measure Precision</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/changing-measure-precision/m-p/6336016#M324814</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Go to Tools&amp;gt;Documents Settings&amp;gt;Units tab and set the display precision.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also set the precision "on the fly" in the measure command. Start the Measure command, click the arrow and select Precision from the flyout. This setting is forgotten when you exit, but persists for the current session.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Paul&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2016 21:34:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/changing-measure-precision/m-p/6336016#M324814</guid>
      <dc:creator>Paul.Normand</dc:creator>
      <dc:date>2016-05-18T21:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Measure Precision</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/changing-measure-precision/m-p/6336149#M324815</link>
      <description>&lt;P&gt;If you want a 4 digit precision as default and want to avoid setting the precision value for every new session, I suggest you add following small macros as button in the ribbon. To add a macro in the ribbon, use the Customize menu from Tools &amp;gt; Options &amp;gt; customize.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will first have to&amp;nbsp;create a class file in the VBA editor with name &lt;STRONG&gt;ClsMeasure&lt;/STRONG&gt; and with following contents.&lt;/P&gt;
&lt;P&gt;If you need a different precision, simply change the line &lt;STRONG&gt;precision = 4&lt;/STRONG&gt; to a different value&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;'*************************************************************
' The declarations and functions below need to be copied into
' a class module whose name is "clsMeasure". The name can be
' changed but you'll need to change the declaration in the
' calling function "InteractiveMeasureDistance" and
' "InteractiveMeasureAngle" to use the new name.

' Declare the event objects
Private WithEvents oInteractEvents As InteractionEvents
Private WithEvents oMeasureEvents As MeasureEvents

' Declare a flag that's used to determine when measuring stops.
Private bStillMeasuring As Boolean
Private eMeasureType As MeasureTypeEnum

Public Sub Measure(MeasureType As MeasureTypeEnum)
   
    eMeasureType = MeasureType
  
    ' Initialize flag.
    bStillMeasuring = True

    ' Create an InteractionEvents object.
    Set oInteractEvents = ThisApplication.CommandManager.CreateInteractionEvents

    ' Set a reference to the measure events.
    Set oMeasureEvents = oInteractEvents.MeasureEvents
    oMeasureEvents.Enabled = True
    
    ' Start the InteractionEvents object.
    oInteractEvents.Start
    
    ' Start measure tool
    If eMeasureType = kDistanceMeasure Then
        oMeasureEvents.Measure kDistanceMeasure
    Else
        oMeasureEvents.Measure kAngleMeasure
    End If
    
    ' Loop until a selection is made.
    Do While bStillMeasuring
        DoEvents
    Loop

    ' Stop the InteractionEvents object.
    oInteractEvents.Stop

    ' Clean up.
    Set oMeasureEvents = Nothing
    Set oInteractEvents = Nothing
End Sub

Private Sub oInteractEvents_OnTerminate()
    ' Set the flag to indicate we're done.
    bStillMeasuring = False
End Sub

Private Sub oMeasureEvents_OnMeasure(ByVal MeasureType As MeasureTypeEnum, ByVal MeasuredValue As Double, ByVal Context As NameValueMap)
    
    Dim precision As Integer
    &lt;STRONG&gt;precision = 4&lt;/STRONG&gt;
    
    Dim strMeasuredValue As String
    
    If eMeasureType = kDistanceMeasure Then
    
    
      MeasuredValue = ThisApplication.ActiveDocument.UnitsOfMeasure.ConvertUnits(MeasuredValue, kDatabaseLengthUnits, kDefaultDisplayLengthUnits)
      MeasuredValue = Round(MeasuredValue, precision)
      Dim sLengthUnit As String
      sLengthUnit = ThisApplication.ActiveDocument.UnitsOfMeasure.GetStringFromType(ThisApplication.ActiveDocument.UnitsOfMeasure.LengthUnits)
      strmeasurevalue = Str(MeasuredValue) + " " + sLengthUnit
      MsgBox "Distance = " &amp;amp; strmeasurevalue, vbOKOnly, "Measure Distance"
    Else
    
      MeasuredValue = ThisApplication.ActiveDocument.UnitsOfMeasure.ConvertUnits(MeasuredValue, kDatabaseAngleUnits, kDefaultDisplayAngleUnits)
      MeasuredValue = Round(MeasuredValue, precision)
      Dim sAngularUnit As String
      sAngularUnit = ThisApplication.ActiveDocument.UnitsOfMeasure.GetStringFromType(ThisApplication.ActiveDocument.UnitsOfMeasure.AngleUnits)
      strmeasurevalue = Str(MeasuredValue) + " " + sAngularUnit
      MsgBox "Angle = " &amp;amp; strmeasurevalue, vbOKOnly, "Measure Angle"
    End If
    
    ' Set the flag to indicate we're done.
    bStillMeasuring = False
    
End Sub
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then as a final step , you will have to create a new module in the VBA editor with following two macros in it:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Public Sub InteractiveMeasureDistance()
    ' Create a new clsMeasure object.
    Dim oMeasure As New ClsMeasure

    ' Call the Measure method of the clsMeasure object
    Call oMeasure.Measure(kDistanceMeasure)
End Sub


Public Sub InteractiveMeasureAngle()
    ' Create a new clsMeasure object.
    Dim oMeasure As New ClsMeasure

    ' Call the Measure method of the clsMeasure object
    Call oMeasure.Measure(kAngleMeasure)
End Sub&lt;/PRE&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;Bob&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2016 22:14:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/changing-measure-precision/m-p/6336149#M324815</guid>
      <dc:creator>bobvdd</dc:creator>
      <dc:date>2016-05-18T22:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Measure Precision</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/changing-measure-precision/m-p/6336717#M324816</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;Is there a way to change the default measure precision to a 4-place decimal? We get better results when mating parts to each other.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Vote for this idea here:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://forums.autodesk.com/t5/inventor-ideas/measuring-tool-save-precision-level-application-options/idi-p/5512986" target="_blank"&gt;http://forums.autodesk.com/t5/inventor-ideas/measuring-tool-save-precision-level-application-options/idi-p/5512986&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2016 03:31:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/changing-measure-precision/m-p/6336717#M324816</guid>
      <dc:creator>Curtis_W</dc:creator>
      <dc:date>2016-05-19T03:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Measure Precision</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/changing-measure-precision/m-p/6336984#M324817</link>
      <description>&lt;P&gt;You can save it simply as template&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/240789iFFA51F8A8C94B759/image-size/original?v=v2&amp;amp;px=-1" alt="Senza titolo-1.jpg" title="Senza titolo-1.jpg" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/240791iB8AB2626FE3F48BA/image-size/original?v=v2&amp;amp;px=-1" alt="qqqqq.jpg" title="qqqqq.jpg" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/240792iAC925899A419224E/image-size/original?v=v2&amp;amp;px=-1" alt="22.jpg" title="22.jpg" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/240793i8360673091FB5C26/image-size/original?v=v2&amp;amp;px=-1" alt="3333.jpg" title="3333.jpg" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2016 07:47:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/changing-measure-precision/m-p/6336984#M324817</guid>
      <dc:creator>admaiora</dc:creator>
      <dc:date>2016-05-19T07:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Measure Precision</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/changing-measure-precision/m-p/7889064#M324818</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2186258"&gt;@admaiora&lt;/a&gt;&amp;nbsp; Your solution with template would solve the default precision when creating new dimensions but it would not affect the default precision when MEASURING , right? Unless I completely misunderstood.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;Bob&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 21:18:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/changing-measure-precision/m-p/7889064#M324818</guid>
      <dc:creator>bobvdd</dc:creator>
      <dc:date>2018-03-27T21:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Measure Precision</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/changing-measure-precision/m-p/7891105#M324819</link>
      <description>&lt;P&gt;All academic at this point since measurement precision is now saved in files...&lt;BR /&gt; &lt;/P&gt;
&lt;P style="font-size: 11px;"&gt;&lt;STRONG&gt;Sam B&lt;/STRONG&gt;&lt;BR /&gt;Inventor Pro 2018.2.3 | Windows 7 SP1&lt;BR /&gt;&lt;A href="http://www.linkedin.com/in/samuel-bixler-281a0615b" target="_blank"&gt;LinkedIn&lt;BR /&gt;&lt;IMG src="https://0lojpg.bn1301.livefilestore.com/y4mBpjMsxHsiyE90fl7LZ99L9EQYMinMmTq-HRFH9JbCEzkKriwtHkW3fcvHd1Tn83fNmCEOxlu43NSCaM5t5LTUVxzkr2SykXazzjlH6fe8HEZ9J9xESPFwabQTX5LJ7gKPlhZsl0LCsXsW74obCNtIOOvc57pHxbFMWOTgbDVMzABJgwHnVMfJOWjsmiR3b-SgAE5duRw6SWoxUsKOxXgCw?width=220&amp;amp;height=20&amp;amp;cropmode=none" border="0" width="161" height="14" /&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2018 14:35:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/changing-measure-precision/m-p/7891105#M324819</guid>
      <dc:creator>SBix26</dc:creator>
      <dc:date>2018-03-28T14:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Measure Precision</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/changing-measure-precision/m-p/7891271#M324820</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/42901"&gt;@SBix26&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;All academic at this point since measurement precision is now saved in files...&lt;/P&gt;
&lt;P style="font-size: 11px;"&gt;&lt;STRONG&gt;Sam B&lt;/STRONG&gt;&lt;BR /&gt;Inventor Pro 2018.2.3 | Windows 7 SP1&lt;BR /&gt;&lt;A href="http://www.linkedin.com/in/samuel-bixler-281a0615b" target="_blank"&gt;LinkedIn&lt;BR /&gt;&lt;IMG src="https://0lojpg.bn1301.livefilestore.com/y4mBpjMsxHsiyE90fl7LZ99L9EQYMinMmTq-HRFH9JbCEzkKriwtHkW3fcvHd1Tn83fNmCEOxlu43NSCaM5t5LTUVxzkr2SykXazzjlH6fe8HEZ9J9xESPFwabQTX5LJ7gKPlhZsl0LCsXsW74obCNtIOOvc57pHxbFMWOTgbDVMzABJgwHnVMfJOWjsmiR3b-SgAE5duRw6SWoxUsKOxXgCw?width=220&amp;amp;height=20&amp;amp;cropmode=none" border="0" width="161" height="14" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;yeah weird that an Autodesk employee responded to a ~2 year old post like that..&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2018 15:11:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/changing-measure-precision/m-p/7891271#M324820</guid>
      <dc:creator>mcgyvr</dc:creator>
      <dc:date>2018-03-28T15:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Measure Precision</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/changing-measure-precision/m-p/7891492#M324821</link>
      <description>&lt;P&gt;Nobody's perfect &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Bob&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2018 16:10:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/changing-measure-precision/m-p/7891492#M324821</guid>
      <dc:creator>bobvdd</dc:creator>
      <dc:date>2018-03-28T16:10:53Z</dc:date>
    </item>
  </channel>
</rss>

