Using a CATRule, you can specify the format of labels that you apply to items in the
views when you click Label from the Instructions
Authoring section of the action bar.
The DELWKIDMULabelPropertiesForResource.CATRule is located in ..\resources\knowledge\scripts and can be invoked when you use Label from the Instructions Authoring section of the action bar.
Input Arguments
Input
Value
Explanation
object_reference
DELFmiFunctionReference
The pointed object reference
object_occurrence
FProcessOccurrence
The pointed object occurrence
display_name_string
String
The display name of the pointed object occurrence
buildup_type_string
String
The buildup type (status) of the pointed object.
Current
Parallel
Previous
Output Arguments
Output
Value
Explanation
output_text
CATIList (String)
Fill with multiple strings, one for each line of text in the Label.
output_format
CATIList (CATIList)
Fill with multiple CATIList for the format of the Label. Each CATIList contains two strings, one
for the format attribute name and one for the format
attribute value.
Format name
Value
fontName
stringValue
fontSize
stringValue
fontColor
stringValue
fontThickness
stringValue
fontLineType
stringValue
fontEndType
stringValue
Example
A complete example file is available in
..\resources\knowledge\scripts\DELWKIDMULabelPropertiesForResource_SAMPLE.CATRule.