The extension Parametric demonstrates the creation of a
parametric task group using the attribute isparametricgroup.
When set to true, this attribute indicates that the task
group operates only on design points. As such, the task group is added below the
Parameter Set bar. The focus on parameters in this example
enables you to incorporate DesignXplorer-like functionality.
The XML extension definition file Parametric.xml performs the following actions:
References the IronPython script parametric.py.
Defines a single task in the <tasks>
block.
Defines the inputs and outputs in the
<inputs> and
<outputs> blocks. Note that an empty
input is defined.
Defines a single task group with a single task in the
<taskgroups> block. Note that the
attribute isparametricgroup is set to
true.
The file Parametric.xml follows:
<extension version="1" name="Parametric">
<guid shortid="Parametric">69d0095b-e138-4841-a13a-de12238c83f5</guid>
<script src="parametric.py" />
<interface context="Project">
<images>images</images>
</interface>
<workflow name="wf2" context="Project" version="1">
<tasks>
<task name="Parametric" caption="Parametric" icon="parametric_component" version="1">
<callbacks>
<onupdate>update</onupdate>
</callbacks>
<inputs>
<input/>
</inputs>
<outputs/>
</task>
</tasks>
<taskgroups>
<taskgroup name="Parametric" caption="Parametric" icon="parametric"
category="ACT Custom Workflows" abbreviation="PARAMS" isparametricgroup="True" version="1">
<includeTask name="Parametric" caption="Parametric"/>
</taskgroup>
</taskgroups>
</workflow>
</extension>