I’ve adapted the below python script from Element color override in viewS and I would like to feed in an OverrideGraphicSettings object from the OOTB node OverrideGraphicSettings.ByProperties
My problem is that the object output by this node is of Revit.Filter.OverrideGraphicSettings type and method used in my python script, SetElementOverrides, calls for an Autodesk.Revit.DB.OverrideGraphicSettings object.
Is it possible to use the OOTB node by tweaking my script to cast the first object as the second type?
This is the set up for this process:
The error that I return from running the script as above is:
Thanks for reading