(* SCHEMA Ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf; *)
RULE shape_representation_requires_origin FOR (shape_representation);
WHERE
WR1 : SIZEOF(QUERY ( sr <* shape_representation | NOT(
(SIZEOF(QUERY ( it <* sr\representation.items | (
((it\representation_item.name = 'origin') or (it\representation_item.name = 'orientation')) and
(('AP210_ELECTRONIC_ASSEMBLY_INTERCONNECT_AND_PACKAGING_DESIGN_MIM_LF.' +
'AXIS2_PLACEMENT_2D' in TYPEOF(it)) OR
('AP210_ELECTRONIC_ASSEMBLY_INTERCONNECT_AND_PACKAGING_DESIGN_MIM_LF.' +
'AXIS2_PLACEMENT_2D' in TYPEOF(it)))
))) = 1
)
OR
(SIZEOF(QUERY ( it <* sr\representation.items | (
('AP210_ELECTRONIC_ASSEMBLY_INTERCONNECT_AND_PACKAGING_DESIGN_MIM_LF.' +
'STYLED_ITEM' in TYPEOF(it))
))) >= 1
)
OR
(SIZEOF(QUERY ( it <* sr\representation.items | (
((it\representation_item.name = 'origin') or (it\representation_item.name = 'orientation')) and
((sr\representation.name = 'zone shape') or
(sr.context_of_items\representation_context.context_type = 'connection zone colour'))
))) = 0
)
))) = 0;
END_RULE;
Generated by STEP Tools® EXPRESS to HTML Converter
2012-03-27T17:15:33-04:00