Layer Management with Parametric blocks Question

I'm in the process of moving Some AutoCAD Dynamic Blocks to BricsCAD but I'm noticing a few issues I don't fully understand…

I rely heavily on LISP to manager my layers states inside viewport but I'm noticing that Parametric Blocks visibility states are directly affect by layer states..

As an example when I thaw the layers all visible sates are turn on simultaneously… (or at least all graphics are visible for all visibility states.) so it's becomes an overlapping mess.

I's there any documentation on how I can get around this or how to better manage layers when using Parametric blocks?

I'm on BricsCAD Pro Version 23.2.06

Comments

  • Hello.

    When working with visibility states, there is a special layer *SUPPRESS added to the drawing.
    This layer is used to manage entities that should be hidden according to the current visibility state.
    By default, this layer is turned off and frozen.

    When working with lisp, this layer should be excluded from processing, so that it is left off and frozen.

    This layer is not listed in the Layers Manager, so it is not visible there.
    But this layer is considered when working with layer states.

    So, to precisely control its behavior when working with layer states, this layer should be included in all layer states as being off and frozen.

    When it is turned on and thawed, all entities on it - the hidden entities - become visible.

  • That make sense. Thanks for the response.