Overview Schemas Index

PHYSICAL_UNIT_DESIGN_VIEW_XIM (jsdai.SPhysical_unit_design_view_xim)


FUNCTION pudv_get_group_assemblies
          (input : SET [0:?] OF assembly_group_component_armx) : SET [0:?] OF product_view_definition;

 LOCAL acr : SET  OF  assembly_component_usage := [ ] ; pvd : SET OF product_view_definition := [ ] ; END_LOCAL ; REPEAT  i := 1 TO  HIINDEX  ( input ) BY  1 ; acr := input [ i ] \ assembly_component_armx . occurrence_contexts ; END_REPEAT  ; REPEAT i := 1 TO HIINDEX ( acr ) BY 1 ; IF NOT ( 'component_grouping_arm.' + 'assembly_group_component_armx' IN TYPEOF ( acr [ i ] \ product_definition_relationship . relating_product_definition ) ) THEN pvd := pvd + acr [ i ] \ product_definition_relationship . relating_product_definition ; ELSE pvd := pvd + get_assemblies ( acr [ i ] \ product_definition_relationship . relating_product_definition ) ; END_IF ; END_REPEAT ; RETURN ( pvd ) ; 

END_FUNCTION; -- pudv_get_group_assemblies

public class FPudv_get_group_assemblies
          public static Value run(SdaiContext _context, Value input)