Window

<?xml version="1.0" encoding="UTF-8"?>
<window
  symbolInstance="W-0-1"

  x1="-8.435"
  y1="-6.036"

  x2="-6.447"
  y2="-6.036"

  width="1.988"
  depth="0.100"
  height="1.985"
  orientation="0"
/>

The <window>-element represents a window on the current floor. Each window is only represented once.

Attribute

Description

symbolInstance

The unique identifier of the <symbolInstance> element containing data attached to this window. The symbol instance contains the symbol ID.

x1

The horizontal position of the first extremity of the window relatively to the center of the project, in meters, as a floating point number.

y1

The vertical position of the first extremity of the window relatively to the center of the project, in meters, as a floating point number.

x2

The horizontal position of the second extremity of the window relatively to the center of the project, in meters, as a floating point number.

y2

The vertical position of the second extremity of the window relatively to the center of the project, in meters, as a floating point number.

width

The width of the window in meters represented by a floating point number. This value should be used when drawing an assembled project.

depth

The depth of the window in meters, as a floating point number.

height

The height of the window in meters, as a floating point number.

orientation

The orientation of the window. The orientation is a number between 0 and 3 specifying which way the window is facing and if it opens to the left or the right. This value should be used when drawing an assembled project.

XML SchemaCopied!

<xs:element name="window">
  <xs:complexType>
    <xs:attribute name="symbolInstance" type="xs:string" use="required"/>
    <xs:attribute name="x1" type="xs:decimal" use="required"/>
    <xs:attribute name="y1" type="xs:decimal" use="required"/>
    <xs:attribute name="x2" type="xs:decimal" use="required"/>
    <xs:attribute name="y2" type="xs:decimal" use="required"/>
    <xs:attribute name="width" type="xs:decimal" use="required"/>
    <xs:attribute name="depth" type="xs:decimal" use="required"/>
    <xs:attribute name="height" type="xs:decimal" use="required"/>
    <xs:attribute name="orientation" type="orientation" use="required"/>
  </xs:complexType>
</xs:element>

<xs:simpleType name="orientation">
  <xs:restriction base="xs:integer">
    <xs:minInclusive value="0"/>
    <xs:maxInclusive value="3"/>
  </xs:restriction>
</xs:simpleType>