Grasshopper

algorithmic modeling for Rhino

Hi masterminds,

I am working on a seemingly simple re-organising algorithm - it uses a list of 'Referenced Polyline Curves' from grasshopper, and outputs the same curves in a certain tree structure.

Problem is that the curves are not read as curves, but as strings. I have put the input on 'Tree Access' and type in on 'ghdoc Object when geometry'. This is the grasshopper context, and the code where I translate the tree to an array:

aTree in this case is the tree from the 'floors' input.

Do I also need to specify a type in the code somewhere?

Views: 1632

Replies to This Discussion

Update: Solved it!

If it doesn't go via the panel, but directly from the previous component, it reads as geometry instead of strings.

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