Grasshopper Docs

Community documentation for Grasshopper add-ons & plugins

01 | Input
02 | Output
03 | Quantity
04 | Data Organization
05 | Flow

Get the path of current Grasshopper definition/file, so that you can reference files wherever they are.

Outputs

NameIDDescriptionType
DirectoryDDirectory of where the current definition is stored. The value doesn't have trailing directory separator.String
NameNFile name of current definitionString
Directory SeparatorSDirectory separator of current operating systemString

Site design © Robin Rodricks.   Co-created by Andrew Heumann.   Pancake and associated data © 2020 Keyu Gan.  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service