Flatten Rigid Branch Business Rule (EHFFlatten_ComputationRigidBranchFlatten)

An opening ID is an entry point used to customize business logic. Flatten rigid branch business rule enables you to customize the maximum bend radius and the minimum bend angle values of bend portions on a rigid branch.

During the flattening process, these values are necessary to identify bend portions to be automatically rolled.

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 using the Generate Layout command on a geometry in which some branches with the rigid flattened status attribute are available.

This opening ID is used to customize:

  • Maximum bend radius
  • Minimum bend angle

Important:
  • Customized maximum bend radius with a value which is less than twice the bend radius of the whole branch is not accepted. Default value is considered instead.
  • Customized minimum bend angle with a value which is less than 10 degree is not accepted. Default value is considered instead.
  • Low value of minimum bend angle increases the number of rolls, and a high number of rolls impacts of the performance of the flattening process.

    You are advised to carefully customize the minimum bend angle.

For more information about the flattening process, see Electrical Manufacturing Preparation User's Guide: Flattening the Geometry: About Flattening the Geometry.

The table below provides you with information related to the definition of the Opening ID.

PLM Opening ID: EHFFlatten_ComputationRigidBranchFlatten
Customization intent: Computation
Execution context:Client

Input Objects

Input objects must be of the following types:

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

Context Object Parameters

Parameter NameTypeRead/WriteComments
MaxBendRadiusInMMReal WriteOutput value must be in millimeter.
MinRollAngleInDegreeRealWriteOutput value must be in degree.

Sample

The following sample explains how to customize the minimum bend angle and the maximum bend radius values.

let bendRadius (Length)
let angle (real)

set bendRadius = ThisObject.Elec_BendRadius
bendRadius = bendRadius*6.0*1000.0
angle = 100.0

Parameters.SetAttributeReal("MinRollAngleInDegree", angle)
Parameters.SetAttributeReal("MaxBendRadiusInMM", bendRadius)
Parameters.Severity = 0
Parameters.Message = "Default message"