Sepasoft MES Module Suite
copyFormula(copyFromLink: MESObjectLink newName: String = None parentLink: MESObjectLink = None )
Create and return a copy of an existing formula and optionally provide a new name. The new formula needs to be saved after being copied.
Returns
A copy of the passed in formula that can be saved.
Parameters
copyFromLink: MESObjectLink A formula link to make a copy of.
newName - Optional: String Optionally provide a new name for the copied formula. Default: None
parentLink - Optional: MESObjectLink. An optional link to a parent BatchFormulaClass object. If not provided, then it assigns the BatchFormulaRoot object as the parent.
Default: None
Sepasoft MES Module Suite