I would like to “reset” all the materials associated with family geometry (extrusions, sweeps, etc) in a specific folder. I don’t want to open every single family since it would take too much time.
If yes, can anyone please explain me what is wrong with the node/code?
I didn’t find a way of set the Material parameter of the extrusion to By Category so I just assigned it to Default material. Is there any possibility to do it? The geometry should have the parameter associated like this:
This is a transaction error, as it states. Somewhere in the backround open you’ll need to add a transaction start and transaction end node to the backround processing file(s). I am not sure this is doable with the currently available nodes (but I could be wrong).
Why not just bulk delete the materials that are in the file?
Thank for the input Jacob! This can be also a solution, but I want to do it for all families in a specific folder.
If Dynamo for Automation is the way to go, I will give it a try. The DynamoAutomation website states that the software works with "Any Dynamo 0.9.x or 1.x build.
I would like to this at once. I tried to use Passthrough node so Element.Delete only acts after the materials are gathered, but it doesn’t work. Maybe I am doing the wiring in a wrong way. The error “Modifying is forbidden because the document has no open transaction.” appears.