Set Element Overrides - Transparency

For data mining, I want to change the visibility of captured elements to a different level of transparency in a specific view. So that the items not yet captured could be easily identified.
Is there any scrip to control the Transparency of elements?

Thank you very much! I have to update my Dynamo and try.

Yes, the “OverrideGraphicSettings.ByProperties” and “Element.OverrideInView” do exactly what I want.
Thank you!