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

Sepasoft MES Module Suite

loadRecipeClass(name, parentLink)

Load the master recipe class object for the provided name and parent.

loadRecipeClass(name, parentLink) → BatchMasterRecipeClass

Syntax

loadRecipeClass(name, parentLink)

Parameters

String name - The name of the master recipe class to load.

MESObjectLink parentLink - An optional link for a master recipe class to find the specified name. If None is provided for this parameter, then it will assign the BatchRootMasterRecipe object as the parent.

Returns

 The matching BatchMasterRecipeClass object.

Scope

All

Sepasoft MES Module Suite