numeric
The visibility status of ident. This element is available only to the following identifiers:
gstructure and compound definitions defining the class visibility for all objects of the type.
child elements of compound definitions of the first generation defining their class visibility.
gstructure and compound objects, defining the visibility of the object.
The visibility has a value (0,1 or -1), indicating whether the graphics of the identifier are to be drawn or not. Its value has the following meanings:
1 - Always draw the graphics.
0 - Never draw the graphics.
-1 - Look at the visibility of the class of the identifier, which will indicate whether or not identifiers of that class are to be drawn.
Setting the value to anything else will be treated as 1.
At identifier creation time, its value is -1. For new structure definitions the default value is 1.
Create a gstructure definition and define its class visibility.
atable test # Define a gstructure. gstructure ~test.gtype { string value } ~test.gtype.visibility = 1
Create a gstructure object and define its visibility.
~test.gtype myline = lines { pseries } myline.visibility = 0
Create a compound definition and define its class visibility, and the class visibility of 1 of its child elements.
# Define a compound. gstructure ~test.chair { entity seat entity arms[2] entity legs[4] } ~test.chair.visibility = 1 ~test.chair.arms.visibility = -1
Create a compound object and define its visibility.
~test.chair mychair mychair.visibility = 0