Toggle Custom Parameter with script?

Hey,
How to toggle/activate a Custom Parameter with a script ?

I’ll add it to the wrapper. Until then:

parameter.setActive_(True/False)

print(parameter.active())

It work, but checkbox in UI don’t update.

I fixed that.