Sample
The following sample explains how to use an opening ID to validate the whole route of a given conductor and check the length of a conductor.
Let Name(String)
Let Len(LENGTH)
Validation = True
Parameters.Severity = 0
Set Name = ThisObject.Name
Set Len = ThisObject.Elec_Length
if(2005mm < Len)
{
if("Conductor01.8" == Name)
{
Validation = true
Parameters.Severity = 1
Parameters.Message = Name + " : Length warning"
}
else
{
Validation = false
Parameters.Severity = 2
Parameters.Message = Name + " : Length error"
}
}
else if(1820mm < Len)
{
Validation = true
Parameters.Severity = 1
Parameters.Message = Name + " : Length warning"
}