<extension>

The main element for an XML extension definition file is the <extension> element, which provides initialization and configuration information for the extension. This is the base tag or “root” element under which all other elements fall.

<extension version="[version number]" minorversion="[minor version number]" 
name="[extension name]">
          <author>author name</author>
          <description>description of the extension</description>
          <assembly src="[source file name (string)]" 
              namespace="[namespace (string)]"/>
</extension>

Beneath the <extension> element are the secondary elements that make up the extension.

The secondary elements and the attributes for the <extension> element follow. Click the links to access the corresponding sections in this document.

Secondary XML elements under the <extension> element

<Application>

Defines a new ACT app.

<appStoreId>

Defines a unique identifier for the ACT app to be used in the ANSYS App Store.

<assembly>

Defines the assembly to be loaded.

<author>

Defines the author of the extension.

<description>

Defines the description of the extension.

<Guid>

Defines a unique identifier for the extension.

<Interface>

Specifies the customizations to be done at the GUI level.

<Licenses>

Defines a licenses collection for the extension.

<script>

Specifies the IronPython script that defines the functions called by the extension.

<simdata>

Defines a general section that stores all user object definitions; specifies the custom features to be integrated.

<Templates>

Defines a collection of control templates.

<UIDefintion>

Defines the user interface (customized panels and layouts) for the extension.

<Wizard>

Defines one or more wizards within the extension.

<Workflow>

Defines custom workflows composed of process integration items (tasks and task groups).

Attributes for the <extension> element

version

Major version of the extension.

Mandatory attribute.

version="[version number (integer)]" 

name

Name of the extension.

Mandatory attribute.

name="[extension name (string)]"

minorversion

Minor version of the extension.

Optional attribute.

minorversion="[minor version number (integer)]"

debug

Specifies if the scripted version of the extension should be opened in the debug mode.

Optional attribute.

icon

Icon for the extension.

Optional attribute.


Release 18.2 - © ANSYS, Inc. All rights reserved.