SymbolInstance

<?xml version="1.0" encoding="UTF-8"?>
<symbolInstance
  id="W-0-1"
  uid="5aec8193.14199fff"
  symbol="hingeddoor"
>
  <values></values>
</symbolInstance>

Symbol Instances are the primary source for information that the user may have entered in magicplan (e.g. piece of furniture or a door). It contains a list of predefined or custom attributes that holds each value entered by the user (see Values).

Information pertaining to a project, a room or a specific point inside a room are currently not stored in a symbol instance but on the element (<plan>, <floorRoom> or <point>) itself.

Each <floor> contains a list of <symbolInstance>-elements. Each of those elements describe an instance of a symbol on the current floor along with its parameters.

Attribute

Description

id

An identifier uniquely identifying the current symbol instance so it can be referenced from other elements, namely <door>, <window>, and <furniture>.

uid

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

symbol

The ID of the symbol represented by the symbol instance. This can also be custom symbol.

XML SchemaCopied!

<xs:element name="symbolInstance">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="values" minOccurs="0"/>
      <xs:element name="polylineData" minOccurs="0"/>
    </xs:sequence>
    <xs:attribute name="id" type="xs:string" use="required"/>
    <xs:attribute name="uid" type="xs:string" use="required"/>
    <xs:attribute name="symbol" type="xs:string" use="required"/>
  </xs:complexType>
</xs:element>