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