Room

<?xml version="1.0" encoding="UTF-8"?>
<floorRoom
  uid="1441896884.002797"
  type="Kitchen"

  x="-7.72971"
  y="-3.49303"
  rotation="0.0"

  perimeter="16.96300"
  area="13.74133"
>
  <point></point>
  <door />
  <window />
  <furniture />
  <values></values>
</floor>

Each <floor>-element can contain multiple rooms (<floorRoom>).

The <floorRoom>-element describes each room individually. See also Exploded Floor if you prefer a description of all the rooms on the whole floor.

Attribute

Description

uid

Unique id of a room as assigned by magicplan in order to track a room.

type

The type of room. The text description may be part of the predefined list of rooms in English or an ad hoc description entered by the user in any language.

x

The horizontal position of the center of the room on the project in meters as a floating point number.

y

The vertical position of the center of the room on the project in meters as a floating point number.

rotation

The angle of the floor in radians.

Optional attributes

Attribute

Description

perimeter

The perimeter of the floor in meters.

area

The area of the floor in square meters.

XML Schema

<xs:element name="floorRoom">
  <xs:complexType>
    <xs:sequence>
      <xs:choice maxOccurs="unbounded">
        <xs:sequence>
          <xs:element name="point" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:sequence>
          <xs:element name="door"/>
        </xs:sequence>
        <xs:sequence>
          <xs:element name="window"/>
        </xs:sequence>
        <xs:sequence>
          <xs:element name="furniture"/>
        </xs:sequence>
        <xs:element name="values" minOccurs="0"/>
      </xs:choice>
    </xs:sequence>
    <xs:attribute name="uid" type="xs:string" use="required"/>
    <xs:attribute name="type" type="xs:string" use="required"/>
    <xs:attribute name="x" type="xs:decimal" use="required"/>
    <xs:attribute name="y" type="xs:decimal" use="required"/>
    <xs:attribute name="rotation" type="xs:decimal" use="required"/>
    <xs:attribute name="perimeter" type="xs:decimal"/>
    <xs:attribute name="area" type="xs:decimal"/>
  </xs:complexType>
</xs:element>