|
RULE compound_features_of_equal_type FOR (compound_feature, shape_aspect_relationship); WHERE wr1: SIZEOF ( QUERY ( sar <* shape_aspect_relationship | ( sar . name = 'compound feature ordering' ) AND ( ( SIZEOF ( QUERY ( fcr <* USEDIN ( sar . relating_shape_aspect , 'automotive_design.shape_aspect_relationship.related_shape_aspect' ) | ( 'automotive_design.' + 'feature_component_relationship' IN TYPEOF ( fcr ) ) AND ( 'automotive_design.' + 'composite_shape_aspect' IN TYPEOF ( fcr . relating_shape_aspect ) ) AND ( fcr . relating_shape_aspect . name IN [ 'compound feature in solid' , 'compound feature in panel' ] ) ) ) = 0 ) AND ( SIZEOF ( QUERY ( fcr <* USEDIN ( sar . related_shape_aspect , 'automotive_design.shape_aspect_relationship.related_shape_aspect' ) | ( 'automotive_design.' + 'feature_component_relationship' IN TYPEOF ( fcr ) ) AND ( 'automotive_design.' + 'composite_shape_aspect' IN TYPEOF ( fcr . relating_shape_aspect ) ) AND ( fcr . relating_shape_aspect . name IN [ 'compound feature in solid' , 'compound feature in panel' ] ) ) ) = 0 ) ) ) ) = 0 ; END_RULE; -- compound_features_of_equal_type |
|
public class RCompound_features_of_equal_type public int rWr1(SdaiContext _context) public int run(SdaiContext _context, A_string violations) |