<?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: Add Custom iproperty columns with ilogic ? in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/add-custom-iproperty-columns-with-ilogic/m-p/12517563#M14347</link>
    <description>&lt;P&gt;Example of exporting settings:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="visual-basic"&gt;Dim oDoc As Document = ThisDoc.Document
If oDoc.DocumentType &amp;lt;&amp;gt; DocumentTypeEnum.kAssemblyDocumentObject Then Exit Sub
Dim oADoc As AssemblyDocument = oDoc
Dim oBOM As BOM = oADoc.ComponentDefinition.BOM
Dim sPathFile As String = "D:\BOM.xml"
oBOM.ExportBOMCustomization(sPathFile)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example of importing settings:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="visual-basic"&gt;Dim oDoc As Document = ThisDoc.Document
If oDoc.DocumentType &amp;lt;&amp;gt; DocumentTypeEnum.kAssemblyDocumentObject Then Exit Sub
Dim oADoc As AssemblyDocument = oDoc
Dim oBOM As BOM = oADoc.ComponentDefinition.BOM
Dim sPathFile As String = "D:\BOM.xml"
oBOM.ImportBOMCustomization(sPathFile)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Line 5 is the path to the .xml file.&lt;/P&gt;
&lt;P&gt;If you need to update the BOM table in sub-assemblies, you can use the For each statement, here is an example:&lt;/P&gt;
&lt;LI-CODE lang="visual-basic"&gt;Dim oDoc As Document = ThisDoc.Document
If oDoc.DocumentType &amp;lt;&amp;gt; DocumentTypeEnum.kAssemblyDocumentObject Then Exit Sub
Dim oADoc As AssemblyDocument = oDoc
Dim sPathFile As String = "D:\BOM.xml"
For Each oRefDoc As Document In oADoc.AllReferencedDocuments
	If oRefDoc.DocumentType &amp;lt;&amp;gt; DocumentTypeEnum.kAssemblyDocumentObject Then Continue For
	If Not oRefDoc.IsModifiable Then Continue For
	Dim oBOM As BOM = oRefDoc.ComponentDefinition.BOM
	Try : oBOM.ImportBOMCustomization(sPathFile) : Catch : End Try
Next&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jan 2024 11:49:38 GMT</pubDate>
    <dc:creator>Andrii_Humeniuk</dc:creator>
    <dc:date>2024-01-24T11:49:38Z</dc:date>
    <item>
      <title>Add Custom iproperty columns with ilogic ?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/add-custom-iproperty-columns-with-ilogic/m-p/12517378#M14343</link>
      <description>&lt;P&gt;is there a way to add&amp;nbsp; Custom iProperty columns&amp;nbsp; with Ilogic ? If not is that a good way to update all our old files to a news standard setup ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Darkforce_the_ilogic_guy_0-1706089473503.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1317742i2330B474F5091946/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Darkforce_the_ilogic_guy_0-1706089473503.png" alt="Darkforce_the_ilogic_guy_0-1706089473503.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sdf&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 09:47:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/add-custom-iproperty-columns-with-ilogic/m-p/12517378#M14343</guid>
      <dc:creator>Darkforce_the_ilogic_guy</dc:creator>
      <dc:date>2024-01-24T09:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Add Custom iproperty columns with ilogic ?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/add-custom-iproperty-columns-with-ilogic/m-p/12517444#M14344</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5708980"&gt;@Darkforce_the_ilogic_guy&lt;/a&gt;&amp;nbsp;.With the &lt;A title="help.autodesk.com" href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=BOM_ExportBOMCustomization" target="_blank" rel="noopener"&gt;ExportBOMCustomization&lt;/A&gt; and &lt;A title="help.autodesk.com" href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=BOM_ImportBOMCustomization" target="_blank" rel="noopener"&gt;ImportBOMCustomization&lt;/A&gt; methods, you can first save your BOM table settings to an XML file and then import those settings to all your assemblies.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 10:26:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/add-custom-iproperty-columns-with-ilogic/m-p/12517444#M14344</guid>
      <dc:creator>Andrii_Humeniuk</dc:creator>
      <dc:date>2024-01-24T10:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: Add Custom iproperty columns with ilogic ?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/add-custom-iproperty-columns-with-ilogic/m-p/12517518#M14345</link>
      <description>&lt;P&gt;how would i do that with ilogic ?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 11:16:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/add-custom-iproperty-columns-with-ilogic/m-p/12517518#M14345</guid>
      <dc:creator>Darkforce_the_ilogic_guy</dc:creator>
      <dc:date>2024-01-24T11:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Add Custom iproperty columns with ilogic ?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/add-custom-iproperty-columns-with-ilogic/m-p/12517538#M14346</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;At the beginning, it is necessary to remember to manually edit the table and then export it to a specific location.&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-01-24_12h34_51.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1317775i4AB95630442C175F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2024-01-24_12h34_51.png" alt="2024-01-24_12h34_51.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oDoc&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Document&lt;/SPAN&gt;
&lt;SPAN&gt;oDoc&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;ActiveDocument&lt;/SPAN&gt;

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oBom&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;BOM&lt;/SPAN&gt;
&lt;SPAN&gt;oBom&lt;/SPAN&gt; = &lt;SPAN&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN&gt;BOM&lt;/SPAN&gt;

&lt;SPAN&gt;oBom&lt;/SPAN&gt;.&lt;SPAN&gt;ImportBOMCustomization&lt;/SPAN&gt;(&lt;SPAN&gt;"Your .xml BOM customization path"&lt;/SPAN&gt;) &lt;SPAN&gt;' C:\Users\YOU\Desktop\BOMcustomization.xml&lt;/SPAN&gt;

&lt;SPAN&gt;InventorVb&lt;/SPAN&gt;.&lt;SPAN&gt;DocumentUpdate&lt;/SPAN&gt;()

&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 11:33:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/add-custom-iproperty-columns-with-ilogic/m-p/12517538#M14346</guid>
      <dc:creator>m_baczewski</dc:creator>
      <dc:date>2024-01-24T11:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Add Custom iproperty columns with ilogic ?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/add-custom-iproperty-columns-with-ilogic/m-p/12517563#M14347</link>
      <description>&lt;P&gt;Example of exporting settings:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="visual-basic"&gt;Dim oDoc As Document = ThisDoc.Document
If oDoc.DocumentType &amp;lt;&amp;gt; DocumentTypeEnum.kAssemblyDocumentObject Then Exit Sub
Dim oADoc As AssemblyDocument = oDoc
Dim oBOM As BOM = oADoc.ComponentDefinition.BOM
Dim sPathFile As String = "D:\BOM.xml"
oBOM.ExportBOMCustomization(sPathFile)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example of importing settings:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="visual-basic"&gt;Dim oDoc As Document = ThisDoc.Document
If oDoc.DocumentType &amp;lt;&amp;gt; DocumentTypeEnum.kAssemblyDocumentObject Then Exit Sub
Dim oADoc As AssemblyDocument = oDoc
Dim oBOM As BOM = oADoc.ComponentDefinition.BOM
Dim sPathFile As String = "D:\BOM.xml"
oBOM.ImportBOMCustomization(sPathFile)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Line 5 is the path to the .xml file.&lt;/P&gt;
&lt;P&gt;If you need to update the BOM table in sub-assemblies, you can use the For each statement, here is an example:&lt;/P&gt;
&lt;LI-CODE lang="visual-basic"&gt;Dim oDoc As Document = ThisDoc.Document
If oDoc.DocumentType &amp;lt;&amp;gt; DocumentTypeEnum.kAssemblyDocumentObject Then Exit Sub
Dim oADoc As AssemblyDocument = oDoc
Dim sPathFile As String = "D:\BOM.xml"
For Each oRefDoc As Document In oADoc.AllReferencedDocuments
	If oRefDoc.DocumentType &amp;lt;&amp;gt; DocumentTypeEnum.kAssemblyDocumentObject Then Continue For
	If Not oRefDoc.IsModifiable Then Continue For
	Dim oBOM As BOM = oRefDoc.ComponentDefinition.BOM
	Try : oBOM.ImportBOMCustomization(sPathFile) : Catch : End Try
Next&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 11:49:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/add-custom-iproperty-columns-with-ilogic/m-p/12517563#M14347</guid>
      <dc:creator>Andrii_Humeniuk</dc:creator>
      <dc:date>2024-01-24T11:49:38Z</dc:date>
    </item>
  </channel>
</rss>

