Example workflow for "Key" nodes


#1

Can anybody provide an example of how to use the series of nodes related to Keys? (GetKeys, GetValues, ContainsKey, RemoveKey, etc.)

GetKeys seems to simply return a list of each item’s index – I’m sure these nodes all work together in a powerful way, but I’m having trouble identifying how they’re intended to be used.

Thanks!


#2

Hi Ian,

Refer to this link http://plevit1.blogspot.ae/2015/02/examples-for-all-builtin-functions-in.html

Hope it helps!


#3

so in dynamo all lists are associate arrays, or dictionaries.

 

you can write somelist = {}

somelist[“somekey”] = 100

get keys will return “somekey”