RULE restrict_support_structure_category

(* SCHEMA step_merged_ap_schema; *)
-- IN AP238 STEP-NC/AP242
RULE restrict_support_structure_category FOR (product_definition );
   LOCAL
      support_structures : SET OF product_definition := [];
   END_LOCAL;
      support_structures := QUERY (pd <* product_definition| SIZEOF(QUERY (prpc <* USEDIN(pd.formation.of_product, 'STEP_MERGED_AP_SCHEMA.PRODUCT_RELATED_PRODUCT_CATEGORY.PRODUCTS')| (prpc.name = 'additive manufacturing support structure'))) <> 0);
   WHERE
      WR1:
         SIZEOF(QUERY (pd <* support_structures| (SIZEOF(QUERY (prpc <* USEDIN(pd.formation.of_product, 'STEP_MERGED_AP_SCHEMA.PRODUCT_RELATED_PRODUCT_CATEGORY.PRODUCTS')| (prpc.name = 'part'))) <> 0))) = 0;
END_RULE;

[Top Level Definitions] [Exit]

Generated by STEP Tools® EXPRESS to HTML Converter
2024-09-06T14:00:33-04:00