Grasshopper

algorithmic modeling for Rhino

Hi guys,

I have a problem reading tree in ghpython.

As you can see in the picture, I used tree statistic component in both ghpython and grasshopper but they gave me different result.

I set the input as tree data and data type is float.

Does anyone know how to fix this ghpython problem?

Thank you,

ayaka

Views: 532

Replies to This Discussion

I would recommend accessing the Branches property of the DataTree using list comprehension, like so:


Edit: Also, GHPython questions usually go in the coding sub-forum :)


Attachments:

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service