screenset getlayer ?? layerfield??
Posted: Fri Dec 01, 2017 2:57 pm
I know that there is a setlayer function,
and I know that there are a number of LED's (50) which illuminate depending upon which screenset layer is in focus / selected
But I was wondering if there was a "getlayer" function or a field number which would be able to return the current screenset layer number?
I am toying with some macros and macoloops which I am intending will utilse a switch statement to use the toolpath view to display something depending upon which layer is active
It seems that we can have layers numbered up to 999, hence lets say I had some screensets which were 900 - 950, if I were able to know which of the ones were active I would be able to use the macroloop to calculate some gcode on the fly, compile / create a gcode file, and load the file which would display the gcode....
That's an option... but I need to know what the current layer is....
Thanks in advance as always
and I know that there are a number of LED's (50) which illuminate depending upon which screenset layer is in focus / selected
But I was wondering if there was a "getlayer" function or a field number which would be able to return the current screenset layer number?
I am toying with some macros and macoloops which I am intending will utilse a switch statement to use the toolpath view to display something depending upon which layer is active
It seems that we can have layers numbered up to 999, hence lets say I had some screensets which were 900 - 950, if I were able to know which of the ones were active I would be able to use the macroloop to calculate some gcode on the fly, compile / create a gcode file, and load the file which would display the gcode....
That's an option... but I need to know what the current layer is....
Thanks in advance as always