Grasshopper

algorithmic modeling for Rhino

Hi,

I have a code that shows different surface temperature for selected points on a surface. The output is a rectangular array (lets say Output [i, k] which i = no. of points and k is no. of hours per year so always will be = 8760) so for each selected point I have 8760 data. However I am not able to extract these by points separately (grasshopper shows them in one list). Is there a way in C# grasshopper that you can assign a pointer (as slider or input) to point to specific index and you get out the data just for that specific point? 

Thank you!

Views: 769

Replies to This Discussion

Maybe this can help

Attachments:

Thanks Peter, it helped a lot! 

Added a few lines more

Attachments:

Thank you very much!

Thanks Peter for your answers. I have one more question hope you can help me with. How would you create a slider to select (or get) the Nth element of each array and just output those Nth elements?

See 1B

A small challenge for you:

write some simple code that checks values and always outputs something within the bounds (BTW: try/catch used is the definition of crude programming not to mention bad manners , he he)

Attachments:

Thanks again a lot for your prompt answer!

Get the trad update (of the update (of the update)) as well.

Attachments:

Thank you very much Peter!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service