Cutting Line Offset Business Rule (EHFDrawing_CuttingLineOffset)

An opening ID is an entry point used to customize business logic. The Cutting Line offset business rule opening ID enables the customization of the offset distance value of the cutting line in a drawing.

Note: For more information about customization by business rules, see Installation and Setup: Customize: Behavior: Data Setup: Customization by Business Rules.

This page discusses:

General Information

This opening ID is invoked when you use the Documentation command or the Front View command to generate your harness drawing.

This opening ID is used to customize the cutting line offset distance.

DefinitionDescription
PLM Opening IDEHFDrawing_CuttingLineOffset
Customization intent Computation
Execution contextClient

Input Objects

Input objects must be of the following types:

  • ThisObject corresponds to the Segment.
  • Parameters corresponds to the context object.

Context Object Parameters

Parameter NameTypeRead or WriteComments
FactTypeAny EKL typeType of ThisObject in the business rule body.
CuttingOffsetLength WriteOffset distance of the cutting line.
Important: The value must be set in millimeter.

Sample

The following sample illustrates how to set an offset distance of 50 millimeters to the cutting line.

/* CATRule signature (do not edit) : (ThisObject : #In Segment, Parameters : #In RuleContext) : #Void */

// variables declaration
let distance(Length)

// variables initialization
set distance = 50mm

// set cutting distance
Parameters.SetAttributeReal("CuttingOffset", distance)