Symmetry Process Customization (AssemblySymmetry_CustoProcess)

An opening ID is an entry point used to customize business logic. Symmetry Process Customization allows you to customize the symmetry process.

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 whenever Reference, RepReference or Instance are created.

This opening ID is used to customize the symmetry process of creation.

Definition Description
PLM Opening ID AssemblySymmetry_CustoProcess
Customization intent Computation
Execution context Client

Input Objects

Input objects must be of the following types:

  • ThisObject: Original Reference, RepReference, Instance or Specialization Extension being symmetrized.
  • Parameters corresponds to the context object.

Context Object Parameters

Parameter Name Type Read or Write Comments
ExtendedObject PLMEntity Read

If ThisObject is a SpecializationExtension, ExtendedObject represents the PLM object (Reference, RepReference, Instance) on which the SpecializationExtension is applied.

Otherwise, ExtendedObject content is NULL.

ReportType boolean Write Does the type of ThisObject to be reported on the symmetric?
  • FALSE: No
  • TRUE: Yes
ReportType.CopyAttributesValue boolean Write

Taken into account if ReportType is set to TRUE only.

Does the public attributes value coming along with the type of ThisObject to be automatically copied from the original to the symmetric object?

  • FALSE: No
  • TRUE: Yes

Sample

The following sample illustrates how to customize the symmetry process:

Let ExtendedObject(PLMEntity)
Let ReportType(Boolean)
Let CopyAttributesValue(Boolean)


ExtendedObject= Parameters->GetAttributeObject("ExtendedObject")

if(ExtendedObject<> NULL)
{
    //Extension case
    ReportType=true
    CopyAttributesValue=true
}
else
{
    //Reference, RepReference, Instance case
    ReportType=true
    CopyAttributesValue=true
}

Parameters->SetAttributeBoolean("ReportType", ReportType)
Parameters->SetAttributeBoolean("ReportType.CopyAttributesValue", CopyAttributesValue)