Object library to Array?

Hi - i’ve made an object library of textures. Is there a way to store this list in an array so I can set the dynamic material’s texture to one of my choosing?

There’s a CastToObjectLibrary node, but I don’t get casting yet - certainly not in the context of a library.

Dan.