When opening V4 objects containing layers, all existing layers
are preserved as is: the layers are stored in the V4 object.
The visualization filtering is computed during the
draw process, which means that the visualization of dittos is filtered when
the tree is parsed.
This enables a correct visualization when a V4 object is
instantiated many times under different dittos with different layer
filters.
Below is a sample of a V4 model aggregating two different dittos.
These two dittos aggregate the same objects but have different
visualization filters and different position matrices:
- Ditto 1 only shows objects in layers 0 and 1
- Ditto 2 only shows objects in layers 0 and 2.
Before
V5R16, the visualization was computed statically (i.e. at the time the
filters were applied). The result on screen was incorrect and incoherent
with the result obtained in V4:
As of V5R16, dittos' filters are managed in a
different way as explained below:
-
Under Ditto 1, only Ditto 3 and Object 1 are visible
(Object 2 is filtered because it is assigned to layer 2)
-
Under Ditto 2, we can only see Ditto 3 and Object 2
(Object 1 is filtered because it is assigned to layer 1).
The result on screen looks like this:
If neither Ditto 1 nor Ditto 2 had any layer
filter, the result on screen would look like this:
Layer filters created for dittos in V4
cannot be modified. However, you can modify the filter applied to the
Master using Layer Filter.