Overview Schemas Index

AP210_ELECTRONIC_ASSEMBLY_INTERCONNECT_AND_PACKAGING_DESIGN_MIM (jsdai.SAp210_electronic_assembly_interconnect_and_packaging_design_mim)


RULE area_component_shape_constraint FOR (area_component);

WHERE
          wr1: SIZEOF( QUERY( ac <* area_component |
            NOT(SIZEOF (QUERY (pdr <* USEDIN(ac,'PRODUCT_PROPERTY_REPRESENTATION_SCHEMA.PROPERTY_DEFINITION_REPRESENTATION.DEFINITION') |
              NOT(NOT(pdr\property_definition_representation.used_representation\representation.id = 'ac2dsm') OR 
                      ('CONSTRUCTIVE_SOLID_GEOMETRY_2D_MIM.SINGLE_AREA_CSG_2D_SHAPE_REPRESENTATION' IN TYPEOF(pdr\property_definition_representation.used_representation)))
                )) = 0)
              )) = 0;
          wr2: SIZEOF( QUERY( ac <* area_component |
          NOT(apeaid_is_base(ac)) OR
            NOT(SIZEOF (QUERY (pdr <* USEDIN(ac,'PRODUCT_PROPERTY_REPRESENTATION_SCHEMA.PROPERTY_DEFINITION_REPRESENTATION.DEFINITION') |
              NOT(NOT(pdr\property_definition_representation.used_representation\representation.id = 'ac2dsm') OR 
                      ('CONSTRUCTIVE_SOLID_GEOMETRY_2D_MIM.SINGLE_BOUNDARY_CSG_2D_SHAPE_REPRESENTATION' IN TYPEOF(pdr\property_definition_representation.used_representation)))
                )) = 0)
              )) = 0;
END_RULE; -- area_component_shape_constraint

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