I am trying to import .dxf file via grasshopper with c# component. Everytime I run the script dialog box is opened to select a path. What I am looking for is…
a) it shall take file path as an input and import it without opening dialog box.
b) I do not know if it is possible, but I want to have the imported .dxf inside grasshopper and not in rhino so only if it is necessary i ll bake it.
Any help is this regard would be great!
here is the code i used to import
Rhino.RhinoApp.RunScript("_Import", false); // and the it opens up the dialog box to select path