Hi All, I need to create a sub-list into a list using GH Python.
How can I output this list?
Try this
import ghpythonlib.treehelpers as th
box = []
for i in range(x):
box.Add(range(i,i+7))
box = th.list_to_tree(box)
Hi @anon39580149, Thanks for your suggestion. Any idea, why this error appears on my side?
Try append , i don’t know why didn’t work for you