Replace material

I saw something about this topic around, but still nothing totally fits for my case: I intend to change my project materials with others, with different names, contents and so on.

After transferring related project standards from the separate file where I created them, how do I tell Dynamo ā€œreplace material X with Material X (case matters, pay attention :wink: in every instance of every type of every family of no matter which category of elementsā€?

Without having to select elements, but (somehow directly) just associating the material to be replaced with my new one?

Thank you guys and gials :slight_smile: