The Shape object is used to add simple 2D objects such as circles, squares, stars, etc. to a model. The DisplayModel input, which is restricted to ShapeModels, determines the type of 2D object that is displayed. It includes the keywords FillColour, LineColour, etc that that override the default values for these inputs that are provided by its ShapeModel. The easiest way to enter these inputs is to use the formatting buttons on the Control Panel.
Shape Inputs
Keyword |
Description |
Key Inputs |
|
Description |
A free-form string describing the object. |
Options |
|
AttributeDefinitionList, CustomOutputList |
See Section 6.2. |
Graphics |
|
Position, Alignment, Size, Orientation, Region, RelativeEntity, DisplayModel, Show, Movable, VisibleViews, DrawRange |
See Section 11.1. |
Shape Outputs
Output Name |
Description |
Format |
|
FillColour |
The colour with which the shape is filled. |
LineColour |
The colour with which the shape is outlined. |
Filled |
Determines whether or not the shape is filled. If TRUE, it is filled with a specified colour. If FALSE, it is hollow. |
Outlined |
Determines whether or not the shape is outlined. If TRUE, it is outlined with a specified colour. If FALSE, it is drawn without an outline. |
LineWidth |
Width of the outline in pixels. |
Entity and DisplayEntity |
|
Name, ObjectType, SimTime, Parent, Attributes, Custom Outputs, Position, Size, Orientation, Alignment, GraphicalLength, ObserverList, NextList, PreviousList |
See Section 10.1. |