General InformationThis opening ID is invoked at the end of the Manual Route command to validate all the branch segments selected for the route. This opening ID is used to customize: The table below provides you with information related to the definition of the Opening ID.
Input ObjectsInput objects must be of the following types:
Context Object Parameters
SampleThe following example calculates the total route length and issues a warning message if the length exceeds 6000mm. let Length(LENGTH)
let PS(Segment)
let ListPS(List)
Length = ThisObject.Elec_Length
set ListPS =Parameters.GetAttributeObject("ListOfPathwaySegments")
For PS inside List PS
Length = Length + PS.Elec_Length
if (Length < 6000mm)
Validation=true
else
Validation=false
if (Validation <> true)
Parameters.Message = "The total route length should be less than 6000mm.
Here it is " + Length
| |||||||||||||||||||||||||||||||||