RULE restrict_representation_for_document_content_property

(* SCHEMA step_merged_ap_schema; *)
-- IN AP214
RULE restrict_representation_for_document_content_property FOR (representation, representation_item );
   WHERE
      wr1:
         SIZEOF(QUERY (r <* representation| (r.name = 'document content') AND ((SIZEOF(r.items) < 1) OR (SIZEOF(r.items) > 3)))) = 0;
      wr2:
         SIZEOF(QUERY (ri <* representation_item| (SIZEOF(QUERY (r <* USEDIN(ri, 'STEP_MERGED_AP_SCHEMA.REPRESENTATION.ITEMS')| (r.name = 'document content'))) > 0) AND NOT (ri.name IN [ 'detail level', 'geometry type', 'real world scale' ]))) = 0;
      wr3:
         SIZEOF(QUERY (r <* representation| (r.name = 'document content') AND (SIZEOF(QUERY (i <* r.items| (i.name = 'detail level') AND ('STEP_MERGED_AP_SCHEMA.' + 'DESCRIPTIVE_REPRESENTATION_ITEM' IN TYPEOF(i)))) > 1))) = 0;
      wr4:
         SIZEOF(QUERY (r <* representation| (r.name = 'document content') AND (SIZEOF(QUERY (i <* r.items| (i.name = 'geometry type') AND ('STEP_MERGED_AP_SCHEMA.' + 'DESCRIPTIVE_REPRESENTATION_ITEM' IN TYPEOF(i)))) > 1))) = 0;
      wr5:
         SIZEOF(QUERY (r <* representation| (r.name = 'document content') AND (SIZEOF(QUERY (i <* r.items| (i.name = 'real world scale') AND (SIZEOF([ ('STEP_MERGED_AP_SCHEMA.' + 'MEASURE_REPRESENTATION_ITEM'), ('STEP_MERGED_AP_SCHEMA.' + 'VALUE_REPRESENTATION_ITEM') ] * TYPEOF(i)) = 1))) > 1))) = 0;
END_RULE;

[Top Level Definitions] [Exit]

Generated by STEP Tools® EXPRESS to HTML Converter
2020-07-28T17:02:20-04:00