Tree Structure - Overview

Defining Structure Rules and Dependencies

To be able to structure trees, the rules about their structure and dependencies are defined in the structure templates (XML files).

  • Assignment

    • Location

    • Sheets

    • Devices

      • Sub-structure

 

This structure template is then loaded into project using the Structure Template File option in the Project Properties.

 

 

Adding empty structures

 

To define a hierarchical structure of project, higher level assignment and location, empty folders are created.

 

Components and sheets can then be placed by Drag&Drop from within the Database tree into the desired structure level.

User-defined structure attributes

In addition to the Assignment and Location, any attribute can be used to structure the objects.

 

Meaning of the XML Tree Structure File

The following example shows the XML elements for the XML tree structure file:

 

<?xml version="1.0" encoding="UTF-8"?>

<StructureTemplate>

    <Project>

        <Attribute Name="SUBPROJ">

            <Assignment>

                <Assignment>1</Assignment>

                <Location>

                    <Location>1</Location>

                        <Device>1</Device>

                        <Sheet>1</Sheet>

                        <ValidAttribute>Structure_Node_Attribute</ValidAttribute>

                    </Location>

                    <Sheet>1</Sheet>

                    <ValidAttribute>Structure_Node_Attribute</ValidAttribute>

                </Assignment>

                <Sheet>1</Sheet>

                <ValidAttribute>Structure_Node_Attribute</ValidAttribute>

            </Attribute>

        <Sheet>1</Sheet>

    </Project>

</StructureTemplate>

 

Meaning of the XML Elements

<?xml version="1.0" encoding="UTF-8"?>

XML declaration

 

<StructureTemplate>

Root element

 

<Project>

Root element

 

<Assignment>

Assignment

 

<Assignment>

Assignment

 

<Location>

Location

 

<Device>

Device

 

<Sheet>

Sheet