Context Object Parameters
Parameter Name | Type | Read/Write | Comments |
---|
L2PPhysicalX | Length |
Write | The X Coordinate (length) for the physical component. |
L2PPhysicalY
| Length | Write | The Y Coordinate (length) for the physical component. |
L2PPhysicalZ
| Length | Write | The Z Coordinate (length) for the physical component. |
Sample
The following sample illustrates the syntax of the business rule.
/* CATRule signature (do not edit) : (ThisObject : #In Unknown, Parameters : #In RuleContext) : #Void */
/* CATRule signature (do not edit) : (ThisObject : #In RFLVPMLogicalInstance, Parameters : #In RuleContext) : #Void */
let X(Length)
let Y(Length)
let Z(Length)
X=3000.0mm
Y=0.0mm
Z=0.0mm
Parameters.SetAttributeReal("L2PPhysicalX", X)
Parameters.SetAttributeReal("L2PPhysicalY", Y)
Parameters.SetAttributeReal("L2PPhysicalZ", Z)
Parameters.Severity = 1
Parameters.Message = "Computation of 3D Position OK"