Why are neither of the commands below returning details on the active layer method?
It works when I use the class iface.
help(activeLayer)
help(activeLayer())
This is the error I get
Traceback (most recent call last): File "C:\PROGRA~1\QGIS32~1.1\apps\Python39\lib\code.py", line 90, in runcode exec(code, self.locals) File "", line 1, in NameError: name 'activeLayer' is not defined