Creating an Option Set for an Interpolation Routine

A special option set must be defined in the Tools\Interpolation Routine subdirectory of your ASCET installation for each user-defined interpolation routine.

  1. In the Tools\Interpolation Routine subdirectory, create a copy of the template file etas.aid.xml.template.
  2. Give the copy a unique name and the extension aid.xml (e.g., MyInterpolation.aid.xml).

    The extension is mandatory for interpolation routine option files.

  3. Edit the file and enter at least a unique identifier and a unique label for your interpolation routine.

    Note

    The words Linear and Rounded cannot be used as identifier; they are already in use.

    Identifier and label are specified in the Closedfirst two options declared in the file. Enter the values in the <DefaultValue>... lines.

    <!-- mandatory, fixed options -->

    <OptionDeclaration optionCategory="FIXED" xmlCategory="" optionClass="EtasStringOption" attributeName="Identifier">

    <Group/>

    <Label>Identifier</Label>

    <Description>Unique name for ASCET internal management of this interpolation routine.</Description>

    <Tooltip>Identifier for the interpolation routine</Tooltip>

    <DefaultValue>YourIdentifier</DefaultValue>

    </OptionDeclaration>

    <!-- required, variable options -->

    <OptionDeclaration optionCategory="FILE" xmlCategory="" optionClass="EtasStringOption" attributeName="Label">

    <Group/>

    <Label>Label</Label>

    <Description>Unique name to display the interpolation routine in ASCET.</Description>

    <Tooltip>Name of the interpolation routine</Tooltip>

    <DefaultValue>YourLabel</DefaultValue>

    </OptionDeclaration>

  4. If desired, enter values for the other options as well.

    The next time you start ASCET, the option set can be accessed in the ASCET options window, node Build\Interpolation Routine\<label>.

    Note

    All options except Identifier and Label can be changed in the ASCET options window. However, these changes are stored only locally.
    Default values entered in the option set can be transferred to another ASCET installation by copying the *.aid.xml file.

The files Rounded.aid.xml and Linear.aid.xml in the Tools\Interpolation Routine subdirectory contain the option sets for linear and rounded interpolation as provided by ASCET.

See also

Creating the Mapping for User-Defined Interpolation Routines

User-Defined Interpolation Routines

Component Manager – Setting ASCET Options