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.

Point
Each <wire>
-element has one <point>
-element for each point that makes up the wire.
Attribute |
Description |
---|---|
|
The horizontal position of the point relatively to the center of the floor, in meters, as a floating point number. |
|
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 |
---|---|
|
The type of anchor the wire point is attached to. |
|
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: |
XML SchemaCopied!
WiresCopied!
<xs:element name="wires">
<xs:complexType>
<xs:sequence>
<xs:element name="wire" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
Wire
<xs:element name="wire">
<xs:complexType>
<xs:sequence>
<xs:element name="symbolInstance"/>
<xs:element name="first" type="anchor" minOccurs="0"/>
<xs:element name="last" type="anchor" minOccurs="0">
<xs:element name="point" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="x" type="xs:decimal" use="required"/>
<xs:attribute name="y" type="xs:decimal" use="required"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:complexType name="anchor">
<xs:attribute name="type" type="anchorType"/>
<xs:attribute name="tag" type="anchorTag"/>
</xs:complexType>
<xs:simpleType name="anchorType">
<xs:list>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="point-room"/>
<xs:enumeration value="point-wallitem"/>
<xs:enumeration value="point-furniture"/>
<xs:enumeration value="segment-room"/>
<xs:enumeration value="segment-wallitem"/>
<xs:enumeration value="segment-furniture"/>
</xs:restriction>
</xs:simpleType>
</xs:list>
</xs:simpleType>
<xs:simpleType name="anchorTag">
<xs:list>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="electrical"/>
<xs:enumeration value="plumbing"/>
</xs:restriction>
</xs:simpleType>
</xs:list>
</xs:simpleType>