Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Exercise: Using a Recipe to Adjust Parameters

Table of Contents
minLevel1
maxLevel4
include
outlinefalse
indent
excludeExercise: Using a Recipe to Adjust Parameters
typelist
class
printabletrue

Recipe Configuration

  1. Begin by creating 4 Tags. The first tag will be named “Record_ID”, its Data Type will be an INT (INT16), and the Initial Value is 0. The second tag will be named “Width”. It will also have a Data Type of INT (INT16), it will also have an Initial Value of 300. There will also be a String tag named “Color”; the Initial Value is #FF0000. Finally, the last tag will be a BOOL tag named “Visibility”, it’s Initial Value will be set to “True”.

Image Added

Image Added

Image Added

Image Added

  1. Go to Tools > Recipe Editor, or click on Open Recipe Editor… icon within the Toolbar. Click the + to create a new Recipe. The Record ID Tag will be set to the “Record_ID” tag that was created in Step One. Once that is set, click OK to create the Recipe. Select the new Recipe, and click on Edit Parameter Bindings. Create new Parameters until there are three Parameters; this can be achieved by clicking the + icon on the Tag Binding Page. Set the first parameter tag to be Width, the second should be Color, and the third will be Visibility. Click OK to exit the page.

Image Added

  1. Now, double-click the blank cell under Width. Enter a value of 300 here. Again, double-click Color to change the value to #0000FF. Lastly, double-click the blank visibility cell and have the value set to 1. Click OK to exit out of the Recipe Editor.

Image Added

Recipe Runtime