ScriptUtil

To facilitate the script programming, most of frequently used APIs are wrapped in the package org.csstudio.opibuilder.scriptUtil. The APIs are provided as static methods in different classes.

To use the APIs in ScriptUtil package, it must be imported to the script:

In JavaScript:

importPackage(Packages.org.csstudio.opibuilder.scriptUtil);

In Python:

from org.csstudio.opibuilder.scriptUtil import PVUtil
from org.csstudio.opibuilder.scriptUtil import ColorFontUtil
from org.csstudio.opibuilder.scriptUtil import DataUtil
from org.csstudio.opibuilder.scriptUtil import ScriptUtil
from org.csstudio.opibuilder.scriptUtil import ConsoleUtil

See ScriptUtil Javadoc

See How to Create Custom ScriptUtil