ACT-Based Property Parametrization in DesignModeler

In DesignModeler, it is possible to define ACT-based property values only as input parameters. This topic describes how to implement an input parameter on an ACT object in DesignModeler.

As with any other input parameter, to add an input to DesignModeler you must add the parameter isparameter to the XML file and set it to true. However, you are not able to add output parameters. The attribute readonly is not available for DesignModeler.

For example, in an ACT feature that generates a cylinder, you can add length as a parameter. The following excerpt from the XML file defines the parameter Length.

<geometry name="MyFeatureWithParameters" caption="MyFeatureWithParameters" 
icon="Construction" version="1">
	<callbacks>
        <ongenerate>generateMyFeature</ongenerate>
    </callbacks>
    <property name="Length" caption="Length" control="float" isparameter="true"></property>
 </geometry>

In DesignModeler, the check box next to the property Length allows you to parameterize it as an input parameter.

You could add a static structural analysis based on the previous Geometry template by adding an output parameter in the Static Structural analysis. This results in the following Project Schematic:

The input parameter defined in DesignModeler is managed in exactly the same way as other any other input parameter. In the Outline pane for the Parameter Set bar, the geometry input parameter is placed under the Geometry system.


Note:  The process of defining parameters under a load in a third-party solver for DesignModeler is identical to the process for defining input parameters in Mechanical. For more information, see ACT-Based Property Parametrization in Mechanical in the ACT Customization Guide for Mechanical.