Grasshopper

algorithmic modeling for Rhino


The Question, what do that each importance of the function ed in list?

The Event(slider)(y1....yn) - >Function(slider) = (x1....xm) - > List (x1...xm)

HowMake.jpg

 

Code

  Dim dictionary As New Dictionary(Of String, Integer)
    '' y - current importance slider, x - corresponding to importance slider number

    dictionary.Add(y, x)
    Dim pair As KeyValuePair(Of String, Integer)
    For Each pair In dictionary
      ' we get vapour(pair) value, problem to get list a vapour(pair) for all importances slider

      Print("{0}, {1}", pair.Key, pair.Value)
      A = dictionary
    Next pair


 clip0002.gif

clip0003.gif

Views: 162

Replies to This Discussion

One pair is Got only
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