CenterEquipment

Given a name to an equipment, this will attempt to make it the middle of the screen, without changing the zoom.

Function

boolean CenterEquipment(equipmentName: string)

Parameters

  • equipmentName (string): the name of the equipment which will be centered.

Return Value

true if an equipment was successfully centered, false otherwise.

Example

Centers “Conveyor1”.

var success = SYM3.CenterEquipment('Conveyor1');