When I use “Import” command from a script with some .stl files it takes too much, 5 or 6 minutes.
This is the code line I use:
Rhino.Command("-_Import " & filepath & " _Enter")
For example, one .stl file of 1,7 MB takes more than 5 minutes and another of 1,4 MB takes 1 second. Both of them are binary .stl files.
Any idea of what is happening here? Is there any other way to open a file with no user interaction (OpenFileName is not an option because it opens a window to select the file)?
Any help would be really appreciated.
Thank your in advance.