Overview Schemas Index

AUTOMOTIVE_DESIGN (jsdai.SAutomotive_design)


RULE restrict_viewing_plane_usage FOR (geometric_tolerance);
 
WHERE
          wr1:  SIZEOF  ( QUERY  ( gt <* geometric_tolerance | SIZEOF ( QUERY ( sar <* USEDIN ( gt . toleranced_shape_aspect , 'automotive_design.shape_aspect_relationship.' + 'relating_shape_aspect' ) | sar . name = 'affected plane association' ) ) > 1 ) ) = 0 ;
          wr2:  SIZEOF  ( QUERY  ( gt <* geometric_tolerance | SIZEOF  ( QUERY ( sar <* USEDIN ( gt . toleranced_shape_aspect , 'automotive_design.' + 'shape_aspect_relationship.' + 'relating_shape_aspect' ) | ( sar . name = 'affected plane association' ) AND NOT ( SIZEOF ( [ 'automotive_design.' + 'line_profile_tolerance' , 'automotive_design.' + 'parallelism_tolerance' , 'automotive_design.' + 'perpendicularity_tolerance' , 'automotive_design.' + 'position_tolerance' , 'automotive_design.' + 'straightness_tolerance' , 'automotive_design.' + 'symmetry_tolerance' ] * TYPEOF ( gt ) ) <> 1 ) ) ) > 0 ) ) = 0 ;
END_RULE; -- restrict_viewing_plane_usage

public class RRestrict_viewing_plane_usage
          public int rWr2(SdaiContext _context)
          public int rWr1(SdaiContext _context)
          public int run(SdaiContext _context, A_string violations)