This is the c# snippet for exporting to a dxf file.
the script returns false.
could someone help me to spot what’s wrong.
doc.Objects.Select(guids);
string dir = "D:\\JOBS\\test.dxf";
// Export command
string command = "-_Export \"" + dir + "\" _Scheme \"Default\" _Enter";
bool result = RhinoApp.RunScript(command, false);
RhinoApp.WriteLine("Export selected: {0}", result);
doc.Objects.UnselectAll();