Getting Material information from an imported .3dm file

Not sure if this is possible without some coding.
I am trying to get material information from a .3dm file imported as a generic model that I can automate adding new materials to these imported models.

I recall Rhinamo has access to materials in a 3DM. That plus the Genius Loci package to take care of your material needs and you should be all set.