Layer not visible

Yeaha… version 11… But from the current point of view I would first try to create a Log with the Debugging Tool Debwin4. Maybe you can see there any interesting outputs for all your LlDefineVariableExt() calls with the mentioned variable OTHER.Layer if its updated as expected with the expected value. And often you can see within the Log outputs like them to identify the reason:

...
>OBJSTATE(<ObjectNameInDesigner>): WAITINGFORPRINT
Text({1FE59FF8-FD92-4C28-8BE8-52BDA32B9E45} ('clsObject::Draw()::!bPaint')): IDLE COUNTER -> 1
 not painted, reason(s): layer 2 not visible
<OBJSTATE(<ObjectNameInDesigner>): WAITINGFORPRINT
...

Maybe also the timing of updating the variable-contents could be the reason.