Compute Clocking Angle Values (ELB_ComputeClockingAngleValues)

An opening ID is an entry point used to customize business logic. The Compute Compute Clocking Angle Values opening ID is available in the Electrical physical system design resources set and it is used to customize clocking angle values for each backshell connected to the connectors.

Note: For more information about customization by business rules, see Customization by Business Rules.

This page discusses:

General Information

The table below provides the information related to the definition of the Opening ID:

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

Input Objects

Input object must be of the following type:

  • ThisObject: ProductOccurrence (Backshell occurrence which you want to clock).
  • Parameters: Corresponds to the context object.
  • Fact type: ProductOccurrence.

Context Object Parameters

Parameter Name Type Read or Write Comments
PrimaryDevicePort Backshell connection point Read Backshell connection point of primary device.
SecondaryDevicePort Backshell connection point Read Backshell connection point of secondary device.
PrimaryDeviceOcc Occurrence Read Primary device occurrence.
SecondaryDeviceOcc Occurrence Read Secondary device occurrence.
ClockingBehaviour String Read or Write Possible clocking behavior for connection.
ListOfAllowedAngles List (List of angles)

Type:double

Magnitude:Angle

Read or Write List of angle values that are allowed for clocking.

Business Rule Execution: This business rule is called in the command scope of backshell clocking management to determine list of angle values and clocking behavior.

Sample 1

The following sample explains how to compute clocking angle values.

//This object:Product ProductOccurrence
//Parameters:Rule Context
//Fact Type:Product ProductOccurrence

let listU(LIST)
let UOut(ANGLE)
let index (INTEGER)
let nbAngles(INTEGER)

set listU = Parameters.GetAttributeObject("ListOfAllowedAngles")
	
index = 1
nbAngles = 8

for index while index <= nbAngles
{
UOut = index * 45deg
listU->SetItem(UOut, index)
}

listU->SetItem(UOut, index)
Parameters.SetAttributeObject("ListOfAllowedAngles", listU)
Parameters.SetAttributeString("ClockingBehaviour", "Regular step")

Notify("BR E3D_ComputeClockingAngle called")