Compute Elementary Group Information (Sys3D_ComputeElementaryGroupeInfo)

An opening ID is an entry point used to customize business logic. The Sys3D_ComputeElementaryGroupInfo computes a list of interface volumes to be treated as elementary group ends for each route, and routes that can be grouped into an elementary group.

Note: For more information about customization by business rules, see Customization by Business Rules.

This page discusses:

General Information

This opening ID is invoked when launching the Elementary Group Assistant command.

This opening ID is used to customize the behavior of an elementary group.

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

Input Objects

Input objects must be of the following types:

  • ThisObject: product occurrence in the root.
  • Parameters corresponds to the context object.

Context Object Parameters

Parameter Name Type Read or Write Comments
ListRoutes List Read Contains all the found valid routes (Sys3D_RouteOccurrence) when creating an elementary group from a selection.
ListOfListInterfaceVolumes List Read Each element is a list containing interface volumes in the corresponding route from the ListRoutes.
ListOfListElementaryGroupEnds List Write
  • Each element is a list containing interface volumes to be treated as elementary group ends for the corresponding route from the ListRoutes.
  • The size must be the same as the ListRoutes.
  • If the size does not match, the ouput is ignored.
ListOfListRoutes List Write
  • Each element is a list containing Routes that must be grouped in a elementary group.
  • The size can be different than the ListRoutes.
    Notes:
    • All the input routes in the ListRoutes must be present in the output list.
    • Multiple elements list must not have the same route otherwise the output is ignored.

Example

/* CATRule signature (do not edit) : (ThisObject : #In ProductOccurrence, Parameters : #In RuleContext) : VoidType */

let listRoutes (LIST)
let listOfListInterfaces (LIST)

set listRoutes = Parameters.GetAttributeObject("ListRoutes")
set listOfListInterfaces = Parameters.GetAttributeObject("ListOfListInterfaceVolumes")

Parameters.SetAttributeObject("ListOfListRoutes", listRoutes)
Parameters.SetAttributeObject("ListOfListElementaryGroupEnds", listOfListInterfaces)

Parameters.Message = "ListOfListRoutes & ListOfListElementaryGroupEnds attributes set"
Parameters.Severity = 0