Wires

<?xml version="1.0" encoding="UTF-8"?>
<wires>
<wire>
  <symbolInstance> … </symbolInstance>
  <first type="point-wallitem" tag="electrical" />
  <point x="3.135146" y="0.648366" />
  <point x="3.950981" y="0.359526" />
  <point x="3.496292" y="-0.150126" />
  <point x="3.945985" y="-0.354645" />
</wire>
</wires>

Each <floor>-element can contain a list of <wire>-elements. A <wire> is not limited to a single room. For more information on wires, see also SymbolInstance.

Screenshot
Point

Each <wire>-element has one <point>-element for each point that makes up the wire.

Attribute Description
x The horizontal position of the point relatively to the center of the floor, in meters, as a floating point number.
y The vertical position of the corner relatively to the center of the floor, in meters, as a floating point number.
First, Last

The elements <first> and/or <last> are only present if the first/last points of the wire are attached to an anchor.

Each <wire>-element has one <point>-element for each point that makes up the wire.

Attribute Description
type The type of anchor the wire point is attached to. point-room: the wire is attached to a corner of the room point-wallitem: the wire is attached to a point on a wall item point-furniture: the wire is attached to a point on a piece of furniture segment-room: the wire is attached to a wall of the room segment-wallitem: the wire is attached to a segment on a wall item segment-furniture: the wire is attached to a segment on a piece of furniture
tag The tag of the anchor the wire point is attached to. Tags are custom values that can be defined to restrict which anchors. Predefined values include: electrical: the wire conducts electricity plumbing: the pipe carries water

XML Schema

Wires

&lt;xs:element name="wires"&gt;
  &lt;xs:complexType&gt;
    &lt;xs:sequence&gt;
      &lt;xs:element name="wire" maxOccurs="unbounded"/&gt;
    &lt;/xs:sequence&gt;
  &lt;/xs:complexType&gt;
&lt;/xs:element&gt;

Wire

&lt;xs:element name="wire"&gt;
  &lt;xs:complexType&gt;
    &lt;xs:sequence&gt;
      &lt;xs:element name="symbolInstance"/&gt;
      &lt;xs:element name="first" type="anchor" minOccurs="0"/&gt;
      &lt;xs:element name="last" type="anchor" minOccurs="0"&gt;
      &lt;xs:element name="point" maxOccurs="unbounded"&gt;
        &lt;xs:complexType&gt;
          &lt;xs:attribute name="x" type="xs:decimal" use="required"/&gt;
          &lt;xs:attribute name="y" type="xs:decimal" use="required"/&gt;
        &lt;/xs:complexType&gt;
      &lt;/xs:element&gt;
    &lt;/xs:sequence&gt;
  &lt;/xs:complexType&gt;
&lt;/xs:element&gt;

&lt;xs:complexType name="anchor"&gt;
  &lt;xs:attribute name="type" type="anchorType"/&gt;
  &lt;xs:attribute name="tag" type="anchorTag"/&gt;
&lt;/xs:complexType&gt;

&lt;xs:simpleType name="anchorType"&gt;
  &lt;xs:list&gt;
    &lt;xs:simpleType&gt;
      &lt;xs:restriction base="xs:string"&gt;
        &lt;xs:enumeration value="point-room"/&gt;
        &lt;xs:enumeration value="point-wallitem"/&gt;
        &lt;xs:enumeration value="point-furniture"/&gt;
        &lt;xs:enumeration value="segment-room"/&gt;
        &lt;xs:enumeration value="segment-wallitem"/&gt;
        &lt;xs:enumeration value="segment-furniture"/&gt;
      &lt;/xs:restriction&gt;
    &lt;/xs:simpleType&gt;
  &lt;/xs:list&gt;
&lt;/xs:simpleType&gt;

&lt;xs:simpleType name="anchorTag"&gt;
  &lt;xs:list&gt;
    &lt;xs:simpleType&gt;
      &lt;xs:restriction base="xs:string"&gt;
        &lt;xs:enumeration value="electrical"/&gt;
        &lt;xs:enumeration value="plumbing"/&gt;
      &lt;/xs:restriction&gt;
    &lt;/xs:simpleType&gt;
  &lt;/xs:list&gt;
&lt;/xs:simpleType&gt;