I’m really hoping I didn’t imagine this:
I have used a code block to simply access parts of a list along with the Get.ItemAtIndex node…
Somehow I managed to ‘label’ each index number with the name of the list item being targeted.
Somewhere along the line I wound up deleting what I had done and now I’m struggling to replicate.
This is a mock-up of what I can remember using GIMP:
I know I could just use a note, but this would be so much neater.
If anyone has ever done this before, would you be kind enough to point me in the right direction…?
Many Thanks
Thanks Jacob,
My skill level in Dynamo wouldn’t allow me to type that, even by accident.
I consider myself as a beginner/intermediate user of dynamo.
But now I have something to aim for.
You can utilize the default constructor instead of hard coding it as well.
Dictionary.ByKeysValues is the node name, place it, wire the keys (strings you want to use) and values (data you want associated to them). Then select the nodes, right click the workspace background, and select Node To Code to get started.
Hi pyXam,
Thanks for your reply, but the result I had from my accidental typing looked just like the image I posted yesterday.
Anyway, I think I have used up too much time of the very kind people on this forum trying to recreate a happy accident, so I’ll use some of the very good suggestions I’ve already received on here.