ViewportLayout control master collections
In This Topic
The ViewportLayout control master collections are listed and explained in the following table.
|
ViewportLayout.Blocks |
KeyedCollection of blocks definitions (see Block class). The blocks inside this collection are referenced by name inside the drawing by the BlockReference entities. |
ViewportLayout.Entities |
List of entities (see Entity derived classes). Every entity you see in the ViewportLayout control is an item of this collection. |
ViewportLayout.Layers |
KeyedCollection of layers (see Layer class). Layers allow entities to be grouped in logical sets. You can specify them when adding the entity in the Entities collection. Layers can be later turned on or off and their color/material may affect entity color. |
ViewportLayout.Materials |
KeyedCollection of materials (see Material class). Materials are used to improve the geometry visual appearance in Rendered display mode and define material properties for Finite Element Analysis. |
ViewportLayout.TextStyles |
KeyedCollection of text styles (see TextStyle class). Text styles are used in all entities that include text like Text, MultilineText, and all dimensions entities. |
ViewportLayout.LineTypes |
KeyedCollection of line types (see LinePattern class). Line types define the pattern used to draw curves. |
ViewportLayout.Groups |
List of List of integers. Each list of integers represent a group of entities that can be selected together. Entity.GroupIndex contains the group index instead. When the Entity.GroupIndex is -1 the entity does not belong to any group. |
Since Eyeshot version 5.0 the Labels collection has been moved at Viewport level to allow label drawing only on a specific Viewport.
ViewportLayout.Viewports[i].Labels |
List of labels (see Label derived classes). Labels are overlay texts or images anchored to a 3D point. The most common usage is to display a model vertex coordinates. | |