Navisworks API

Reply
New Member
Posts: 2
Registered: ‎08-23-2006
Message 1 of 2 (126 Views)

MessageBox.Show(Autodesk.Navisworks.Api.Application.Gui.MainWindow...

126 Views, 1 Replies
08-05-2012 09:28 AM

The following statement in the Hello World! example generates errors:

MessageBox.Show(Autodesk.Navisworks.Api.Application.Gui.MainWindow, “Hello World”);

 

The following statement works fine:

MessageBox.Show("Hello World!")

 

Why?

 

Thank you in advance for your patience in answering what must be a basic namespace? related question. Warm regards from Los Angeles,

 

Emmanuel

ADN Support Specialist
xiaodong.liang
Posts: 1,190
Registered: ‎06-12-2011
Message 2 of 2 (106 Views)

Re: MessageBox.Show(Autodesk.Navisworks.Api.Application.Gui.MainWindow...

08-15-2012 11:39 PM in reply to: caddguru

Hi,

 

I gave a small test with <2013>\api\net\examples\Basic Examples\CSharp\BasicPlugIn. It works well to me. I can run the command and the dialog popped out without any error.

 

Do you have any more information,. e.g. error message snapshot? It would be helpful for the peers in forum to offer a hand.



Xiaodong Liang
Developer Technical Services
Autodesk Developer Network

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community