<?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: Positionnumber on which sheet in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/positionnumber-on-which-sheet/m-p/9103036#M102387</link>
    <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/473476"&gt;@bradeneuropeArthur&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Georg&lt;/P&gt;</description>
    <pubDate>Wed, 23 Oct 2019 11:26:05 GMT</pubDate>
    <dc:creator>GeorgK</dc:creator>
    <dc:date>2019-10-23T11:26:05Z</dc:date>
    <item>
      <title>Positionnumber on which sheet</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/positionnumber-on-which-sheet/m-p/8860140#M98533</link>
      <description>&lt;P&gt;Hello together,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there a possibility to a add a coloumn to the partlist for all position numbers and the corresponding sheetname?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pos.Nr. 1 - Sheet2&lt;/P&gt;&lt;P&gt;Pos.Nr. 2 - Sheet1&lt;/P&gt;&lt;P&gt;Pos.Nr. 3 - Sheet1&lt;/P&gt;&lt;P&gt;Pos.Nr. 4 - Sheet3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Georg&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 12:44:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/positionnumber-on-which-sheet/m-p/8860140#M98533</guid>
      <dc:creator>GeorgK</dc:creator>
      <dc:date>2019-06-19T12:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: Positionnumber on which sheet</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/positionnumber-on-which-sheet/m-p/8860741#M98545</link>
      <description>&lt;P&gt;Hi, I think that once I faced something similar, I have a drawing with many sheets, each sheet with different views of parts of an assembly. This rule creates a custom property in each part, which indicates the sheet in which it is located in the drawing.&lt;BR /&gt;I have simplified the rule so that it is easy to interpret.&lt;BR /&gt;You can modify the values to identify the drawing file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;DrawingDocument&lt;/SPAN&gt; = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Document&lt;/SPAN&gt;
&lt;SPAN&gt;oSheets&lt;/SPAN&gt; = &lt;SPAN&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Sheets&lt;/SPAN&gt;
&lt;SPAN&gt;myparam&lt;/SPAN&gt; = &lt;SPAN&gt;InputBox&lt;/SPAN&gt;(&lt;SPAN&gt;"Defines the location location on a sheet"&lt;/SPAN&gt;, &lt;SPAN&gt;"Location on a sheet"&lt;/SPAN&gt;, &lt;SPAN&gt;"H"&lt;/SPAN&gt;)
&lt;SPAN&gt;For&lt;/SPAN&gt; &lt;SPAN&gt;Each&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;In&lt;/SPAN&gt; &lt;SPAN&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Sheets&lt;/SPAN&gt;
	&lt;SPAN&gt;For&lt;/SPAN&gt; &lt;SPAN&gt;Each&lt;/SPAN&gt; &lt;SPAN&gt;oView&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;DrawingView&lt;/SPAN&gt; &lt;SPAN&gt;In&lt;/SPAN&gt; &lt;SPAN&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN&gt;DrawingViews&lt;/SPAN&gt;
	&lt;SPAN&gt;oViewModelDoc&lt;/SPAN&gt; = &lt;SPAN&gt;oView&lt;/SPAN&gt;.&lt;SPAN&gt;ReferencedDocumentDescriptor&lt;/SPAN&gt;.&lt;SPAN&gt;ReferencedDocument&lt;/SPAN&gt;
	&lt;SPAN&gt;oModelName&lt;/SPAN&gt; = &lt;SPAN&gt;oView&lt;/SPAN&gt;.&lt;SPAN&gt;ReferencedDocumentDescriptor&lt;/SPAN&gt;.&lt;SPAN&gt;ReferencedDocument&lt;/SPAN&gt;.&lt;SPAN&gt;DisplayName&lt;/SPAN&gt;
	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;SheetNumber&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = &lt;SPAN&gt;Mid&lt;/SPAN&gt;(&lt;SPAN&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN&gt;Name&lt;/SPAN&gt;, &lt;SPAN&gt;InStr&lt;/SPAN&gt;(1, &lt;SPAN&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN&gt;Name&lt;/SPAN&gt;, &lt;SPAN&gt;":"&lt;/SPAN&gt;) + 1)

	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;customPropSet&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;PropertySet&lt;/SPAN&gt; = &lt;SPAN&gt;oViewModelDoc&lt;/SPAN&gt;.&lt;SPAN&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;"Inventor User Defined Properties"&lt;/SPAN&gt;) 
    &lt;SPAN&gt;On&lt;/SPAN&gt; &lt;SPAN&gt;Error&lt;/SPAN&gt; &lt;SPAN&gt;Resume&lt;/SPAN&gt; &lt;SPAN&gt;Next&lt;/SPAN&gt; 
    &lt;SPAN&gt;customPropSet&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;myparam&lt;/SPAN&gt;).&lt;SPAN&gt;Value&lt;/SPAN&gt; = &lt;SPAN&gt;SheetNumber&lt;/SPAN&gt;
	    &lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;Err&lt;/SPAN&gt;.&lt;SPAN&gt;Number&lt;/SPAN&gt; &amp;lt;&amp;gt; 0 &lt;SPAN&gt;Then&lt;/SPAN&gt; 
	    	&lt;SPAN&gt;customPropSet&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;SheetNumber&lt;/SPAN&gt;, &lt;SPAN&gt;myparam&lt;/SPAN&gt;) 
   		&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt;
	&lt;SPAN&gt;Next&lt;/SPAN&gt;
&lt;SPAN&gt;Next&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I hope to be clear and that this will help solve your problem.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 15:47:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/positionnumber-on-which-sheet/m-p/8860741#M98545</guid>
      <dc:creator>Sergio.D.Suárez</dc:creator>
      <dc:date>2019-06-19T15:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: Positionnumber on which sheet</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/positionnumber-on-which-sheet/m-p/8860956#M98547</link>
      <description>&lt;P&gt;Hello &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4253164"&gt;@Sergio.D.Suárez&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you very much. I'll give it a try.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Georg&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 17:08:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/positionnumber-on-which-sheet/m-p/8860956#M98547</guid>
      <dc:creator>GeorgK</dc:creator>
      <dc:date>2019-06-19T17:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: Positionnumber on which sheet</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/positionnumber-on-which-sheet/m-p/9100464#M102341</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/241746"&gt;@GeorgK&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please elaborate your requirement with examples? Make sure that files are non confidential.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2019 09:48:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/positionnumber-on-which-sheet/m-p/9100464#M102341</guid>
      <dc:creator>chandra.shekar.g</dc:creator>
      <dc:date>2019-10-22T09:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Positionnumber on which sheet</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/positionnumber-on-which-sheet/m-p/9100490#M102342</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This will guide you in the correct direction i think!&lt;/P&gt;&lt;PRE&gt;Public Sub main()

Dim a As Application
Set a = ThisApplication

Dim b As DrawingDocument
Set b = a.ActiveDocument


Dim c As Balloon
Set c = b.ActiveSheet.Balloons.Item(1)

Dim v As DrawingView
Set v = c.ParentView

MsgBox v.Parent.Name



End Sub&lt;/PRE&gt;&lt;P&gt;Please let me know if you need further assistance....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2019 10:01:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/positionnumber-on-which-sheet/m-p/9100490#M102342</guid>
      <dc:creator>bradeneuropeArthur</dc:creator>
      <dc:date>2019-10-22T10:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: Positionnumber on which sheet</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/positionnumber-on-which-sheet/m-p/9100508#M102343</link>
      <description>&lt;P&gt;Hello &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4427777"&gt;@chandra.shekar.g&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;I would like to add a column with the sheet number in which the position number is placed.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Positionsnummer_Blatt.png" style="width: 716px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/690015iC3222E2F9B31B66C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Positionsnummer_Blatt.png" alt="Positionsnummer_Blatt.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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;P&gt;Georg&lt;/P&gt;&lt;DIV class="SnapLinksContainer"&gt;&lt;DIV class="SL_SelectionRect"&gt;&lt;DIV class="SL_SelectionLabel"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;!--    Used for easily cloning the properly namespaced rect    --&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 22 Oct 2019 10:14:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/positionnumber-on-which-sheet/m-p/9100508#M102343</guid>
      <dc:creator>GeorgK</dc:creator>
      <dc:date>2019-10-22T10:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: Positionnumber on which sheet</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/positionnumber-on-which-sheet/m-p/9100555#M102345</link>
      <description>&lt;PRE&gt;Public Sub main()

Dim a As Application
Set a = ThisApplication

Dim b As DrawingDocument
Set b = a.ActiveDocument


Dim c As Balloon

For Each c In b.ActiveSheet.Balloons
Dim v As DrawingView
Set v = c.ParentView

Dim p As PartsList
Set p = b.ActiveSheet.PartsLists.Item(1)

p.PartsListRows.Item(1).Item("Sheet").Value = v.Parent.Name
Next
'


End Sub&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2019 10:42:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/positionnumber-on-which-sheet/m-p/9100555#M102345</guid>
      <dc:creator>bradeneuropeArthur</dc:creator>
      <dc:date>2019-10-22T10:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: Positionnumber on which sheet</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/positionnumber-on-which-sheet/m-p/9103005#M102386</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/241746"&gt;@GeorgK&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Work around from &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/473476"&gt;@bradeneuropeArthur&lt;/a&gt; seems to be fine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 11:12:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/positionnumber-on-which-sheet/m-p/9103005#M102386</guid>
      <dc:creator>chandra.shekar.g</dc:creator>
      <dc:date>2019-10-23T11:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Positionnumber on which sheet</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/positionnumber-on-which-sheet/m-p/9103036#M102387</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/473476"&gt;@bradeneuropeArthur&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Georg&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 11:26:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/positionnumber-on-which-sheet/m-p/9103036#M102387</guid>
      <dc:creator>GeorgK</dc:creator>
      <dc:date>2019-10-23T11:26:05Z</dc:date>
    </item>
  </channel>
</rss>

