How to set import options for stl in vbscript

Hello,

I am trying to import stl files in vbScript using Rhino.Command "_Import c:\filename.stl"
The problem is that a window “STL Import Options” pops up.

How can I avoid this?
(Besides checking the box “Always use these settings” manually)
Is there a way to access these options through vbscript?

Thanks in advance

Best regards,

Miguel

Some problems solve themselve:

Rhino.Command “-_Import c:filename.stl _Enter” seems to do the job

To avoid having dialogs pop up, always use the “-” dash version of the command as you figured out. You can then also script in any command line options you need.

–Mitch

Assigned Scripting category