Import Skp file with C# script;

The confusion I encountered is that I can’t import skp files because of this option set. How can I skip it or “enter” it?
Thank you very much!
Have a nice day!

I see this - thanks for reporting.

You can work around this by doing the following:

  private void RunScript(string skp, bool enable, ref object A)
    if (enable && !string.IsNullOrEmpty(skp) && System.IO.File.Exists(skp))
      var script = string.Format("_-Import \"{0}\" _Enter", skp);
      RhinoApp.RunScript(RhinoDocument.RuntimeSerialNumber, script, false);

– Dale

Thank you, Dale! I will try this.

RH-66490 is fixed in Rhino 7 Service Release 14