Copy materials between Family Docs

Copy materials between Family Docs

josepht21
Enthusiast Enthusiast
145 Views
1 Reply
Message 1 of 2

Copy materials between Family Docs

josepht21
Enthusiast
Enthusiast

Hey,

 

I'm seeing a change in behavior when copying materials between documents using the Revit API. Back in Revit 2022, if I copied a material that had the same name as one in the target doc, it would just override it. Now in Revit 2024, doing the exact same thing creates a duplicate instead (e.g. MyMaterial becomes MyMaterial1), instead of replacing the existing one.

 

Any idea how to get back the old behavior where the material gets overridden? I’m stuck and a bit pressed for time, so any help would be super appreciated.

 

Thanks! Joseph

0 Likes
146 Views
1 Reply
Reply (1)
Message 2 of 2

ricaun
Advisor
Advisor

I noticed that behavior recently when tried to copy families between documents using:

 

I was testing in Revit 2026 and show a warning mention the name change. I didn't find a way to overwrite at the moment 🙁

 

Luiz Henrique Cassettari

ricaun.com - Revit API Developer

AppLoader EasyConduit WireInConduit ConduitMaterial CircuitName ElectricalUtils

0 Likes