set_background
Apply a built-in or custom image as the background of a Packet Tracer physical location or logical workspace, and clear it with an empty value.
Instructions
Paper a physical location (a city, building, room or rack) with a background image, or the logical workspace when no location is given. Takes one of Packet Tracer's own backgrounds (grid_10x10, grid_25x25, grid_50x50, grid_100x100, city, building, intercity, container) or the absolute path of an image; an empty image clears it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | One of Packet Tracer's own backgrounds (`grid_10x10`, `grid_25x25`, `grid_50x50`, `grid_100x100`, `city`, `building`, `intercity`, `container`) or the absolute path of an image file. An empty value clears it. | |
| tiled | No | Repeat the image instead of stretching it. | |
| location | No | Path of the physical location to paper, as listed by `list_locations`. Omit to change the logical workspace's background instead. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | The path Packet Tracer now has. | |
| tiled | Yes | ||
| target | Yes | The location that got the background, or `logical workspace`. |