Results 1 to 2 of 2

Thread: A question about the "MDIViewer" sample in Navisworks API

  1. #1
    Woo! Hoo! my 1st post
    Join Date
    2010-05
    Posts
    1
    Login to Give a bone
    0

    Default A question about the "MDIViewer" sample in Navisworks API

    Hello!

    I was trying some samples of Navisworks .net API from Navisworks Management 2011. There is one sample named as "MDIViewer" which I cannot use to open any .dwg file. It always give error that "No plugin exists that will open Drawing1.dwg". However, I am able to use another sample "EventsViewer" to open this file. Do you know what is the problem? Thank you very much!

  2. #2
    Member
    Join Date
    2010-05
    Posts
    2
    Login to Give a bone
    0

    Default Re: A question about the "MDIViewer" sample in Navisworks API

    Hi lxspine,

    The reason is the application type was set to MultipleDocument in the 'MDIViewer', the line of code below:
    'Autodesk.Navisworks.Api.Controls.ApplicationControl.ApplicationType = ApplicationType.MultipleDocument;'

    A multiple document application only supports basic materials and Navisworks native file formats.

    Thanks and best regards,
    Tracy
    Autodesk Navisworks Developer

Similar Threads

  1. Replies: 0
    Last Post: 2015-07-02, 04:32 PM
  2. 2014: MDIViewer sample to open Inventor files
    By iwash82676450 in forum NavisWorks - General
    Replies: 1
    Last Post: 2014-07-21, 08:05 AM
  3. Replies: 8
    Last Post: 2012-08-18, 01:31 AM
  4. Formula Property Definition : "Sample Result"
    By julien.hofman in forum Style Management
    Replies: 2
    Last Post: 2008-08-01, 10:18 AM
  5. Replies: 3
    Last Post: 2007-10-23, 09:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •