How to select only lines with start points at z = 0?

Hi there,

I am trying to get only the lines that have starting point with z value 0, but i cant find any API references of the class Line or curve with their properties to code this. Is there a way to only select those lines that have a starting point z =0 with or without code? Or is there a API reference that i can use where all the properties are shown?

I uploaded a example file that I tried to use for this test.

Regards,

Giorgio
SelectLines with start points 0.gh (9.0 KB)

Hi @sgiorgioramsaroep

This script should solve your question:

Regards!

SelectLines with start points 0.gh (9.3 KB)

1 Like

Thanks for reply @bbalbastre . Thats what I was looking for.

1 Like