<?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 iLogic assembly export (iProperty) help in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-assembly-export-iproperty-help/m-p/13740697#M176294</link>
    <description>&lt;P&gt;I have an assembly, and I want to use iLogic to collect data from all subassemblies:&lt;/P&gt;&lt;P&gt;Project &amp;gt; Description (iProperty)&lt;/P&gt;&lt;P&gt;Physical &amp;gt; Mass&lt;/P&gt;&lt;P&gt;and export these values into an Excel file.&lt;/P&gt;&lt;P&gt;I’ve tried several different methods, but none of them have given me correct results so far.&lt;/P&gt;&lt;P&gt;Could someone guide me on how to achieve this?&lt;/P&gt;</description>
    <pubDate>Fri, 25 Jul 2025 23:11:02 GMT</pubDate>
    <dc:creator>k.grigoriou</dc:creator>
    <dc:date>2025-07-25T23:11:02Z</dc:date>
    <item>
      <title>iLogic assembly export (iProperty) help</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-assembly-export-iproperty-help/m-p/13740697#M176294</link>
      <description>&lt;P&gt;I have an assembly, and I want to use iLogic to collect data from all subassemblies:&lt;/P&gt;&lt;P&gt;Project &amp;gt; Description (iProperty)&lt;/P&gt;&lt;P&gt;Physical &amp;gt; Mass&lt;/P&gt;&lt;P&gt;and export these values into an Excel file.&lt;/P&gt;&lt;P&gt;I’ve tried several different methods, but none of them have given me correct results so far.&lt;/P&gt;&lt;P&gt;Could someone guide me on how to achieve this?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2025 23:11:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-assembly-export-iproperty-help/m-p/13740697#M176294</guid>
      <dc:creator>k.grigoriou</dc:creator>
      <dc:date>2025-07-25T23:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic assembly export (iProperty) help</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-assembly-export-iproperty-help/m-p/13741088#M176296</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/11423125"&gt;@k.grigoriou&lt;/a&gt;&amp;nbsp;.&amp;nbsp;The following iLogic code creates an Excel file with the assembly name in the same folder. Column A records the Description properties of all subassemblies, and column B records the masses of all subassemblies.&lt;/P&gt;
&lt;LI-CODE lang="visual"&gt;Imports Microsoft.Office.Interop
AddReference "Microsoft.Office.Interop.Excel.dll"
Public Sub Main()
	Dim oInvApp As Inventor.Application = ThisApplication
	Dim oADoc As AssemblyDocument = TryCast(oInvApp.ActiveDocument, AssemblyDocument)
	If oADoc Is Nothing Then Exit Sub
	Dim oOccs As ComponentOccurrences = oADoc.ComponentDefinition.Occurrences	
	Dim oADocs As IEnumerable(Of AssemblyDocument) =
				 From oRefDoc In oADoc.AllReferencedDocuments.OfType(Of AssemblyDocument)
				 Where (oOccs.AllReferencedOccurrences(oRefDoc).Count &amp;lt;&amp;gt; 0)
	If oADocs.Count = 0 Then Exit Sub
	Dim sPathExcel As String = oADoc.FullFileName.Replace(".iam", ".xlsx")
		
	Dim oExcel As New Microsoft.Office.Interop.Excel.ApplicationClass
	oExcel.DisplayAlerts = False
	oExcel.Visible = True
	
	Dim oWB As Excel.Workbook = oExcel.Workbooks.Add()
	Dim oWS As Excel.Worksheet = oWB.Worksheets(1)
	
	For i As Integer = 0 To oADocs.Count - 1
		Dim iRow As Integer = i + 1
		Dim oRefDoc As AssemblyDocument = oADocs(i)
		oWS.Range("A" &amp;amp; iRow).Value = oRefDoc.PropertySets("Design Tracking Properties")("Description").Value &amp;amp; ""
		oWS.Range("B" &amp;amp; iRow).Value = oRefDoc.ComponentDefinition.MassProperties.Mass
	Next

	oWB.SaveAs(sPathExcel)
	oWS = Nothing
	oWB = Nothing
	oExcel = Nothing
End Sub&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 26 Jul 2025 12:58:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-assembly-export-iproperty-help/m-p/13741088#M176296</guid>
      <dc:creator>Andrii_Humeniuk</dc:creator>
      <dc:date>2025-07-26T12:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic assembly export (iProperty) help</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-assembly-export-iproperty-help/m-p/13741886#M176300</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/13518190"&gt;@Andrii_Humeniuk&lt;/a&gt;&amp;nbsp;Thank you very much, that was exactly what I wanted&amp;nbsp;to&amp;nbsp;do.&lt;/P&gt;</description>
      <pubDate>Sun, 27 Jul 2025 19:49:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-assembly-export-iproperty-help/m-p/13741886#M176300</guid>
      <dc:creator>k.grigoriou</dc:creator>
      <dc:date>2025-07-27T19:49:27Z</dc:date>
    </item>
  </channel>
</rss>

