Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5816

How to access to each tree

$
0
0

@alexholden18 wrote:

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.

Posts: 4

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 5816

Trending Articles