Community
Navisworks API
Welcome to Autodesk’s Navisworks API Forums. Share your knowledge, ask questions, and explore popular Navisworks API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1 REPLY 1
Reply
Message 1 of 2
caddguru
596 Views, 1 Reply

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

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

1 REPLY 1
Message 2 of 2
xiaodong_liang
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.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


Autodesk Design & Make Report