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";
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