I would like to run parameter scan from parameters listed in the .py file of the Main Python Script. However, I am unable to open the editor when I click on the parameters to be changed. I guess then I will have to input it manually in the xml file. I would highly appreciate if I can avail a template for the same.
I believe they need to be in the top level namespace (hence "global"). In the little demo snippet the "global MYVAR" line isn't needed if the CellSortingSteppable class is only reading, and not writing, the variable. All of your classes will have direct access to any variable defined outside the classes.
You can first try it without making the variables global (e.g., a variable in a class), it might work.