Directory path primitive


Is there any primitive that can be used to select/contain a directory path? I am looking to specify a destination directory for a bunch of algorithmically-generated renders. The “File Path” primitive does not allow a directory to be stored, as far as I can tell. If I use a text primitive, is there a way to bring up a directory selection dialog?

(Wim Dekeyser) #2

When you use the File Path primitive and pick either Set One File Path or Set Multiple File Paths, a file selection dialog is brought up that allows you to select one or more files. When you then pick Manage Text collection, you can edit the path to remove the file name.

Alternatively, you can go straight to Manage Text collection, add an item, and edit that empty item to paste or write the path…


Thanks, wim. I was looking to make it easy to select (and possibly create) a directory via a dialog without having to do text editing by hand. I think I found what I was looking for in the rhinoscript function BrowseForFolder, though.

(David Rutten) #4

I added a folder browser item to the path parameter. Should be available in next weeks Rhino WIP.


Thanks, David!