CurrIcon
Syntax
<Path>.CurrIcon:string |
A 3D Only model does not provide the attribute CurrIcon.
The attribute CurrIcon sets the name of the icon with which Plant Simulation shows the object designated by <Path>.
Plant Simulation automatically sets upper- and lower-casing of the name of the icon.
To save memory and improve access speed, all places which use such an case-insensitive string point to the same string in main memory. The visible and unexpected result is that the first occurrence of the string defines how the string is written in terms of upper- and lower-casing.
In SimTalk you can compare strings in a case-insensitive manner with the == operator, compare Relational Operators.
Data Type of the Value You Can Assign
You can assign a value of data type string.
Example
if MyStation.name == "press" |
Related Topic