I am new to QGIS (I am using QGIS 3.26). The bosses at my work want to get an automated process for converting simple data into maps for visualization purposes. So I started to learn Python used to write scripts in QGIS, however I got stuck at a certain point. The idea is to automatically import 2 vector layers (which I did) and have one of them automatically change its Project Style to 'Outline', the colour of that style to black and the opacity to something like 50%. Values currently less important. The problem is that I can't figure out how to access these variables from within Python. I know how to get to the Attributes, but the Properties remain a mystery to me.
I am attaching a visualisation of what I mean. enter image description here
