Hi, let’s say I have a GH Tree {52;47} or {A;B}
{0;1}
{3;1}
{4;1}
{8;1}
,…
is there any method that returns all the paths A ?
like a list of all my paths (0,3,4,8)…
I am asking because in need to identify empty paths to add later on null value instead of "no "paths
HashSet< int > dims = new HashSet< int >();
int dim = 0; // or 1 for sec dimension etc etc
foreach(GH_Path path in tree.Paths) try{dims.Add(path.Indices[dim]);} catch{}
PS: as an option you can detect a “gap” in sequential dims values and EnsurePath(gapValue) for creating an empty path. (or if you are lazy use Ensure up to the max dims value).