Symmetry Method Computation (Symmetry_Method_Computation)

An opening ID is an entry point used to customize business logic. Symmetry Method Computation allows you to filter the available symmetry types during symmetry customization.

Important: 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 a customization of a symmetry is performed.

This opening ID is used to customize any user interface that allows you to define a type of symmetry.

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

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

Input Objects

Input objects must be of the following types:

  • ThisObject corresponds to the original Reference or RepReference.
  • Parameters corresponds to the context object.

Context Object Parameters

Parameter NameTypeRead/WriteComments
SymmetryMethodAvailableinteger ReadSets or gets available symmetry methods:
  • New Reference = 1
  • Same Reference = 2
  • Existing Reference = 4
  • Recursive Generation = 8
  • No Reference = 16
SymmetryMethodAvailableToApplyintegerWrite
Note: The returned integer value is the sum of available methods: 3 = 1 + 2 = New Reference + Same Reference.

Sample

The following sample illustrates the default business rule related to the Symmetry_Method_Computation:

Let ObjectMethod(Integer)

/* Retrieve the current symmetry method available for the current object */
ObjectMethod = Parameters.GetAttributeInteger("SymmetryMethodAvailable")
Parameters.SetAttributeInteger("SymmetryMethodAvailableToApply",ObjectMethod)