Run Set Recipe for Equipment

Run Recipe

Now that a recipe has been created, we can apply it's stored values to Production Equipment using the setItemRecipe() script function.  The item in this case, is the Equipment Item that we wish to have the relevant settings.

Complete the following steps using the 02_Production Control screen recently configured:


Create a Recipe

  • Enter "Script Recipe 1" into the Text Field component.
  • Press the Set Recipe Values for Equipment button. The script in the actionPerformed event handler will assign the recipe Script Recipe 1 to Line 1.