How to get FilePath inside a Cluster


GrasshopperDocument.FilePath returns Null in a cluster.
How can i get the GH document filepath ?

Thanks in advance,

When you’re inside a cluster you will get null, but when you close the cluster editor, everything works fine. (13.5 KB)

1 Like

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. (15.1 KB)