RULE alternative_solution_requires_solution_definition

(* SCHEMA step_merged_ap_schema; *)
-- DIFF IN AP203e2
-- IN AP203e2/AP238 STEP-NC/AP242
RULE alternative_solution_requires_solution_definition FOR (product_definition_formation );
   LOCAL
      solution_versions : SET OF product_definition_formation := [];
   END_LOCAL;
      solution_versions := QUERY (pdf <* product_definition_formation| SIZEOF(QUERY (prpc <* USEDIN(pdf.of_product, 'STEP_MERGED_AP_SCHEMA.PRODUCT_RELATED_PRODUCT_CATEGORY.PRODUCTS')| (prpc.name = 'alternative solution'))) = 1);
   WHERE
      WR1:
         SIZEOF(QUERY (pdf <* solution_versions| (SIZEOF(QUERY (pd <* USEDIN(pdf, 'STEP_MERGED_AP_SCHEMA.PRODUCT_DEFINITION.FORMATION')| (pd.frame_of_reference.name = 'alternative definition'))) <> 1))) = 0;
END_RULE;

[Top Level Definitions] [Exit]

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