Execution Triggered During Commit of Route Modification on the Conductor (EWR_PropagateConductorRouteModification)

An opening ID is an entry point used to customize business logic. The Execution triggered during commit of route modification on the conductor opening ID enables the propagation of attributes between a conductor specification and a mapped conductor instance.

It is available in the Electrical physical system design resources resource set.

Important: This opening ID can also be invoked on cable routes.
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 during:

  • Automatic routing: when a conductor is fully routed
  • Manual routing: when the final segment of a conductor route is selected. If an edited route is common to several conductors, then the business rule is called for every conductor sharing this route.
  • Route Copy: when a route is successfully copied
  • Route Deletion: when a route is successfully deleted

Important:
  • This opening ID is invoked only if the business rules for EWR_ValidateSegmentInConductorRoute and EWR_ValidateConductorRoute are successfully validated.
  • The business rule is called only when using routing commands. If you edit your harness design causing the modification of a conductor, this modification is not reflected on the customized instance since the business rule is not triggered during the harness edition.

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

PLM Opening ID: EWR_PropagateConductorRouteModification
Customization intent: Execution
Execution context:Client

Input Objects

Input objects must be of the following types:

  • ThisObject: the conductor whose route is modified, or the cable route (ElecRoute feature).
  • Parameters corresponds to the context object.

Context Object Parameters

Parameter NameTypeRead/WriteComments
ThisObjectConductor or ElecRoute Read/Write-

Sample

The following sample explains how to modify an attribute depending on the route status of a conductor.

Let CondLen(LENGTH)
Set CondLen = ThisObject.Elec_Length

if( ThisObject.Elec_IsNetworkConnex)
	ThisObject.Elec_Sep_Code = "Fully Routed"

else if(ThisObject.Elec_IsRouted)
	ThisObject.Elec_Sep_Code = "Broken"

else
	ThisObject.Elec_Sep_Code = "Not Routed"