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

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

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

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 at least one conductor inside a conductor group is successfully routed
  • Guide routing: when the last segment defining the route of a conductor belonging to a conductor group is selected. In this case, the EWR_PropagateConductorRouteModification opening ID is also invoked.
  • Route Copy: when a route is copied on a conductor belonging to a conductor group. In this case, the EWR_PropagateConductorRouteModification opening ID is also invoked.
  • Route Deletion: when the route of a conductor belonging to a conductor group is deleted. In this case, the EWR_PropagateConductorRouteModification opening ID is also invoked.

Important:
  • The opening ID is invoked when the route of a conductor belonging to a conductor group is modified.
  • 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_PropagateConductorGroupRouteModification
Customization intent: Execution
Execution context:Client

Input Objects

Input objects must be of the following types:

  • ThisObject: the conductor group whose route is modified, whether the modification is applied to the conductor group or any conductor inside it.
  • Parameters corresponds to the context object.

Context Object Parameters

Parameter NameTypeRead/WriteComments
ThisObjectConductorGroup Read/Write-

Sample

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

Let nbConductors(Integer)
Let ListConductors(List)
Let Cond1(Conductor)
Let Cond2(Conductor)

Set ListConductors = ThisObject.Children
nbConductors = ListConductors.Size()

Cond1 = ListConductors.GetItem(1)
Cond2 = ListConductors.GetItem(2)

if( Cond1.Elec_IsNetworkConnex  AND  Cond2.Elec_IsNetworkConnex)
	ThisObject.Elec_Sep_Code = "Fully Routed"

else if(Cond1.Elec_IsRouted AND Cond2.Elec_IsRouted)
	ThisObject.Elec_Sep_Code = "Broken"

else
	ThisObject.Elec_Sep_Code = "Not Routed"