Context Object Parameters
Parameter Name |
Type |
Read or Write |
Comments |
ListInputObjects |
List |
Read |
List of logical and/or physical occurrences of objects that are
considered to be analyzed. |
ListOutputBoolean |
List |
Write |
List of Booleans (True/False) set mapping ListInputObjects in
this Rule indicating if the objects are valid for analysis. |
Sample
let iList(List)
let oList(List)
let index(Integer)
let lsize(Integer)
let inputOcc(ProductOccurrence)
let logocc(LogicalOccurrence)
let logInst(RFLVPMLogicalInstance)
let sName(String)
set iList = Parameters.GetAttributeObject("ListInputObjects")
index = 1
set lsize = iList.Size()
for index while index <= lsize
{
set logocc = iList.GetItem(index)
if (NULL <> logocc)
{
sName = logocc.Name
if(sName == "Rejected_Equipment")
{
oList.Append(false)
}
else
{
oList.Append(true)
}
}
}
Parameters.SetAttributeObject("ListOutputBoolean", oList )