Idea for a really tiny cool tool (for me !)

Hi Rhino Team,

It will be very usefull (at least for me !) to have a little button in Rhino which open an explorer at the current working directory of Rhino (directory of the opened file). I don’t know if anybody else has the same pb when working, but I continously have to open a new explorer and find the directory by myself (because I close it just before, or I have 5 explorer windows already opened and don’t want to search which one is the good one, or I changed the directory of my explorer since opening the file…).
I know it’s not really a rhino relative feature (and I would like this tool to be available in all the software I use !) but I try to suggest this here before ask to all other development teams…

Thanks,
j

Wonder if a checkbox could be added to the Libraries settings in Options+Panel to show current working directory (or current file directory) ?

–Mitch

Use this Python script for that

import rhinoscriptsyntax as rs
import scriptcontext as sc
import subprocess
import os

filename = rs.DocumentPath()
subprocess.Popen(r'explorer /select,'+filename)

I have added it to a RUI file for your convenience. I think you can drop it on Rhino, or open it from Tools --> Toolbar Layout. Clicking the single button will run the script above.

FileTools.rui (4.8 KB)

It works !
I just change the “/select” to “/open” for explorer to be directly in the working directory.
Thanks a lot,
julien