RULE restrict_product_definition_substitute

(* SCHEMA step_merged_ap_schema; *)
-- IN AP214
RULE restrict_product_definition_substitute FOR (product_definition_substitute );
   WHERE
      wr1:
         SIZEOF(QUERY (pds <* product_definition_substitute| (SIZEOF(USEDIN(pds, 'STEP_MERGED_AP_SCHEMA.APPLIED_EFFECTIVITY_ASSIGNMENT.ITEMS')) = 0))) = 0;
      wr2:
         SIZEOF(QUERY (pds <* product_definition_substitute| (pds.substitute_definition.frame_of_reference.name <> 'part occurrence'))) = 0;
      wr3:
         SIZEOF(QUERY (pds <* product_definition_substitute| ((('STEP_MERGED_AP_SCHEMA.' + 'ASSEMBLY_COMPONENT_USAGE' IN TYPEOF(pds.context_relationship)) AND (SIZEOF(USEDIN(pds.context_relationship, 'STEP_MERGED_AP_SCHEMA.PRODUCT_DEFINITION_OCCURRENCE_RELATIONSHIP.OCCURRENCE_USAGE')) = 0)) AND ('STEP_MERGED_AP_SCHEMA.' + 'PRODUCT_DEFINITION_RELATIONSHIP' IN TYPEOF(pds.context_relationship))) AND (pds.context_relationship.related_product_definition.frame_of_reference.name <> 'part occurrence'))) = 0;
END_RULE;

[Top Level Definitions] [Exit]

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