RULE chamfer_offset_requires_faces FOR (chamfer_offset, property_definition_representation); WHERE wr1: (SIZEOF (QUERY (co <* chamfer_offset | NOT (1 = SIZEOF (QUERY (pdr <* property_definition_representation | ((pdr\property_definition_representation.definition\property_definition.definition = co) AND ('AIC_MACHINING_FEATURE.FACE_SHAPE_REPRESENTATION' IN TYPEOF (pdr.used_representation)) AND ( ((pdr\property_definition_representation.definition\property_definition.definition.description = 'first offset') AND (pdr.used_representation.name = 'first face shape')) OR ((pdr\property_definition_representation.definition\property_definition.definition.description = 'second offset') AND (pdr.used_representation.name = 'second face shape')) )) ))) ))=0); END_RULE; -- chamfer_offset_requires_faces |
public class RChamfer_offset_requires_faces public int rWr1(SdaiContext _context) public int run(SdaiContext _context, A_string violations) |