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: 

Creating xml with plugin Crashes

1 REPLY 1
Reply
Message 1 of 2
m.p.diker
354 Views, 1 Reply

Creating xml with plugin Crashes

I'm trying to create xml file from navisworks plugin with the below code

 

            XDocument xmldoc = new XDocument(
                  new XDeclaration("1.0", "utf-8", "yes"),
                  new XComment("Mehmet Polat Diker"), xmlNav);

            string fileName = "C:/MPD.xml";
            xmldoc.Save(fileName);

 

It mostly crashes Navisworks. But if I open Navisworks with right clicking and selecting run as admin it sometimes work.

I do this with revit api all the time. Is there something I'm missing related to Navisworks?

 

Thanks in Advance

 

Mehmet.

1 REPLY 1
Message 2 of 2
m.p.diker
in reply to: m.p.diker

For anyone having this issue the answer is the Windows 7 Admin Controls

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

Post to forums  

Rail Community


 

Autodesk Design & Make Report