I have many folders, with different folder structures and when opening files in multiple Rhino instances, I often need to open the containing folder of one of the instances and…
I find no such command in Rhino. (Grasshopper has it, in the File menu. That’s how it’s done. Adult approach).
It could just (quietly) sneak in, in the next SR. Please.
Yes. I actually added a button to my customized panel. It seems it good enough to just call _Open in any instance, since each instance knows which file was last opened. So it works with _Open.
import rhinoscriptsyntax as rs
import os
path=rs.DocumentPath()
if path:
path=os.path.realpath(path)
os.startfile(path)
else:
rs.MessageBox("File not saved - no containing folder!!",64)