Hello,
GrasshopperDocument.FilePath returns Null in a cluster.
How can i get the GH document filepath ?
Thanks in advance,
JLH
Hello,
GrasshopperDocument.FilePath returns Null in a cluster.
How can i get the GH document filepath ?
Thanks in advance,
JLH
Grasshopper.Instances.ActiveCanvas.Document.FilePath
When you’re inside a cluster you will get null, but when you close the cluster editor, everything works fine.
So it won’t work for my usage, since i need to do something with “filename” in the cluster…
The main reason of creating a cluster is to use it on main canvas; you can actually do whatever you want, but it would only work when you’re outside the cluster.