PP access to Operation variables in the var. table

@Loren , I moved this to a new thread.

You can access global var ‘cutDepth’ of the current Operation within the post processor (pp) directly by the name ‘cutDepth’, you don’t need the Operation name and index number to qualify it. Hopefully this solves your ask. Tip: when you set a breakpoint in the sheetcam debugger, you can examine the Stack in the split debugger window, the stack has local and global variables currently in scope that you can reference in your code.

Otherwise, Read/Write access to an Operation variable in “var.” table in a pp is also possible using a dynamic variable name that you construct as a string var in the post processor. For example code on how to do this, see the following thread and either pp attached to it. Post Processor Example w Custom Options popup window - #13 by sheetcamCS2
This statement in either of those pps will demo some Lua code as such.
_G[varName] = _G[varName..mSCOx] -- assign from SCO field

see also the Lua doc here- Lua 5.1 Reference Manual - contents