AppClass documentation question

I’m trying to use some stuff taken from the AppClass doc: App Class - Derivative
Specifically these two:

app.addResolutionLimit(600, 480, 'secret123')  #undoable with password 
app.addResolutionLimit()  #permanent during length of session.

Getting an “invalid number of arguments” error for both.

app.addResolutionLimit(600, 480) # this works, but
app.removeResolutionLimit('secret123')  # without a password, this doesn't work either
app.removeResolutionLimit() # and neither does this

What’s the current syntax for setting/using a password for these things?

1 Like

Hi @AuralEye,

fixed the documentation to reflect that password is a keyword argument:

app.addResolutionLimit(600, 480, password='secret123')  #undoable with password
app.addResolutionLimit()  #permanent during length of session.
app.removeResolutionLimit(password='secret123')

Thanks for pointing this out
Cheers
Markus

1 Like