<?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: Navisworks Manage - starting automation and selecting ActiveDocument in Navisworks API Forum</title>
    <link>https://forums.autodesk.com/t5/navisworks-api-forum/navisworks-manage-starting-automation-and-selecting/m-p/6699124#M5054</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks, very helpful - I thought that might be the case.&lt;/P&gt;</description>
    <pubDate>Mon, 21 Nov 2016 07:53:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-11-21T07:53:17Z</dc:date>
    <item>
      <title>Navisworks Manage - starting automation and selecting ActiveDocument</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/navisworks-manage-starting-automation-and-selecting/m-p/6669126#M5052</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;very new to API's for Autodesk products. trying to automate a Navisworks session using vb.net &amp;nbsp;and get a document's information - model, layers etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;code below works in starting the session and loading the file but I cant then select the active document - gets the error attached -= I am sure I am doing something stupid... but help would be appreciated, cant seam to find any vb.net examples all c.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in anticipation&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;error attached as screen shot&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;PRE&gt;Imports Autodesk.Navisworks.Api.Automation
Imports Autodesk.Navisworks.Api
.
.

Dim NWApp As New Autodesk.Navisworks.Api.Automation.NavisworksApplication

NWApp.OpenFile(Zone_File_Name.Text)


NWApp.Visible = True


Dim NWDOC As Autodesk.Navisworks.Api.Document


NWDOC = Autodesk.Navisworks.Api.Application.ActiveDocument&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Nov 2016 08:27:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/navisworks-manage-starting-automation-and-selecting/m-p/6669126#M5052</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-05T08:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: Navisworks Manage - starting automation and selecting ActiveDocument</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/navisworks-manage-starting-automation-and-selecting/m-p/6698965#M5053</link>
      <description>&lt;P&gt;You cannot access the Navisworks application objects when running in automation mode, only call a plugin that does so using ExecuteAddInPlugin(pluginname).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So you need to encapsulate all your operations in a plugin, then execute your plugin from the automation app.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2016 06:08:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/navisworks-manage-starting-automation-and-selecting/m-p/6698965#M5053</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-21T06:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: Navisworks Manage - starting automation and selecting ActiveDocument</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/navisworks-manage-starting-automation-and-selecting/m-p/6699124#M5054</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks, very helpful - I thought that might be the case.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2016 07:53:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/navisworks-manage-starting-automation-and-selecting/m-p/6699124#M5054</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-21T07:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: Navisworks Manage - starting automation and selecting ActiveDocument</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/navisworks-manage-starting-automation-and-selecting/m-p/10897341#M5055</link>
      <description>&lt;P&gt;hi @Anonymous&amp;nbsp; , could you share with me the project file ?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 21:37:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/navisworks-manage-starting-automation-and-selecting/m-p/10897341#M5055</guid>
      <dc:creator>ahmed.adel.hagag</dc:creator>
      <dc:date>2022-01-21T21:37:36Z</dc:date>
    </item>
  </channel>
</rss>

