I have hundreds of wall types. Most of them need a material change because the paint manufacturer (hence, the paint color) is other now.
I’ve already configured the new materials, and I figured this: first I retrieve all the walls materials, then filter the ones with matching marks, then when I get ex. material 307 manufacturer X I replace for material 307 manufacturer Y.
However I could even get values for Mark and Manufacturer parameters, as the pic shows. The error is “Warning: Internal error, please report: Dereferencing a non-pointer.”
Not sure if this is what you are looking for, but this script will replace all materials that match the name with another material in all layers of a wall.
@SeanP just a follow-up: I tried the dyn you shared, but there are a few packages missing in my PC. I think there’s something with my Dynamo version also… I’m in 1.3.4 because 2.X do not load any packages (not sure why). Some custom nodes aren’t working.
Unfortunately I do not have the time to explore Dynamo right now as I’m behind my schedule. I’ll explore it a little more later.
Hey Sean - Is this able to be expanded?? would love to pick your brain on possibly setting something like this up, but to update materials for several categories at once (floors, ceilings, walls, doors, frames.)
There may be ways to extend it yes, but keep in mind that as it is now, it is only for compound (system) families like walls, floors, and roofs. Singular (family instance) things like Doors or frames would be different.