Hi All, can anyone how to duplicate number in such listing for GH Python?
Hi @Mahdiyar, that is great. Can you show me if I am keen to do the whole process in python from the raw numbers?
from ghpythonlib import treehelpers as th
a = []
for i in range(len(n)):
a.append([i]*n[i])
a = th.list_to_tree(a)
duplicateData.gh (9.7 KB)
Legend!
Hi @Mahdiyar I am yet to familiar with GHPython Listing. Can you also show me how to code python in below example? Do we need to deal with ‘List’ and ‘Tree’ listing?? Cheers