ArchivableDictionary Get IEnumerable

Hi there,

there are Set overloads that accept IEnumerable< T> in ArchivableDictionary, for instance:

but I can’t find a corresponding method to get back. There is (I guess) a generic method, TryGetValue, should I use this one or is there a way I don’t see?


I’d use the index accessor instead:

import Rhino.Collection as rc
import System as s
import System.Collections.Generic as scg

lst = scg.List[s.Boolean]()

lst.AddRange([False, True, False, False])

ad = rc.ArchivableDictionary()

ad.Set("Here", lst)

otherlst = ad["Here"]

1 Like