Materials from files?

Hello
How to import materials form 3dm with GhPython?