Forum Replies Created

  • Markus Hahne

    December 16, 2019 at 10:17 pm in reply to: Change layer visibility via Essential Graphics

    Hi! Two things to solve this:
    1. The decimal uses dots, not commas. So it should be <= 0.02

    2. Since the new JavaScript engine is implemented you have to use more strict coding:
    if ( Math.floor( ctrl ) <= 0.02 ) {100} else {0};
    Another solution is to change back to the Legacy ExtendScript in the project settings and it will work without the curly brackets.

    Best wishes
    Markus

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy