set_defx variable parameter value
When we have common values to set for many parameters we may use the
set_defx
command. For example take the following settings:
set_def FIJ.HIDDEN.NAME "Window size for good data scan" set_def FIJ.HIDDEN.MIN 1 set_def FIJ.HIDDEN.MAX 200 set_def FIJ.HIDDEN.VALUE 100 set_def ASSEMBLE.HIDDEN.NAME "Window size for good data scan" set_def ASSEMBLE.HIDDEN.MIN 1 set_def ASSEMBLE.HIDDEN.MAX 200 set_def ASSEMBLE.HIDDEN.VALUE 100
The repetition here of common elements is tedious. Using set_defx
the
equivalent becomes:
set_defx defs_hidden NAME "Window size for good data scan" set_defx defs_hidden MIN 1 set_defx defs_hidden MAX 200 set_defx defs_hidden VALUE 100 set_def FIJ.HIDDEN $defs_hidden set_def ASSEMBLE.HIDDEN $defs_hidden