Questions about macros (Open and OSnap)

This is my first post. I hope someone can help me out.

I have two questions so far:

  1. Is there any way to display only STL format files in the dialog box opened by “_Open” command without manually selecting the file format?

  2. Is there any way to turn Vertex in OSnap “on” regardless of current state?
    I tried
    _-OSnap V _Enter
    but this resulted in a toggle.

If these questions have already been asked, please provide the URL for reference.

Best regards.

No, there isn’t in native Rhino…

That would be:

_Osnap _Vertex=_On _Enter

I didn’t expect it to be resolved so quickly. Thank you so much.

Hi -

I suppose that it can be faster to type *.stl and hit return in the file name field than to locate the required file format from the list.

Other than that, we have a feature request on the list for sorting, and potentially hiding, file formats. I’ve added this thread to:
RH-3759 re-order formats
-wim

I know there is such a way, but I was wondering if it could be automated. Thank you anyway!

In Rhino 8/WIP any I/O plug-in (all file I/O is handled by plug-ins) that is disabled in Options > Plug-ins page will not show up in the list:

So you could in theory un-check all but STL - but you’d need to remember to re-enable any that you might want to import later of course.

-Pascal

I did not know there was such a method! However, it does not seem to fit my application.