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 pair value, problem to get list a pair for all importances slider

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

HowMake2.jpg

 

clip0002.gif

clip0003.gif

Views: 125

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2025   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service