FUNCTION limdwpcd_get_lc
(input : SET [0:?] OF structured_layout_component_sub_assembly_relationship) : SET [0:?] OF laminate_component_armx;
LOCAL sspc : SET OF Laminate_component_armx := []; --this gives us access TO the information base slcsar : SET OF Structured_layout_component_sub_assembly_relationship := (QUERY(inp <* input | ('LAYERED_INTERCONNECT_MODULE_DESIGN_XIM.PADSTACK_DEFINITION_ARMX' IN TYPEOF (inp\Structured_layout_component_sub_assembly_relationship_armx.second_location\Template_location_in_structured_template.assembly)) )); END_LOCAL;
REPEAT i := 1 TO SIZEOF(slcsar) BY 1; sspc := sspc + slcsar[i]\Structured_layout_component_sub_assembly_relationship.related_product_definition; END_REPEAT;
RETURN(sspc); END_FUNCTION; -- limdwpcd_get_lc
|