We need your help! 🔥
Please consider disabling your ad-blocker to support this website! 🔑
We are a free, community-supported website! 🥰
We only display small unobtrusive ads which help us stay online! 💯
Thank you in advance! ❤️
01 | Input
02 | Output
03 | Quantity
04 | Data Organization
05 | Flow

Definition Path

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.   Site co-created by Andrew Heumann.   Pancake and associated data © 2024 Keyu Gan.  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service