Overview Schemas Index

PHYSICAL_UNIT_DESIGN_VIEW_XIM (jsdai.SPhysical_unit_design_view_xim)


FUNCTION pudv_get_groups
          (input : assembly_component_armx) : SET [0:?] OF assembly_group_component_armx;

LOCAL
  acr : SET  OF  Product_occurrence_definition_relationship_armx := input\Assembly_component_armx.occurrence_contexts;
  agc : SET OF Assembly_group_component_armx := [];
END_LOCAL;
REPEAT i := 1 TO HIINDEX(acr) BY 1;
  IF ('COMPONENT_GROUPING_XIM.' + 'ASSEMBLY_GROUP_COMPONENT_ARMX' IN TYPEOF(acr[i].relating_view))
  THEN
  agc := agc + acr[i].relating_view; 
  END_IF;
END_REPEAT;
RETURN (agc);

END_FUNCTION; -- pudv_get_groups

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