Furniture

<?xml version="1.0" encoding="UTF-8"?>
<furniture
  symbolInstance="F-2-0"

  x="0.61257"
  snappedX="-0.00054"
  y="1.21522"
  snappedY="0.78501"

  width="1.83600"
  snappedWidth="1.83600"
  depth="0.82584"
  snappedDepth="0.82584"
  angle="3.14173"
/>

The <furniture>-element represents a piece of furniture in the current room.

Screenshot

Attribute

Description

symbolInstance

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

snappedX

The horizontal position of the piece of furniture corrected relatively to the center of the project, in meters, as a floating point number. This value should be used when drawing an assembled project.

snappedY

The vertical position of the piece of furniture corrected relatively to the center of the room, in meters, as a floating point number. This value should be used when drawing an assembled project.

snappedWidth

The width of the piece of furniture in meters corrected relatively to the center of the room, represented by a floating point number. This value should be used when drawing an assembled project.

snappedDepth

The depth of the piece of furniture in meters corrected relatively to the center of the room, represented by a floating point number. This value should be used when drawing an assembled project.

angle

The angle of the piece of furniture in radians, as a floating point number.

XML SchemaCopied!

<xs:element name="furniture">
  <xs:complexType>
    <xs:attribute name="symbolInstance" type="xs:string" use="required"/>
    <xs:attribute name="snappedX" type="xs:decimal" use="required"/>
    <xs:attribute name="snappedY" type="xs:decimal" use="required"/>
    <xs:attribute name="snappedWidth" type="xs:decimal" use="required"/>
    <xs:attribute name="snappedDepth" type="xs:decimal" use="required"/>
    <xs:attribute name="angle" type="xs:decimal" 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>