Hi everyone
I am new to ghpython and I have a simple question. How can I access to a branch of data in ghpython. This is my code:
import rhinoscriptsyntax as rs
lines = rs.AddLine(x,y)
a = rs.DivideCurve(lines,10, False, True)
In this screenshot you could see that ’ a ’ has an output in two different branches. I want to choose the first branch inside the python code.
Rickson
(Rickson)
3
Thank you for the code
But I didnt manage to use it. It gives an error.
when i
print a
it does not show a nested list and it only shows the last list.
piac
(Giulio Piacentino)
5
Hi @alexholden18
It would help if you could tell us, what you are trying to do.
Thanks,
Giulio
dale
(Dale Fugier)
Split this topic
6
2 posts were split to a new topic: Branch from the tree using GHPython