ZBrushCentral

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

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