<?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: Position partslist Ilogic in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/position-partslist-ilogic/m-p/11305788#M140384</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/473476"&gt;@bradeneuropeArthur&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Attached you will find the drawing&lt;/P&gt;</description>
    <pubDate>Tue, 19 Jul 2022 09:08:31 GMT</pubDate>
    <dc:creator>koenroovers</dc:creator>
    <dc:date>2022-07-19T09:08:31Z</dc:date>
    <item>
      <title>Position partslist Ilogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/position-partslist-ilogic/m-p/11305712#M140380</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have searched the forum for this solution but i can't seem to find the exact solution.&lt;/P&gt;&lt;P&gt;I have a Ilogic to auto place a predefined style partlist on my drawing. It also reorders the partlist according to my preferences.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is that i can't get the position correct. I want it to be on the position of the blue point.&lt;/P&gt;&lt;P&gt;I've tried the offset possibility. But my problem was that if i place a different assembly with a different partlist the offset position changes. So no fixed value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can somebody please help me correct my Ilogic Code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Koen Roovers&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="koenroovers_0-1658219035332.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1093151iF526016AFD6D667F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="koenroovers_0-1658219035332.png" alt="koenroovers_0-1658219035332.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;iLogicVb&lt;/SPAN&gt;.&lt;SPAN&gt;UpdateWhenDone&lt;/SPAN&gt; = &lt;SPAN&gt;True&lt;/SPAN&gt;   

&lt;SPAN&gt;' Set a reference to the drawing document.    &lt;/SPAN&gt;
&lt;SPAN&gt;' This assumes a drawing document is active.    &lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oDrawDoc&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;DrawingDocument&lt;/SPAN&gt;
&lt;SPAN&gt;oDrawDoc&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;ActiveDocument&lt;/SPAN&gt;

&lt;SPAN&gt;'Set a reference to the active sheet.    &lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oSheet&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Sheet&lt;/SPAN&gt;
&lt;SPAN&gt;oSheet&lt;/SPAN&gt; = &lt;SPAN&gt;oDrawDoc&lt;/SPAN&gt;.&lt;SPAN&gt;ActiveSheet&lt;/SPAN&gt;	

&lt;SPAN&gt;' Set a reference to the first drawing view on    &lt;/SPAN&gt;
&lt;SPAN&gt;' the sheet. This assumes the first drawing    &lt;/SPAN&gt;
&lt;SPAN&gt;' view on the sheet is not a draft view.    &lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oDrawingView&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;DrawingView&lt;/SPAN&gt;

&lt;SPAN&gt;Try&lt;/SPAN&gt;
	&lt;SPAN&gt;oDrawingView&lt;/SPAN&gt; = &lt;SPAN&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN&gt;DrawingViews&lt;/SPAN&gt;(1)
&lt;SPAN&gt;Catch&lt;/SPAN&gt;
	&lt;SPAN&gt;MessageBox&lt;/SPAN&gt;.&lt;SPAN&gt;Show&lt;/SPAN&gt;(&lt;SPAN&gt;"No View found. Can not continue"&lt;/SPAN&gt;, &lt;SPAN&gt;"iLogic"&lt;/SPAN&gt;)
	&lt;SPAN&gt;Return&lt;/SPAN&gt;
&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;Try&lt;/SPAN&gt;

&lt;SPAN&gt;' Set a reference to th sheet's border    &lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oBorder&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Border&lt;/SPAN&gt;
&lt;SPAN&gt;oBorder&lt;/SPAN&gt; = &lt;SPAN&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN&gt;Border&lt;/SPAN&gt;

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oPlacePoint&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Point2d&lt;/SPAN&gt;

&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;Not&lt;/SPAN&gt; &lt;SPAN&gt;oBorder&lt;/SPAN&gt; &lt;SPAN&gt;Is&lt;/SPAN&gt; &lt;SPAN&gt;Nothing&lt;/SPAN&gt; &lt;SPAN&gt;Then&lt;/SPAN&gt;
    &lt;SPAN&gt;' A border exists. The placement point    &lt;/SPAN&gt;
	&lt;SPAN&gt;oX&lt;/SPAN&gt; = &lt;SPAN&gt;oBorder&lt;/SPAN&gt;.&lt;SPAN&gt;RangeBox&lt;/SPAN&gt;.&lt;SPAN&gt;MaxPoint&lt;/SPAN&gt;.&lt;SPAN&gt;X&lt;/SPAN&gt; 
	&lt;SPAN&gt;oY&lt;/SPAN&gt; = &lt;SPAN&gt;oBorder&lt;/SPAN&gt;.&lt;SPAN&gt;RangeBox&lt;/SPAN&gt;.&lt;SPAN&gt;MaxPoint&lt;/SPAN&gt;.&lt;SPAN&gt;Y&lt;/SPAN&gt;
	&lt;SPAN&gt;oPlacePoint&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;TransientGeometry&lt;/SPAN&gt;.&lt;SPAN&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN&gt;oX&lt;/SPAN&gt;, &lt;SPAN&gt;oY&lt;/SPAN&gt;)
	
&lt;SPAN&gt;Else&lt;/SPAN&gt;
    &lt;SPAN&gt;' There is no border &lt;/SPAN&gt;
	 
	&lt;SPAN&gt;oPlacementPoint&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;TransientGeometry&lt;/SPAN&gt;.&lt;SPAN&gt;CreatePoint2d&lt;/SPAN&gt;(20, 20)
     
     &lt;SPAN&gt;iLogicVb&lt;/SPAN&gt;.&lt;SPAN&gt;UpdateWhenDone&lt;/SPAN&gt; = &lt;SPAN&gt;True&lt;/SPAN&gt;
&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt;

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oPartslist&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;PartsList&lt;/SPAN&gt;

&lt;SPAN&gt;Try&lt;/SPAN&gt;		
	&lt;SPAN&gt;'look for the first parts list found on the sheet &lt;/SPAN&gt;
	&lt;SPAN&gt;'if succesful finding it, &lt;/SPAN&gt;
	&lt;SPAN&gt;'tell the user,then Do Nothing&lt;/SPAN&gt;
	&lt;SPAN&gt;oPartslist&lt;/SPAN&gt; = &lt;SPAN&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN&gt;PartsLists&lt;/SPAN&gt;(1)
	&lt;SPAN&gt;MessageBox&lt;/SPAN&gt;.&lt;SPAN&gt;Show&lt;/SPAN&gt;(&lt;SPAN&gt;"There is an existing Parts List"&lt;/SPAN&gt;, &lt;SPAN&gt;"iLogic"&lt;/SPAN&gt;)
	
&lt;SPAN&gt;Catch&lt;/SPAN&gt;
	&lt;SPAN&gt;' Create the parts list.  &lt;/SPAN&gt;
	&lt;SPAN&gt;oPartslist&lt;/SPAN&gt; = &lt;SPAN&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN&gt;PartsLists&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;oDrawingView&lt;/SPAN&gt;, &lt;SPAN&gt;oPlacePoint&lt;/SPAN&gt;)
	&lt;SPAN&gt;'set parts list to a specific style&lt;/SPAN&gt;
&lt;SPAN&gt;oPartslist&lt;/SPAN&gt;.&lt;SPAN&gt;Style&lt;/SPAN&gt; = &lt;SPAN&gt;oDrawDoc&lt;/SPAN&gt;.&lt;SPAN&gt;StylesManager&lt;/SPAN&gt;.&lt;SPAN&gt;PartsListStyles&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;"Purchase List (Kieu)"&lt;/SPAN&gt;)

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oPartsList1&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;PartsList&lt;/SPAN&gt;
&lt;SPAN&gt;oPartsList1&lt;/SPAN&gt; = &lt;SPAN&gt;oDrawDoc&lt;/SPAN&gt;.&lt;SPAN&gt;ActiveSheet&lt;/SPAN&gt;.&lt;SPAN&gt;PartsLists&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(1)
&lt;SPAN&gt;oPartsList1&lt;/SPAN&gt;.&lt;SPAN&gt;Sort&lt;/SPAN&gt;(&lt;SPAN&gt;"Opmerkingen"&lt;/SPAN&gt;, 1, &lt;SPAN&gt;"Kodenummer"&lt;/SPAN&gt;, 1)
&lt;SPAN&gt;oPartsList1&lt;/SPAN&gt;.&lt;SPAN&gt;Renumber&lt;/SPAN&gt;
	
&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;Try&lt;/SPAN&gt;

&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 08:25:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/position-partslist-ilogic/m-p/11305712#M140380</guid>
      <dc:creator>koenroovers</dc:creator>
      <dc:date>2022-07-19T08:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Position partslist Ilogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/position-partslist-ilogic/m-p/11305780#M140383</link>
      <description>&lt;P&gt;Can you please upload the drawing file?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 09:03:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/position-partslist-ilogic/m-p/11305780#M140383</guid>
      <dc:creator>bradeneuropeArthur</dc:creator>
      <dc:date>2022-07-19T09:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: Position partslist Ilogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/position-partslist-ilogic/m-p/11305788#M140384</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/473476"&gt;@bradeneuropeArthur&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Attached you will find the drawing&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 09:08:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/position-partslist-ilogic/m-p/11305788#M140384</guid>
      <dc:creator>koenroovers</dc:creator>
      <dc:date>2022-07-19T09:08:31Z</dc:date>
    </item>
    <item>
      <title>Betreff: Position partslist Ilogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/position-partslist-ilogic/m-p/11305846#M140386</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5836695" target="_self"&gt;koenroovers&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if i understand you correctly you would like to have the&amp;nbsp;&lt;SPAN&gt;parts list on the left side of your drawing right above the title block, right?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I looked a little bit around on the forum and found this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-ilogic-and-vb-net-forum/ilogic-control-position-of-parts-list/td-p/3210568" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/inventor-ilogic-and-vb-net-forum/ilogic-control-position-of-parts-list/td-p/3210568&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;the code &amp;nbsp;Turac posted seem to place the parts list&amp;nbsp;right above the title block, at least&amp;nbsp;&lt;/SPAN&gt;on my drawing (tried to change size to A0 and back to A3) and the&amp;nbsp;parts list &amp;nbsp;jumped straight to the left corner right above the title block&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Dim oDrawDoc As DrawingDocument
oDrawDoc = ThisApplication.ActiveDocument
Dim oSheet As sheet
oSheet = oDrawDoc.ActiveSheet
Dim oPartslist As Partslist
oPartsList = oDrawDoc.ActiveSheet.PartsLists.Item(1)
Dim oPlacementPoint, oPlacementPoint2 As point2d
Dim oBorder As Border
oBorder = oSheet.Border

PartHight=oSheet.PartsLists.Item(1).RangeBox.MaxPoint.Y-oSheet.PartsLists.Item(1).RangeBox.MinPoint.Y
TitleY=oSheet.TitleBlock.RangeBox.MaxPoint.Y
PointX=oBorder.Rangebox.Maxpoint.x
PointY=TitleY+PartHight

oPlacementPoint = ThisApplication.TransientGeometry.CreatePoint2d(PointX,PointY)
oPartslist.position = oPlacementPoint&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 09:36:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/position-partslist-ilogic/m-p/11305846#M140386</guid>
      <dc:creator>j.brodersen</dc:creator>
      <dc:date>2022-07-19T09:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Position partslist Ilogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/position-partslist-ilogic/m-p/11305874#M140387</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6851987"&gt;@j.brodersen&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;That bit of code is working, but i would like to add it to my orginal code but can't seem to make it work&lt;BR /&gt;&lt;BR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6851987"&gt;@j.brodersen&lt;/a&gt;&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/473476"&gt;@bradeneuropeArthur&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have combined the codes to a working code. But now i have run into a different problem.&lt;/P&gt;&lt;P&gt;If i run the Ilogic on a big assembly, the BOM is always set to structure, is there a way to define the partslist to be Parts only?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 10:16:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/position-partslist-ilogic/m-p/11305874#M140387</guid>
      <dc:creator>koenroovers</dc:creator>
      <dc:date>2022-07-19T10:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: Position partslist Ilogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/position-partslist-ilogic/m-p/11306039#M140388</link>
      <description>&lt;P&gt;I'm unfortunately just a advanced noob if it comes to programming but what i could figure out is that you can specify the Partslist.Level during the Add step&lt;/P&gt;&lt;P&gt;Syntax&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;PartsLists.&lt;/SPAN&gt;&lt;STRONG&gt;Add&lt;/STRONG&gt;&lt;SPAN&gt;(&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;ViewOrModel&lt;/I&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;As Object,&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;PlacementPoint&lt;/I&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;As&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2018/ENU/?guid=Point2d" target="_blank" rel="noopener"&gt;Point2d&lt;/A&gt;&lt;SPAN&gt;, &lt;FONT color="#FF0000"&gt;[&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&lt;I&gt;Level&lt;/I&gt;&lt;/STRONG&gt;&lt;SPAN&gt;] As&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2018/ENU/?guid=PartsListLevelEnum" target="_blank" rel="noopener"&gt;PartsListLevelEnum&lt;/A&gt;&lt;/FONT&gt;&lt;SPAN&gt;, [&lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;NumberingScheme&lt;/I&gt;&lt;/STRONG&gt;&lt;SPAN&gt;] As Variant, [&lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;NumberOfSections&lt;/I&gt;&lt;/STRONG&gt;&lt;SPAN&gt;] As Long, [&lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;WrapLeft&lt;/I&gt;&lt;/STRONG&gt;&lt;SPAN&gt;] As Boolean ) As&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2018/ENU/?guid=PartsList" target="_blank" rel="noopener"&gt;PartsList&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so if I'm not mistaking following chang/addition in your code should do the job&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;oPartslist&lt;/SPAN&gt; = &lt;SPAN&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN&gt;PartsLists&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;oDrawingView&lt;/SPAN&gt;, &lt;SPAN&gt;oPlacePoint, kPartsOnly&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;you can find the information as well on following links&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Syntax:&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2018/ENU/?guid=GUID-64121FC0-E936-4A2B-9F84-46D9BD5701EC" target="_blank" rel="noopener"&gt;https://help.autodesk.com/view/INVNTOR/2018/ENU/?guid=GUID-64121FC0-E936-4A2B-9F84-46D9BD5701EC&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PartsListLevelEnum:&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2018/ENU/?guid=GUID-3F116D00-1E4E-4781-A748-619B482DCF99" target="_blank" rel="noopener"&gt;https://help.autodesk.com/view/INVNTOR/2018/ENU/?guid=GUID-3F116D00-1E4E-4781-A748-619B482DCF99&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 11:23:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/position-partslist-ilogic/m-p/11306039#M140388</guid>
      <dc:creator>j.brodersen</dc:creator>
      <dc:date>2022-07-19T11:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Position partslist Ilogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/position-partslist-ilogic/m-p/11306154#M140393</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6851987"&gt;@j.brodersen&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You are definitely no noob because that worked like a charm!&lt;/P&gt;&lt;P&gt;Thank you very much!!&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 12:19:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/position-partslist-ilogic/m-p/11306154#M140393</guid>
      <dc:creator>koenroovers</dc:creator>
      <dc:date>2022-07-19T12:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Position partslist Ilogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/position-partslist-ilogic/m-p/11306179#M140394</link>
      <description>oPartslist = oSheet.PartsLists(1)&lt;BR /&gt;	oPartslist.Level = Inventor.PartsListLevelEnum.kPartsOnly&lt;BR /&gt;	MessageBox.Show("There is an existing Parts List", "iLogic")</description>
      <pubDate>Tue, 19 Jul 2022 12:34:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/position-partslist-ilogic/m-p/11306179#M140394</guid>
      <dc:creator>bradeneuropeArthur</dc:creator>
      <dc:date>2022-07-19T12:34:07Z</dc:date>
    </item>
    <item>
      <title>Betreff: Position partslist Ilogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/position-partslist-ilogic/m-p/11306290#M140397</link>
      <description>&lt;P&gt;thank's a lot&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5836695"&gt;@koenroovers&lt;/a&gt;&amp;nbsp;glad that i could help and that it's working&lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@B4D44A73814D7FC0D950DEDFACB97081/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;&lt;P&gt;learning a lot through this forum and posts from&amp;nbsp;bradeneuropArthur, JhoelForshav, WCrugfield&amp;nbsp;&lt;SPAN class=""&gt;and all the other great people here how to use iLogic.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/473476"&gt;@bradeneuropeArthur&lt;/a&gt;&amp;nbsp;I tried your code but unfortunately i got an error message, something with "&lt;SPAN&gt;Use 'CallByName' function with 'CallType.Set'"!&amp;nbsp; But did i get it right that you can change the level with it afterwards/on an existing Partslist? &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;I tried the same in the beginning but got the error message that "Level" is ReadOnly.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Since it would be nice to have a code which can change the level of an existing parts list (it's frustrating if you placed a structured parts list, arranged everything just to find out that you have to change it to part only and start from the beginning). Could you tell me how I have to use callbyname? My attempt&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;CallByName&lt;/SPAN&gt;(&lt;SPAN&gt;oPartslist&lt;/SPAN&gt;,&lt;SPAN&gt;Level&lt;/SPAN&gt;,&lt;SPAN&gt;CallType&lt;/SPAN&gt;.&lt;SPAN&gt;Set&lt;/SPAN&gt;,&lt;SPAN&gt;kPartsOnly&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;just gave me the error message member not found.(exception by&amp;nbsp; HRESULT: 0x80020003 (DISP_E_MEMBERNOTFOUND))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 13:28:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/position-partslist-ilogic/m-p/11306290#M140397</guid>
      <dc:creator>j.brodersen</dc:creator>
      <dc:date>2022-07-19T13:28:30Z</dc:date>
    </item>
  </channel>
</rss>

