RULE restrict_default_thickness

(* SCHEMA step_merged_ap_schema; *)
-- IN AP214
RULE restrict_default_thickness FOR (representation );
   WHERE
      wr1:
         (SIZEOF(QUERY (r <* representation| ((r.name = 'default thickness') AND (r.context_of_items.context_type = 'default setting')) AND (SIZEOF(QUERY (i <* r.items| ('STEP_MERGED_AP_SCHEMA.' + 'DESCRIPTIVE_REPRESENTATION_ITEM' IN TYPEOF(i)))) > 1))) = 0) AND (SIZEOF(QUERY (r <* representation| ((r.name = 'default thickness') AND (r.context_of_items.context_type = 'default setting')) AND (SIZEOF(QUERY (i <* r.items| ('STEP_MERGED_AP_SCHEMA.' + 'DESCRIPTIVE_REPRESENTATION_ITEM' IN TYPEOF(i)) AND (i.name <> 'parameter name'))) > 0))) = 0);
      wr2:
         (SIZEOF(QUERY (r <* representation| ((r.name = 'default thickness') AND (r.context_of_items.context_type = 'default setting')) AND (SIZEOF(r.items) > 2))) = 0) AND (SIZEOF(QUERY (r <* representation| ((r.name = 'default thickness') AND (r.context_of_items.context_type = 'default setting')) AND (SIZEOF(QUERY (i <* r.items| (SIZEOF([ ('STEP_MERGED_AP_SCHEMA.' + 'DESCRIPTIVE_REPRESENTATION_ITEM'), ('STEP_MERGED_AP_SCHEMA.' + 'MEASURE_REPRESENTATION_ITEM') ] * TYPEOF(i)) <> 1))) > 0))) = 0);
      wr3:
         SIZEOF(QUERY (r <* representation| ((r.name = 'default thickness') AND (r.context_of_items.context_type = 'default setting')) AND (SIZEOF(QUERY (i <* r.items| ('STEP_MERGED_AP_SCHEMA.' + 'MEASURE_REPRESENTATION_ITEM' IN TYPEOF(i)) AND (i.name = 'thickness value'))) <> 1))) = 0;
END_RULE;

[Top Level Definitions] [Exit]

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