General InformationThis opening ID is invoked each time the user tries to select a component other than a branch during the Manual Route command. 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 sample checks whether the selected component is valid as a Route Component depending on the value of the V_Description attribute of its Instance or related reference. Let listChildren(list)
Let phyRef (VPMReference)
Validation=false
if(ThisObject.V_description == "RouteComponent")
{
Validation=true
}
else
{
listChildren= ThisObject.Children
phyRef= listChildren->GetItem(1)
if ( phyRef.V_description == "RouteComponent")
{
Validation=true
}
else
{
Validation=false
}
} | |||||||||||||||||||||||||