FUNCTION categories_of_product

(* SCHEMA step_merged_ap_schema; *)
-- DIFF IN AP203e2
-- IN AP203e2/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:
DefinitionType
 restrict_assembly_category RULE
 restrict_collection_category RULE


[Top Level Definitions] [Exit]

Generated by STEP Tools® EXPRESS to HTML Converter
2017-01-19T11:17:24-05:00