Button > open/close layer [1.17.4]

  • Hello everyone!
    I'm trying to develop a standalone optimized button to open/close various layers on my projects.
    Here is the piece of code for a layer containig a floorplan:

    The code seems to works fine but I would like to ask you for any suggestion on this regard (better ways / code optimization /...) - I'm working with the 1.17.4 release...
    Thanks in advance & best, DL

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!