Overview Schemas Index

AP210_ELECTRONIC_ASSEMBLY_INTERCONNECT_AND_PACKAGING_DESIGN_XIM (jsdai.SAp210_electronic_assembly_interconnect_and_packaging_design_xim)


RULE area_component_shape_constraint FOR (area_component_armx);

WHERE
          wr1: SIZEOF( QUERY( ac <* Area_component_armx |
            NOT(SIZEOF (QUERY (ac2ds <* USEDIN(ac,'PHYSICAL_UNIT_2D_DESIGN_VIEW_XIM.ASSEMBLY_COMPONENT_2D_SHAPE_MODEL.SHAPE_CHARACTERIZED_COMPONENT') |
              NOT('CONSTRUCTIVE_SOLID_GEOMETRY_2D_XIM.SINGLE_AREA_CSG_2D_MODEL' IN TYPEOF(ac2ds))
                )) = 0)
              )) = 0;
          wr2: SIZEOF( QUERY( ac <* Area_component_armx |
          NOT(ac\Area_component_armx.is_base) OR
            NOT(SIZEOF (QUERY (ac2ds <* USEDIN(ac,'PHYSICAL_UNIT_2D_DESIGN_VIEW_XIM.ASSEMBLY_COMPONENT_2D_SHAPE_MODEL.SHAPE_CHARACTERIZED_COMPONENT') |
              NOT('CONSTRUCTIVE_SOLID_GEOMETRY_2D_XIM.SINGLE_BOUNDARY_CSG_2D_MODEL' IN TYPEOF(ac2ds))
                )) = 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)