Modify Standard Publication After Migration From Advanced (ELB_CustomizeAxisSystemOfMigratedPublication)

An opening ID is an entry point used to customize business logic. The Modify Standard Publication After Migration From Advanced opening ID is available in the Electrical physical system design resources set and it is used to modify standard publication after migration from advanced.

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: ELB_CustomizeAxisSystemOfMigratedPublication
Customization intent: Computation
Execution context: Client

Input Objects

Input object must be of the following type:

  • ThisObject: the standard publication.

Context Object Parameter

Parameter Name Type Read/Write Comments
Fact Type ElecPort Read / Write The standard electrical publication created by command or EKL function.

Sample 1

The following sample explains how to modify standard publication after migration from advanced.

/* ThisObject = ElecPort */ 


	
else 
{
	Notify("Yhis Elecport's Axis System will be inverted (X Y) : " +ThisObject.V_FunctionalName)
                // get publication axis system 
		let origin(Vector)
		let vx(Vector)
		let vy(Vector)
		let vz(Vector)
		let TangX(real)
		let TangY(real)
		let TangZ(real)
		
		ThisObject.GetAxisSystem(origin,vx,vy,vz)
		 		 
		
		TangX=vx.Get(1,1)
		TangY=vx.Get(2,1)
		TangZ=vx.Get(3,1)
		TangX=-TangX
		TangY=-TangY
		TangZ=-TangZ
		vx.Set(1,1,TangX)
		vx.Set(2,1,TangY)
		vx.Set(3,1,TangZ)
		
		TangX=vy.Get(1,1)
		TangY=vy.Get(2,1)
		TangZ=vy.Get(3,1)
		TangX=-TangX
		TangY=-TangY
		TangZ=-TangZ
		vy.Set(1,1,TangX)
		vy.Set(2,1,TangY)
		vy.Set(3,1,TangZ)
		


		// set new axis system definition 
		ThisObject.SetAxisSystem(origin,vx,vy,vz)
 }