<?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: mass props to 1dp ( 0.1kg) in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/mass-props-to-1dp-0-1kg/m-p/12204026#M156992</link>
    <description>&lt;P&gt;Andrii&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you that works as&amp;nbsp; required&amp;nbsp;&lt;/P&gt;&lt;P&gt;I owe you a drink sir&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Keith&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Aug 2023 12:49:01 GMT</pubDate>
    <dc:creator>keithc03GZXH6</dc:creator>
    <dc:date>2023-08-29T12:49:01Z</dc:date>
    <item>
      <title>mass props to 1dp ( 0.1kg)</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/mass-props-to-1dp-0-1kg/m-p/12203899#M156988</link>
      <description>&lt;P&gt;I require the mass props to be reported on the parts list to 1dp ,&lt;/P&gt;&lt;P&gt;I know that I need to update the Document settings / units / linear dim display precision in order to do this&amp;nbsp;&lt;/P&gt;&lt;P&gt;can anyone assist in the code required to perform this update on all parts in an assembly&amp;nbsp;&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="keithc03GZXH6_0-1693310137535.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1259411i01559FA5016BB6F4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="keithc03GZXH6_0-1693310137535.png" alt="keithc03GZXH6_0-1693310137535.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 11:55:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/mass-props-to-1dp-0-1kg/m-p/12203899#M156988</guid>
      <dc:creator>keithc03GZXH6</dc:creator>
      <dc:date>2023-08-29T11:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: mass props to 1dp ( 0.1kg)</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/mass-props-to-1dp-0-1kg/m-p/12203931#M156991</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6880889"&gt;@keithc03GZXH6&lt;/a&gt;&amp;nbsp;.&amp;nbsp;Please try this code:&lt;/P&gt;&lt;LI-CODE lang="visual-basic"&gt;Sub main
	Dim oDoc As Document = ThisDoc.Document
	If TypeOf oDoc Is AssemblyDocument Then
		For Each oRefDoc As Document In oDoc.AllReferencedDocuments
			If Not oRefDoc.IsModifiable Then Continue For
			ChengeLengthDisplayPrecision(oRefDoc.UnitsOfMeasure, 1)
		Next
	Else If TypeOf oDoc Is PartDocument Then
		Dim oPartDoc As Document = oDoc
		If Not oPartDoc.IsModifiable Then Exit Sub
		ChengeLengthDisplayPrecision(oPartDoc.UnitsOfMeasure, 1)
	End If
End Sub

Private Function ChengeLengthDisplayPrecision(ByVal oUOfM As UnitsOfMeasure,
												ByVal i As Integer)
	oUOfM.LengthDisplayPrecision = i
End Function&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 12:12:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/mass-props-to-1dp-0-1kg/m-p/12203931#M156991</guid>
      <dc:creator>Andrii_Humeniuk</dc:creator>
      <dc:date>2023-08-29T12:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: mass props to 1dp ( 0.1kg)</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/mass-props-to-1dp-0-1kg/m-p/12204026#M156992</link>
      <description>&lt;P&gt;Andrii&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you that works as&amp;nbsp; required&amp;nbsp;&lt;/P&gt;&lt;P&gt;I owe you a drink sir&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Keith&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 12:49:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/mass-props-to-1dp-0-1kg/m-p/12204026#M156992</guid>
      <dc:creator>keithc03GZXH6</dc:creator>
      <dc:date>2023-08-29T12:49:01Z</dc:date>
    </item>
  </channel>
</rss>

