Navisworks API

Navisworks API

Reply
Contributor
m.p.diker
Posts: 12
Registered: ‎01-13-2011
Message 1 of 2 (119 Views)

Creating xml with plugin Crashes

119 Views, 1 Replies
06-08-2012 12:45 AM

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.

Contributor
m.p.diker
Posts: 12
Registered: ‎01-13-2011
Message 2 of 2 (95 Views)

Re: Creating xml with plugin Crashes

06-14-2012 04:25 AM in reply to: m.p.diker

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

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.