Navisworks API

Navisworks API

Reply
Contributor
12 Posts
1 Kudo
Registered: ‎01-13-2011
Post 1 of 2

Creating xml with plugin Crashes

121 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
12 Posts
1 Kudo
Registered: ‎01-13-2011
Post 2 of 2

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
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!