Floor

<?xml version="1.0" encoding="UTF-8"?>
<floor
  floorType="0"
  areaWithoutWalls="12.50"
  areaWithWalls="17.97"
  areaWithInteriorWallsOnly="12.50"
>
  <symbolInstance></symbolInstance>
  <floorRoom></floorRoom>
  <exploded></exploded>
  <wires></wires>
</floor>

Each <plan> element contains a list of <floor> elements, representing the floor levels in a floor plan.

Attribute

Description

floorType

A number representing the type of floor. See list of available types of floor.

areaWithoutWalls

Pre-computed number representing the area without walls.

areaWithWalls

Pre-computed number representing the area with walls.

areaWithInteriorWallsOnly

Pre-computed number representing the area with only interior walls.

Exploded Floor vs. Room

Each <floor>-element contains two equivalent descriptions of the same project:

  1. The <exploded>-element represents the whole floor with absolute coordinates. Walls and doors are only described once in this representation and are not grouped per room. This representation is convenient for drawing the floor when you only need a line drawing without the room nomenclature.

  2. A list of <floorRoom>-elements describe each room individually. Connecting walls and doors are described twice in this format, once for each room. This representation is semantically rich and allows determining in which room lies any [x, y] coordinate on the project.

In both representations, the coordinates of a wall are positioned on an imaginary line located at the center of the wall, see also Point. To compute the length of the wall surface you need to offset these points from the center of the wall to the wall’s surface.

XML SchemaCopied!

<xs:element name="floor">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="symbolInstance" minOccurs="0" maxOccurs="unbounded"/>
      <xs:element name="floorRoom" maxOccurs="unbounded"/>
      <xs:element name="exploded"/>
      <xs:element name="wires" minOccurs="0"/>
    </xs:sequence>
    <xs:attribute name="floorType" type="xs:string" use="required"/>
    <xs:attribute name="areaWithoutWalls" type="xs:decimal"/>
    <xs:attribute name="areaWithWalls" type="xs:decimal"/>
    <xs:attribute name="areaWithInteriorWallsOnly" type="xs:decimal"/>
  </xs:complexType>
</xs:element>