The XML file has the element <extension>
as the base tag or
root node. It provides initialization and configuration information for the extension. All other
elements fall under the element <extension>
.
<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>
Descriptions follow of the secondary elements and attributes for the element
<extension>
. Click the links to view the corresponding sections in
this appendix.
Secondary XML elements under the element <extension>
- <application>
Defines a new ACT app or extension.
- <appstoreid>
Defines a unique identifier for the ACT app to use in the Ansys 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 interface 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 and 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 element <extension>
-
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.