Element: graphic_window.fragments[ ]

Type

numeric

Description

The visibility status within "window" for entities with fragment attributes. Only graphic entities with a visible fragment are ever drawn in "window". A fragment attribute for an entity is an integer value greater or equal to zero.

This array only has values when fragments have been marked as invisible. Any fragment number beyond the length of this array is considered visible.

To make a fragment invisible, the corresponding element of this array should be set to zero, e.g.

mywin.fragments[10] = 0

or

set mywin.fragments[1:50] = 0

To make a fragment visible again, the corresponding array element should be set to non-zero, e.g.

mywin.fragments[10] = 1

The current length of this array will be the last referenced element index, or 0 if all array elements have a non-zero value.

New graphic windows have an empty fragments array, implying that all fragments are visible.