Context Object Parameters
Parameter Name | Type | Read/Write | Comments |
---|
OffsetDistance | Real |
Read | It is a double value representing the diametrical offset distance of the segment from the source segment. |
ArrangedJunctionLTValue | Real | Write | It is a double value providing the Length Tolerance value that should be applied to the segment under consideration. |
Sample
The following sample explains how to use an opening ID to add Length Tolerance on segments at junction.
/* CATRule signature (do not edit) : (ThisObject : #InSegment, Parameters : #In RuleContext) : #Void */
let LengthTolerance(REAL)
let OffsetDist(REAL)
let LengthBNS(REAL)
OffsetDist = 0.0
LengthTolerance = 0.0
OffsetDist = Parameters.GetAttributeReal("OffsetDistance")
LengthTolerance = OffsetDist * 2
Parameters.SetAttributeReal("ArrangedJunctionLTValue",LengthTolerance)