This bit field defines the behavior of a given entity, regarding its visibility, color, transparency, layer, line pattern and line width, given its position in the tree of entities. The inheritance works as follows:
Following the path of a leaf in the tree of entities:
To determine the value of a son regarding his father, the following rules can be applied:
Following are different configurations that can be found:
![]() | This tree has no flag; each node defines its own color. This is the reference. Each following diagram is the same than this one, but with different flags on some nodes. The 'S' means that the node has a SonHerit flag, the 'F'; that the node has a FatherHerit flag. |
![]() | The second leaf does not have a SonHerit flag. It takes the pattern of its father. |
![]() | The second leaf does not have a SonHerit flag, and also its father. So it takes its own value of pattern. |
![]() | The second node has a FatherHerit flag. Its sons don't have any flag. They take the pattern of their father. |
![]() | The second node has a FatherHerit flag. The first leaf has a SonHerit flag. It takes its own pattern. But the second leaf doesn't have a SonHerit flag, so it takes the pattern of its father. |
![]() | The root node has a FatherHerit flag. The entire tree takes its pattern. |
![]() | The root node has a FatherHerit flag. The second node too, so it takes the pattern of its father. The first leaf has a SonHerit flag, so it takes its own pattern. But the second leaf has no flag, so it takes the pattern of its father. |
NB1: The SonHerit flag overrides the FatherHerit flag.
NB2: If a SonHeritShow or a FatherHeritShow flag is set, the Show flag is ignored.