x is a tree
a = ghc.trees.Group(x)
a result: System.Collections.Generic.List`1[System.Object]
How to ungroup these lists without use ghpython component again?
group.gh (11.1 KB)
The first thread
x is a tree
a = ghc.trees.Group(x)
a result: System.Collections.Generic.List`1[System.Object]
How to ungroup these lists without use ghpython component again?
group.gh (11.1 KB)
The first thread
Solved:
import ghpythonlib.treehelpers as th
a = ghc.trees.Group(x)
lists = th.tree_to_list(a)
lists = th.list_to_tree(lists)