<?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 change the Drawing Parts-list Level. in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-change-the-drawing-parts-list-level/m-p/11985845#M153027</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/473476"&gt;@bradeneuropeArthur&lt;/a&gt;.&amp;nbsp; I don't recall if I have tried doing that by code before, but I think it might be possible, with a lot of digging.&amp;nbsp; I believe you have to climb the 'Parent' ladder up to the assembly &lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=GUID-BOM" target="_blank" rel="noopener"&gt;BOM&lt;/A&gt; object itself, then I would think that you could change the value of its &lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=BOM_StructuredViewFirstLevelOnly" target="_blank" rel="noopener"&gt;StructuredViewFirstLevelOnly&lt;/A&gt;&amp;nbsp;property, if your PartsList was based on the Structured BOMView.&amp;nbsp; I highly doubt you would be able to switch from Structured to Parts Only, or something like that though, without having to delete it then recreate it specifying that other 'Level'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To get from the PartsList object to the assembly BOM, you could have to start from a &lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=GUID-PartsListRow" target="_blank" rel="noopener"&gt;PartsListRow&lt;/A&gt; object.&amp;nbsp; Then use its &lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=PartsListRow_ReferencedRows" target="_blank" rel="noopener"&gt;ReferencedRows&lt;/A&gt; property (returns &lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=ObjectsEnumerator" target="_blank" rel="noopener"&gt;ObjectsEnumerator&lt;/A&gt;) to get a reference to the &lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=GUID-DrawingBOMRow" target="_blank" rel="noopener"&gt;DrawingBOMRow&lt;/A&gt; object that it represents (Item(1) in the ReferencedRows).&amp;nbsp; The &lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=GUID-DrawingBOM" target="_blank" rel="noopener"&gt;DrawingBOM&lt;/A&gt; also has the '&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=DrawingBOM_Level" target="_blank" rel="noopener"&gt;Level&lt;/A&gt;' property, but it is still ReadOnly, so we have to go further up.&amp;nbsp; Then use the &lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=DrawingBOMRow_BOMRow" target="_blank" rel="noopener"&gt;DrawingBOMRow.BOMRow&lt;/A&gt; property to a reference to that BOMRow object.&amp;nbsp; Then use its &lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=BOMRow_Parent" target="_blank" rel="noopener"&gt;Parent&lt;/A&gt; property would get us a reference to the &lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=GUID-BOMView" target="_blank" rel="noopener"&gt;BOMView&lt;/A&gt; object.&amp;nbsp; You may or may not need to check its BOMView.ViewType to see which type you are dealing with at this point, but you can not change its level from there.&amp;nbsp; Then use the &lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=BOMView_Parent" target="_blank" rel="noopener"&gt;BOMRow.Parent&lt;/A&gt; property to finally get the &lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=GUID-BOM" target="_blank" rel="noopener"&gt;BOM&lt;/A&gt; object.&amp;nbsp; Then, as mentioned before, if its referencing the Structured view, you may be able to switch its level by changing the value of the BOM.StructuredViewFirstLevelOnly property.&amp;nbsp; Just a thought path for now.&lt;/P&gt;</description>
    <pubDate>Wed, 24 May 2023 13:22:51 GMT</pubDate>
    <dc:creator>WCrihfield</dc:creator>
    <dc:date>2023-05-24T13:22:51Z</dc:date>
    <item>
      <title>How to change the Drawing Parts-list Level.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-change-the-drawing-parts-list-level/m-p/11985241#M153015</link>
      <description>&lt;P&gt;How can/do I change the Partslist level of an existing Partslist from on level to another without removing it form the drawing.&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="bradeneuropeArthur_0-1684923759189.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1218555i52123C66C38CCCE4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bradeneuropeArthur_0-1684923759189.png" alt="bradeneuropeArthur_0-1684923759189.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Regard,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 10:23:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-change-the-drawing-parts-list-level/m-p/11985241#M153015</guid>
      <dc:creator>bradeneuropeArthur</dc:creator>
      <dc:date>2023-05-24T10:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the Drawing Parts-list Level.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-change-the-drawing-parts-list-level/m-p/11985845#M153027</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/473476"&gt;@bradeneuropeArthur&lt;/a&gt;.&amp;nbsp; I don't recall if I have tried doing that by code before, but I think it might be possible, with a lot of digging.&amp;nbsp; I believe you have to climb the 'Parent' ladder up to the assembly &lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=GUID-BOM" target="_blank" rel="noopener"&gt;BOM&lt;/A&gt; object itself, then I would think that you could change the value of its &lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=BOM_StructuredViewFirstLevelOnly" target="_blank" rel="noopener"&gt;StructuredViewFirstLevelOnly&lt;/A&gt;&amp;nbsp;property, if your PartsList was based on the Structured BOMView.&amp;nbsp; I highly doubt you would be able to switch from Structured to Parts Only, or something like that though, without having to delete it then recreate it specifying that other 'Level'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To get from the PartsList object to the assembly BOM, you could have to start from a &lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=GUID-PartsListRow" target="_blank" rel="noopener"&gt;PartsListRow&lt;/A&gt; object.&amp;nbsp; Then use its &lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=PartsListRow_ReferencedRows" target="_blank" rel="noopener"&gt;ReferencedRows&lt;/A&gt; property (returns &lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=ObjectsEnumerator" target="_blank" rel="noopener"&gt;ObjectsEnumerator&lt;/A&gt;) to get a reference to the &lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=GUID-DrawingBOMRow" target="_blank" rel="noopener"&gt;DrawingBOMRow&lt;/A&gt; object that it represents (Item(1) in the ReferencedRows).&amp;nbsp; The &lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=GUID-DrawingBOM" target="_blank" rel="noopener"&gt;DrawingBOM&lt;/A&gt; also has the '&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=DrawingBOM_Level" target="_blank" rel="noopener"&gt;Level&lt;/A&gt;' property, but it is still ReadOnly, so we have to go further up.&amp;nbsp; Then use the &lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=DrawingBOMRow_BOMRow" target="_blank" rel="noopener"&gt;DrawingBOMRow.BOMRow&lt;/A&gt; property to a reference to that BOMRow object.&amp;nbsp; Then use its &lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=BOMRow_Parent" target="_blank" rel="noopener"&gt;Parent&lt;/A&gt; property would get us a reference to the &lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=GUID-BOMView" target="_blank" rel="noopener"&gt;BOMView&lt;/A&gt; object.&amp;nbsp; You may or may not need to check its BOMView.ViewType to see which type you are dealing with at this point, but you can not change its level from there.&amp;nbsp; Then use the &lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=BOMView_Parent" target="_blank" rel="noopener"&gt;BOMRow.Parent&lt;/A&gt; property to finally get the &lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=GUID-BOM" target="_blank" rel="noopener"&gt;BOM&lt;/A&gt; object.&amp;nbsp; Then, as mentioned before, if its referencing the Structured view, you may be able to switch its level by changing the value of the BOM.StructuredViewFirstLevelOnly property.&amp;nbsp; Just a thought path for now.&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 13:22:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-change-the-drawing-parts-list-level/m-p/11985845#M153027</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2023-05-24T13:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the Drawing Parts-list Level.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-change-the-drawing-parts-list-level/m-p/11986177#M153035</link>
      <description>&lt;P&gt;I see what you mean.&lt;/P&gt;
&lt;P&gt;I will have that a go.&lt;/P&gt;
&lt;P&gt;Thanks for the idea...&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 14:53:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-change-the-drawing-parts-list-level/m-p/11986177#M153035</guid>
      <dc:creator>bradeneuropeArthur</dc:creator>
      <dc:date>2023-05-24T14:53:38Z</dc:date>
    </item>
  </channel>
</rss>

