system.mes.batch.unit.getLink(name)

Sepasoft MES Module Suite

system.mes.batch.unit.getLink(name)

Return a link to the unit specified by the name parameter. Links are lightweight and hold the key information of an MES Object and link.getMESObject() can be used to get the actual MESUnit object.

getLink(name) → MESObjectLink

Syntax

getLink(name) → MESObjectLink

Parameters

String name - The name of the unit. Note, the names of units must be unique within a process cell.

Returns

The MESObjectLink for the unit.

Scope

All

Scripting Example

Python
UnitLink = system.mes.batch.unit.getLink('Kettle A')
Unit = UnitLink.getMESObject

Sepasoft MES Module Suite