Modelical | ColorByParameter | Python code edit help needed

I am looking at this https://forum.dynamobim.com/t/element-overrideinview-but-for-multiple-views/37072/6 topic. To put it differently :sweat_smile:, i am NOT to lazy to find out myself, but i am a bit under time pressure.