Change the color of a basic family in Revit using Dynamo to get it finally in IFC export with the desired color

Hi Dynamo Family,
we were trying to change the color of a basic family in Revit (Conduit) in German “Leerrohr”.
By using the node: Element.OverrideColorInView but as we can read from the name, it is only applied in the view in Revit and is not updated in the IFC export or in another view in Revit.
Is there any possibility to change the color for such basic families in Revit? preffered in Dynamo but am interesting as well how to do it in Revit
Thanks in advanced!


image

Not sure if there is a global color override option or not with Dynamo. One work around. Pull all views in the project and use archilab Elements.IsVisibleInView. This returns a bool. Filter the list of views by the bool and then feed that list into the Element.OverrideColorInView. You may have to set the lacing to longest of the color override node, so it will cycle through all of the views.

I believe it’s a similar process in Revit, but you can only do one view at a time. Select the element and right click and select Find Referring Views.

1 Like

The first thing you have to do is figure out where your IFC export is getting the color from. It’s probably from the material, which means you would have to override the color of the material assigned to your elements (or assign one if they’re set to category).

1 Like