General InformationThis opening ID is invoked when you use the Junction Validation command or the Formboard command to generate the flattened data. This opening ID is used to customize the width of the ambiguity zone.
Input ObjectsInput objects must be of the following types:
Context Object Parameters
SampleThe following sample describes how to customize the ambiguity zone width on arranged junctions considering all segments.
/* Rule created by rpess 12/14/2020 */ let PrimarySegmentName(String) let ListUnkSegments(List) let NbSegments(Integer) let ListOutputAmbigWidths(LIST) let WidthValue(LENGTH) let index(Integer) let Segment(Segment) let DiamValue(LENGTH) set PrimarySegmentName = ThisObject.Name Parameters.Message = "Primary Segment Name : " + PrimarySegmentName ListUnkSegments = Parameters.GetAttributeObject("ListOfSecondarySegment") set NbSegments= ListUnkSegments.Size() index = 1 for index while index <= NbSegments { Segment = ListUnkSegments->GetItem(index) set DiamValue = Segment.Elec_Diameter set WidthValue= DiamValue*2 ListOutputAmbigWidths.SetItem(WidthValue, index) } Parameters.SetAttributeObject("ListZoneWidth", ListOutputAmbigWidths) |