TraCI/Change Polygon State

= Command 0xc8: Change Polygon State = Changes the state of a polygon. Because it is possible to change different values of a polygon, the number of parameter to supply and their types differ between commands. The following values can be changed, the parameter which must be given are also shown in the table.

The message contents are as following:

type (0x4f)

color (0x45)

shape (0x42)

filled (0x55)

ADD (0x80)

If the polygon could not been added because another one with the same ID already exists within the layer, an error message is generated.

REMOVE (0x81)

If the named polygon can not be found in the given layer, all polygons with the given ID are removed (from all layers). If no polygon with the given ID could be found, an error message is generated.