How to set import options for stl in vbscript


#1

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


#2

Some problems solve themselve:

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


#3

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


(John Brock) #4

Assigned Scripting category