<?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 How to open part file from Inventor application through Parts list in a drawing file? in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-open-part-file-from-inventor-application-through-parts/m-p/11497366#M31490</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need help opening a part file the partlists using VBA, i know how to open a file from normal file folder, but in need this specific objective for one of drawing.&lt;/P&gt;</description>
    <pubDate>Thu, 20 Oct 2022 19:50:55 GMT</pubDate>
    <dc:creator>vinayababu.yerneni</dc:creator>
    <dc:date>2022-10-20T19:50:55Z</dc:date>
    <item>
      <title>How to open part file from Inventor application through Parts list in a drawing file?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-open-part-file-from-inventor-application-through-parts/m-p/11497366#M31490</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need help opening a part file the partlists using VBA, i know how to open a file from normal file folder, but in need this specific objective for one of drawing.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2022 19:50:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-open-part-file-from-inventor-application-through-parts/m-p/11497366#M31490</guid>
      <dc:creator>vinayababu.yerneni</dc:creator>
      <dc:date>2022-10-20T19:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to open part file from Inventor application through Parts list in a drawing file?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-open-part-file-from-inventor-application-through-parts/m-p/11497480#M31491</link>
      <description>&lt;P&gt;You could do it like this:&lt;/P&gt;
&lt;LI-CODE lang="visual-basic"&gt;Dim doc As DrawingDocument = ThisApplication.ActiveDocument
Dim sheet As Sheet = doc.ActiveSheet
Dim partsList As PartsList = sheet.PartsLists.Item(1)
Dim row1 As PartsListRow = partsList.PartsListRows.Item(1)

Dim fullFileName = row1.ReferencedFiles.Item(1).FullFileName
ThisApplication.Documents.Open(fullFileName)&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 20 Oct 2022 20:42:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-open-part-file-from-inventor-application-through-parts/m-p/11497480#M31491</guid>
      <dc:creator>JelteDeJong</dc:creator>
      <dc:date>2022-10-20T20:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to open part file from Inventor application through Parts list in a drawing file?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-open-part-file-from-inventor-application-through-parts/m-p/11498356#M31492</link>
      <description>&lt;P&gt;Public Sub OpenPartItemNo()&lt;BR /&gt;Dim oApp As Application&lt;BR /&gt;Dim oDD As DrawingDocument&lt;BR /&gt;Dim oSht As Sheet&lt;BR /&gt;Dim oPL As PartsList&lt;BR /&gt;Dim oPLR As PartsListRow&lt;BR /&gt;Dim oPLCell As PartsListCell&lt;BR /&gt;Dim oAD As AssemblyDocument&lt;BR /&gt;Dim oACD As AssemblyComponentDefinition&lt;BR /&gt;Dim oBOM As BOM&lt;BR /&gt;Dim oBV As BOMView&lt;BR /&gt;Dim oBR As BOMRow&lt;BR /&gt;Dim oDoc As Document&lt;BR /&gt;&lt;BR /&gt;Set oApp = ThisApplication&lt;BR /&gt;Set oDD = oApp.ActiveDocument&lt;BR /&gt;Set oSht = oDD.ActiveSheet&lt;BR /&gt;&lt;BR /&gt;On Error Resume Next&lt;BR /&gt;Set oPL = oSht.PartsLists(1)&lt;BR /&gt;&lt;BR /&gt;If Err.Number &amp;lt;&amp;gt; 0 Then&lt;BR /&gt;Err.Clear&lt;BR /&gt;MsgBox "No parts list, please create"&lt;BR /&gt;Exit Sub&lt;BR /&gt;End If&lt;BR /&gt;&lt;BR /&gt;ItemNoSelect = InputBox("Input item no. and open the file", "Input Item No.")&lt;BR /&gt;&lt;BR /&gt;Set oAD = oPL.ReferencedDocumentDescriptor.ReferencedDocument&lt;BR /&gt;Set oACD = oAD.ComponentDefinition&lt;BR /&gt;Set oBOM = oACD.BOM&lt;BR /&gt;Set oBV = oBOM.BOMViews(2)&lt;BR /&gt;&lt;BR /&gt;For Each oBR In oBV.BOMRows&lt;BR /&gt;If oBR.ItemNumber = ItemNoSelect Then&lt;BR /&gt;Set oDoc = oApp.Documents.Open(oBR.ReferencedFileDescriptor.FullFileName, True)&lt;BR /&gt;End If&lt;BR /&gt;Next&lt;BR /&gt;End Sub&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 07:31:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-open-part-file-from-inventor-application-through-parts/m-p/11498356#M31492</guid>
      <dc:creator>dgreatice</dc:creator>
      <dc:date>2022-10-21T07:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to open part file from Inventor application through Parts list in a drawing file?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-open-part-file-from-inventor-application-through-parts/m-p/11498971#M31493</link>
      <description>&lt;P&gt;THIS IS WHAT IM LOOKING FOR!&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 12:59:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-open-part-file-from-inventor-application-through-parts/m-p/11498971#M31493</guid>
      <dc:creator>vinayababu.yerneni</dc:creator>
      <dc:date>2022-10-21T12:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to open part file from Inventor application through Parts list in a drawing file?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-open-part-file-from-inventor-application-through-parts/m-p/11499852#M31494</link>
      <description>&lt;P&gt;I have one more doubt how can i open the all the occurrences(individual parts) from the assembly through BOM. i tried to give "Parts only" but does not seem to work, the option open assembly files which is not required for me.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 18:21:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-open-part-file-from-inventor-application-through-parts/m-p/11499852#M31494</guid>
      <dc:creator>vinayababu.yerneni</dc:creator>
      <dc:date>2022-10-21T18:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to open part file from Inventor application through Parts list in a drawing file?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-open-part-file-from-inventor-application-through-parts/m-p/11503920#M31495</link>
      <description>Jong,&lt;BR /&gt;&lt;BR /&gt;Your program works good but mean time i need to parts file individually(parts only BOM view) your program open sub assemblies too, could you please tell me how to do that.</description>
      <pubDate>Mon, 24 Oct 2022 12:14:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-open-part-file-from-inventor-application-through-parts/m-p/11503920#M31495</guid>
      <dc:creator>vinayababu.yerneni</dc:creator>
      <dc:date>2022-10-24T12:14:57Z</dc:date>
    </item>
  </channel>
</rss>

