So I’m learning how to navigate Natron with Python, and having trouble. What I’m trying to do is pick an output format in Natron settings. I’m under the impression that before I pick a format, maybe I need to see what formats there are first, therefore, I’m trying to read Natron’s settings via code. According to the docs, NatronEngine.AppSettings.getParams() “Returns a sequence with all Param composing the settings.”. Yet, when I run that function, I get the following error:
While executing script: NatronEngine.AppSettings.getParams()Python error: Python exception: descriptor 'getParams' of 'NatronEngine.AppSettings' object needs an argument Traceback (most recent call last): File "<string>", line 1, in <module> TypeError: descriptor 'getParams' of 'NatronEngine.AppSettings' object needs an argument.
While the error message indicates NatronEngine.AppSettings.getParams() requires an argument, the documentation indicates no argument is necessary. Out of curiosity, I tried passing in a random string, then Natron complains with:
TypeError: descriptor 'getParams' requires a 'NatronEngine.AppSettings' object but received a 'str'
So is this function just not working, or am I calling it wrong? I’m calling it just like this: