system.mes.batch.recipe.createRecipe(name, parentLink)

Sepasoft MES Module Suite

system.mes.batch.recipe.createRecipe(name, parentLink)

Create a master recipe object that can be further configured. The Procedure logic object can be created from this master recipe object using the createLogic function.

createRecipe(name, parentLink) → BatchMasterRecipe

Syntax

createRecipe(name, parentLink)

  • Parameters

String name - The name of the new master recipe.

MESObjectLink parentLink - A required link of the master recipe class to add the recipe to.

  • Returns

 A new unsaved BatchMasterRecipe object.

  • Scope

All

Python
bmr = system.mes.batch.recipe.createRecipe()

Output

Python
BatchMasterRecipe (b189ebef-5f85-4f69-ad5e-91afa0d008f4, , 1 parents, 0 children, 0 custom properties, 2 complex properties, artifacts not loaded)

Sepasoft MES Module Suite