Import options C#


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#?

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 ();

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.