Extension XML

Format of customized extension.xml files.

XML Overview

The extension manager allows for additional plugin features to be loaded into the application through .xml, scripts, and resources. The extension .xml structure consists of a single top file which references all of the required resources by relative path of the extension folder.

Tags

section

Base container for the extension.
Attributes
name
Children
entry

entry

Each individual reference entry for the add on specified by name value pairs.
Attributes
name, value
Children
None

Options

name

Unique identifier for the extension

displayName

Name displayed in the extension manager

version

Version displayed in the extension manager

script

Relative path to Python script invoked on load

resources

Relative path to folder containing images and other resource files

Defaults to resources folder

ribbonxml

Relative path to the ribbon .xml file

contexts

Relative path to folder containing context scripts

Defaults to context folder

tclscript

Relative path to .tcl script invoked on load
Example XML
<section name="AddOn">
    <entry name="name" value="GeoD"/>
    <entry name="displayName" value="Geometry Director"/>
    <entry name="version" value="1.0"/>
    <entry name="script" value="geod.py"/>
    <entry name="resources" value="images"/>
    <entry name="resources" value="images/ribbon"/>
    <entry name="ribbonxml" value="ribbons/geodRibbon.xml"/>
    <entry name="contexts" value="contexts"/>
    <entry name="tclscript" value="contexts"/>
</section>