|
RULE subtype_mandatory_draughting_callout FOR (draughting_callout); WHERE wr1: SIZEOF ( QUERY ( dc <* draughting_callout | NOT ( type_check_function ( dc , [ 'automotive_design.' + 'datum_feature_callout' , 'automotive_design.' + 'datum_target_callout' , 'automotive_design.' + 'dimension_curve_directed_callout' , 'automotive_design.' + 'draughting_elements' , 'automotive_design.' + 'geometrical_tolerance_callout' , 'automotive_design.' + 'leader_directed_callout' , 'automotive_design.' + 'projection_directed_callout' , 'automotive_design.' + 'structured_dimension_callout' , 'automotive_design.' + 'surface_condition_callout' ] , 0 ) ) ) ) = 0 ; END_RULE; -- subtype_mandatory_draughting_callout |
|
public class RSubtype_mandatory_draughting_callout public int rWr1(SdaiContext _context) public int run(SdaiContext _context, A_string violations) |