Hi,
With C # I am trying to import a sketchup file with:
Rhino.RhinoDoc doc = Rhino.RhinoDoc.CreateHeadless (null) ;;
doc.Import (“Sample.skp”);
The problem I am dealing with is that I cannot specify the import options:
Does anyone know how I can set/modify these options in C#?
stevebaer
(Steve Baer)
February 26, 2021, 4:44pm
2
Not currently. Support for options on all file importers is on our wishlist, but I don’t have a good prediction of when we will be able to get around to implementing.
Thanks for your response. Is it possible to do this with:
Rhino.RhinoApp.RunScript ();
command?
stevebaer
(Steve Baer)
February 26, 2021, 9:04pm
4
Not for a headless doc. If you are just trying to import into the active document in Rhino, then you should be able to set options by using RunScript.