I'm building this script from the ground up to remove switch nodes. I am aware that I can do this safely in the PostWalk.
Here's the relevant conundrum:
code = mgGetCode(rec)
and I print that code, I get 362. If I do this:
if code == fltSwitch:
then this code executes.
What's going on, why does the print see this as 362?