WALL_DIRECTION is the global variable I meant.
I like to add some text to my 2D script to show all the various variables so I can place windows in various rotations, mirrored, flipped, different wall angles and rotate the plan window and see what the values are in each instance.
Space the text out and use different pen colours so you know what each one is - or you could add extra text for a description (but I am lazy).
You can leave it all in the script and just comment it out so it is there if you ever need to check it in the future.
text2 0,0, WALL_DIRECTION
text2 0,0.5, SYMB_ROTANGLE
text2 0,1, SYMB_MIRRORED
text2 0,1.5, _angleViewRot
One of the forum moderators.
Versions 6.5 to 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10