The top For loop + Unbundle is the current method to get the Keys and Values of all elements in a Map as arrays. If you need both, this is ok, but I'd prefer the second option, with a native node.
If you only want one (e.g. the Keys), then the For loop and Unbundle takes quite a bit more room than a similar-type of node (here the size is taken from the Collection Size node, and the paired outputs in the second row are from Matrix Size).
Can we have nodes to access the keys in particular, and perhaps the Keys + Values of a Map without requiring the For loop?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.