hook_<libraryPrefix>_highlightElementarySymbol()

This function determines whether an elementary symbol is highlighted.

Synopsis

bool hook_<libraryPrefix>_highlightElementarySymbol(string sDpe);

Parameter

Parameter Description
sDpe Name of the datapoint element to which the elementary symbol references.

Return Value

TRUE = Elementary symbol is highlighted

FALSE = Elementary symbol is not highlighted

Description

This function determines whether an elementary symbol is highlighted.

Note that if a rule has already been created for this element, the rule is then combined with this function by using OR.

By default, all elementary symbols in the faceplate are not highlighted.

You can find the function in the stdlib_hook_project.ctl under wincc_oa_path/Stdlib_3.19/scripts/libs/

bool hook_highlightElementarySymbol (string sDpe, string sUser="")
{
  //  if(sUser=="")
  //    sUser = getUserName();
  return false;
}