TraCI/GUI Value Retrieval
Command 0xac: Get GUI Variable
| ubyte | string |
| Variable | View ID |
|---|
Asks for the value of a certain GUI variable. The view id is usually something like "View #0", where the last digit counts the open (sub-)windows in the simulation GUI.
The following variable values can be retrieved, the type of the return value is also shown in the table.
| Variable | ValueType | Description |
|---|---|---|
| zoom (0xa0) | double | the current zoom level (in %) |
| offset (id 0xa1) | 2D-position | the center of the currently visible part of the net |
| schema (id 0xa2) | string | the visualization scheme used (e.g. "standard" or "real world") |
| boundary (id 0xa3) | 2D-polygon | the lower left and the upper right corner of the visible network |
Response 0xbc: GUI Variable
| ubyte | string | ubyte | <return_type> |
| Variable | View ID | Return type of the variable | <VARIABLE_VALUE> |
|---|
The respond to a "Command Get GUI Variable".
This page was last modified on 13 July 2011, at 14:02.