FUNCTION categories_of_product
(* SCHEMA step_merged_ap_schema; *)
-- DIFF IN AP203e2
-- DIFF IN AP238 STEP-NC
-- IN AP203e2/AP238 STEP-NC/AP242
FUNCTION categories_of_product
(obj : product ) : SET OF STRING;
LOCAL
category_assignments : BAG OF product_category;
categories : SET OF STRING := [];
END_LOCAL;
category_assignments := USEDIN(obj, 'STEP_MERGED_AP_SCHEMA.PRODUCT_RELATED_PRODUCT_CATEGORY.PRODUCTS');
REPEAT i := LOINDEX(category_assignments) TO HIINDEX(category_assignments) BY 1;
categories := categories + category_assignments[i].name;
END_REPEAT;
RETURN (categories);
END_FUNCTION;
Referenced By
Defintion categories_of_product is references by the following definitions:
[Top Level Definitions] [Exit]Generated by STEP Tools® EXPRESS to HTML Converter
2020-07-28T17:02:20-04:00