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

&lt;xs:element name="floorRoom"&gt;
  &lt;xs:complexType&gt;
    &lt;xs:sequence&gt;
      &lt;xs:choice maxOccurs="unbounded"&gt;
        &lt;xs:sequence&gt;
          &lt;xs:element name="point" maxOccurs="unbounded"/&gt;
        &lt;/xs:sequence&gt;
        &lt;xs:sequence&gt;
          &lt;xs:element name="door"/&gt;
        &lt;/xs:sequence&gt;
        &lt;xs:sequence&gt;
          &lt;xs:element name="window"/&gt;
        &lt;/xs:sequence&gt;
        &lt;xs:sequence&gt;
          &lt;xs:element name="furniture"/&gt;
        &lt;/xs:sequence&gt;
        &lt;xs:element name="values" minOccurs="0"/&gt;
      &lt;/xs:choice&gt;
    &lt;/xs:sequence&gt;
    &lt;xs:attribute name="uid" type="xs:string" use="required"/&gt;
    &lt;xs:attribute name="type" type="xs:string" use="required"/&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:attribute name="rotation" type="xs:decimal" use="required"/&gt;
    &lt;xs:attribute name="perimeter" type="xs:decimal"/&gt;
    &lt;xs:attribute name="area" type="xs:decimal"/&gt;
  &lt;/xs:complexType&gt;
&lt;/xs:element&gt;