How to get MaterialId and set MaterialId using python script in dynamo

Walls have compound layers so you can’t just set a single material. See if this post gets you headed in the right direction.