# Legacy SVG assets

> Older SVG asset types (gate valve, centrifugal pump, cone tank, heat exchanger, AC motor, transmitter), still drawn for screens that use them.

Product: eaxScada · Type: Reference · Editions: Starter
Source: https://eaxware.com/docs/eaxscada/reference/generated/widgets/legacy/legacy-svg-assets/
Verified against commit 824db59.

<!-- GENERATED by tools/docgen (node tools/docgen/docgen.mjs). Do not edit by hand: change the source and regenerate. -->

Six older object types drawn from fixed SVG pictures: `valve_gate`, `pump_centrifugal`, `tank_cone`, `heat_exchanger`, `motor_ac` and `sensor_trans`. Screens that use them keep working, but they are no longer in the palette: for new screens use the [ISA valve](/docs/eaxscada/reference/generated/widgets/equipment/isa-valve/), [ISA pump](/docs/eaxscada/reference/generated/widgets/equipment/isa-pump/), [storage tank](/docs/eaxscada/reference/generated/widgets/equipment/storage-tank/), [heat exchanger](/docs/eaxscada/reference/generated/widgets/equipment/heat-exchanger/), [drive motor](/docs/eaxscada/reference/generated/widgets/equipment/drive-motor/) and [transmitter](/docs/eaxscada/reference/generated/widgets/equipment/transmitter/). Placed from JSON, they get the designer's default properties for an unknown object, listed below; only the position, size, fill, stroke and label are used.
[Image: Legacy SVG assets in the operator runtime]
|  |  |
|---|---|
| Palette | Not in the palette: kept for screens made with earlier versions. |
| JSON `type` | `valve_gate`; also read: `pump_centrifugal`, `tank_cone`, `heat_exchanger`, `motor_ac`, `sensor_trans` |
| Name in the inspector | Valve gate |
| Size | a resize is stored as a scale (`scaleX`, `scaleY`); `width` and `height` keep the size it was drawn at |

## Properties

| Shown as | Key | Type | Unit | Default | Allowed values | What it does |
|---|---|---|---|---|---|---|
| W | `width` | Number | px | `260` |  | Width of the object's box. Objects sized by scale keep their drawing and use it only as the selection box. |
| H | `height` | Number | px | `200` |  | Height of the object's box. |
| — | `label` | Text |  | `"COMPONENT INSTANCE"` |  | The object's name. |
| — | `templateId` | Text |  | — |  | Not used by these types (the designer's default for an unknown object). |
| — | `instanceMode` | Text |  | `"manual"` |  | Not used by these types. |
| — | `instanceParams` | Object |  | object, see below |  | Not used by these types. |
| — | `udtId` | Text |  | — |  | Not used by these types. |
| — | `udtRootPath` | Text |  | — |  | Not used by these types. |
| — | `fill` | Colour |  | `"transparent"` |  | Fill colour of the picture. |
| — | `stroke` | Colour |  | `"transparent"` |  | Outline colour of the picture. |
| X | `x` | Number | px | — |  | Horizontal position of the object's top-left corner on the screen, in screen pixels from the left edge. |
| Y | `y` | Number | px | — |  | Vertical position of the object's top-left corner, in screen pixels from the top edge. |
| Rotation | `rotation` | Number | ° | — |  | Rotation of the object, clockwise, in degrees. |
| Opacity | `opacity` | Number |  | — |  | 0 (invisible) to 1 (opaque). An object disabled by an interlock is drawn at 0.45 whatever this says. |
| Scale X | `scaleX` | Number |  | — |  | Horizontal scale factor (1 = drawn size). Set by resizing an object that is sized by scale. |
| Scale Y | `scaleY` | Number |  | — |  | Vertical scale factor (1 = drawn size). |
| States | `states` | Object |  | — |  | This object's own state styles (normal, hover, pressed, on, disabled, bad, locked, unconfigured), edited in the inspector's States section. Visual only. Empty: the project's state styles. |
| State family | `styleFamily` | Text |  | — |  | The state family whose project styles apply (button, input, toggle, selector, faceplateButton, default). Empty: the family of the object's type. |
