RULE restrict_default_thickness

(* SCHEMA AUTOMOTIVE_DESIGN; *)
 
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 | 'AUTOMOTIVE_DESIGN.' + '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 | (
    'AUTOMOTIVE_DESIGN.' + '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([
    'AUTOMOTIVE_DESIGN.' + 'DESCRIPTIVE_REPRESENTATION_ITEM', 
    'AUTOMOTIVE_DESIGN.' + '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 | ('AUTOMOTIVE_DESIGN.' + 'MEASURE_REPRESENTATION_ITEM' IN 
    TYPEOF(i)) AND (i.name = 'thickness value'))) <> 1))) = 0;
END_RULE; -- 10303-214: automotive_design

[Top Level Definitions] [Exit]

Generated by STEP Tools® EXPRESS to HTML Converter
2012-03-27T17:16:12-04:00