1. #1
    Member User Gallery
    Join Date
    Dec 2004
    Posts
    67

    Default How to manipulate layers from ZScripts?

    Layer buttons are not like other buttons; they can either be on or off (visible or invisible), and in addition one of them is always active (pressed).

    Will IEnable, IDisable, and IPress map to these states correctly? In other words, does,

    [IPress Layer:LayerN] --> make layer n the active layer
    [IEnable Layer:LayerN] --> make layer n visible
    [IDisable Layer:LayerN] --> make layer n invisible

    Sorry for posting before trying, but figuring out all of this via experimentation is _extremely_ time consuming.

    Thanks,
    Ken

  2. #2
    Senior Member User Gallery
    Join Date
    Jan 2003
    Location
    NYC
    Posts
    1,625

    Default

    A while back that issue came up for me too. Look at > > THIS < < thread for two different approaches... especially TVeyes insightful tip on using the [IGetFlags] command - tells you everything you need to know.

    Sven

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •