<?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: WPF ViewControl Error in Navisworks API Forum</title>
    <link>https://forums.autodesk.com/t5/navisworks-api-forum/wpf-viewcontrol-error/m-p/6572695#M5268</link>
    <description>Hi Geoff,&lt;BR /&gt;&lt;BR /&gt;I guess you hit a the related issue that is mentioned in the other post, i.e. Viewer control in release 2017 cannot work. The issue has been addressed and a fix would be probably available with SP1.&lt;BR /&gt;&lt;A href="http://forums.autodesk.com/t5/navisworks-api/confusing-navisworks-api-not-licensed-error/td-p/6430673" target="_blank"&gt;http://forums.autodesk.com/t5/navisworks-api/confusing-navisworks-api-not-licensed-error/td-p/6430673&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;In another word, it should not be a problem with WPF, but Viewer control itself.</description>
    <pubDate>Tue, 20 Sep 2016 10:31:38 GMT</pubDate>
    <dc:creator>xiaodong_liang</dc:creator>
    <dc:date>2016-09-20T10:31:38Z</dc:date>
    <item>
      <title>WPF ViewControl Error</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/wpf-viewcontrol-error/m-p/6516729#M5267</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm brand new to NavisWorks development and I'm having an issue getting the ViewControl to work in a WPF application. I've tried to use the sample app in the SDK and also build my own from scratch. Both give the following error:-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The name "ViewControl" does not exist in the namespace "clr-namespace:Autodesk.Navisworks.Api.Controls;assembly=Autodesk.Navisworks.Controls".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using Windows 10 64 bit with the anniversary update and the 2017 version of the SDK.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Geoff&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2016 09:58:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/wpf-viewcontrol-error/m-p/6516729#M5267</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-23T09:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: WPF ViewControl Error</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/wpf-viewcontrol-error/m-p/6572695#M5268</link>
      <description>Hi Geoff,&lt;BR /&gt;&lt;BR /&gt;I guess you hit a the related issue that is mentioned in the other post, i.e. Viewer control in release 2017 cannot work. The issue has been addressed and a fix would be probably available with SP1.&lt;BR /&gt;&lt;A href="http://forums.autodesk.com/t5/navisworks-api/confusing-navisworks-api-not-licensed-error/td-p/6430673" target="_blank"&gt;http://forums.autodesk.com/t5/navisworks-api/confusing-navisworks-api-not-licensed-error/td-p/6430673&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;In another word, it should not be a problem with WPF, but Viewer control itself.</description>
      <pubDate>Tue, 20 Sep 2016 10:31:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/wpf-viewcontrol-error/m-p/6572695#M5268</guid>
      <dc:creator>xiaodong_liang</dc:creator>
      <dc:date>2016-09-20T10:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: WPF ViewControl Error</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/wpf-viewcontrol-error/m-p/7067093#M5269</link>
      <description>&lt;P&gt;hi please Try this:&lt;/P&gt;&lt;P&gt;use in xml code :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;WindowsFormsHost x:Name="mFormsHost" &amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!--&amp;lt;NwControls:ViewControl x:Uid="viewControl"&lt;BR /&gt;x:Name="viewControl"&lt;BR /&gt;Dock="Fill" /&amp;gt;--&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/WindowsFormsHost&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and in c# code:&lt;/P&gt;&lt;P&gt;after&lt;/P&gt;&lt;P&gt;InitializeComponent();&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;var viewControl = new Autodesk.Navisworks.Api.Controls.ViewControl();&lt;BR /&gt;viewControl.Name = "viewControl";&lt;BR /&gt;viewControl.Dock= System.Windows.Forms.DockStyle.Fill;&lt;BR /&gt;mFormsHost.Child = viewControl;&lt;BR /&gt;viewControl.DocumentControl =&amp;nbsp;" your Document for example oDoc"&lt;/P&gt;</description>
      <pubDate>Sun, 07 May 2017 07:13:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/wpf-viewcontrol-error/m-p/7067093#M5269</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-07T07:13:46Z</dc:date>
    </item>
  </channel>
</rss>

