What to do when you need to set and get a parameter
Once you have access to a element and want to change one of it's parameter,using the usual print(dir(myLayer)) method or Use Oil.docMe() to get a view of the possibilities
a best way to have an idea of what an object can do
Read More, we can see a few properties of interest:
for example we can set the label of the element