Polygon Value Retrieval

## Command 0xa8: Get Polygon Variable

ubyte | string
--- | ---
Variable | Polygon ID

Asks for the value of a certain variable of the named polygon.

The following variable values can be retrieved, the type of the return value is also shown in the table.

Overview Retrievable Polygon Variables

Variable | ValueType | Description | Python Method
--- | --- | --- | ---
id list (0x00) | stringList | Returns a list of ids of all polygons (the given polygon ID is ignored) | getIDList
count (0x01) | int | Returns the number of polygons (the given polygon ID is ignored) | getIDCount
type (0x4f) | string | Returns the (abstract) type of the polygon | getType
color (0x45) | ubyte,ubyte,ubyte,ubyte | Returns the color of this polygon (rgba) | getColor
shape (0x4e) | 2D-polygon | Returns the shape (list of 2D-positions) of this polygon | getShape
filled (0x55) | int | Returns whether this polygon is filled (1) or not (0) | getFilled
lineWidth (0x4d) | double | Returns the line width for drawing unfilled polygon | getLineWidth

### Response 0xb8: Polygon Variable

ubyte | string | ubyte | <return_type>
--- | --- | --- | ---
Variable | Polygon ID | Return type of the variable | <VARIABLE_VALUE>

The respond to a "Command Get Polygon Variable".

#### Search

Enter your search terms:

#### Keyboard Shortcuts

Key | Action
--- | ---
`?` | Open this help dialog
`s` | Search the Documentation
`e` | Edit current page on GitHub