A bit lost on that part
is there an example file to follow the logic and syntax :)
"When ever user click button, add action in the property field.
for example: Xmaxplot[ns]=xxx (name of the variable you want to save)
and set the number of polygon to ns;"