fabiof17
(Fabrice Fernandez)
June 8, 2019, 11:19pm
1
Is it even possible ?
I’m trying to get the ‘diskCachePath’ setting.
I’ve tried using the ‘NatronEngine.AppSettings.getParams ()’ for the ‘AppSettings’ class.
But script returns an error saying ‘getParams ()’ needs an argument, although doc says it doesn’t require any.
If anyone has any clue on this.
Thanks.
devernay
(Frédéric Devernay)
June 10, 2019, 5:04am
2
you should call getParams() on an AppSettings instance: NatronEngine.natron.getSettings().getParams()
NatronEngine.natron.getSettings().getParam('diskCachePath')
fabiof17
(Fabrice Fernandez)
June 10, 2019, 5:18pm
3
Thanks Frédéric, working like a charm.