ENTITY ngon_closed_profile SUBTYPE OF (shape_aspect); WHERE wr1: 'AUTOMOTIVE_DESIGN.'+ 'FEATURE_COMPONENT_DEFINITION' IN TYPEOF ( SELF.of_shape. definition ); wr2: SIZEOF ( QUERY ( pdr <* get_shape_aspect_property_definition_representations ( SELF ) | ( 'AUTOMOTIVE_DESIGN.'+ 'SHAPE_REPRESENTATION_WITH_PARAMETERS' IN TYPEOF ( pdr. used_representation ) ) ) ) =1; wr3: SIZEOF ( QUERY ( pdr <* get_shape_aspect_property_definition_representations ( SELF ) | ( 'AUTOMOTIVE_DESIGN.'+ 'SHAPE_REPRESENTATION_WITH_PARAMETERS' IN TYPEOF ( pdr. used_representation ) ) AND {3<= SIZEOF ( pdr. used_representation.items ) <=4} ) ) =1; wr4: SIZEOF ( QUERY ( pdr <* get_shape_aspect_property_definition_representations ( SELF ) | ( 'AUTOMOTIVE_DESIGN.'+ 'SHAPE_REPRESENTATION_WITH_PARAMETERS' IN TYPEOF ( pdr. used_representation ) ) AND ( SIZEOF ( QUERY ( i <* pdr. used_representation.items | NOT ( i.name IN ['orientation' , 'number of sides' , 'circumscibed diameter' , 'diameter across flats' , 'corner radius' ] ) ) ) =0 ) ) ) =1; wr5: SIZEOF ( QUERY ( pdr <* get_shape_aspect_property_definition_representations ( SELF ) | ( 'AUTOMOTIVE_DESIGN.'+ 'SHAPE_REPRESENTATION_WITH_PARAMETERS' IN TYPEOF ( pdr. used_representation ) ) AND ( SIZEOF ( QUERY ( i <* pdr. used_representation.items | ( 'AUTOMOTIVE_DESIGN.'+ 'PLACEMENT' IN TYPEOF ( i ) ) AND ( i.name ='orientation' ) ) ) =1 ) ) ) =1; wr6: SIZEOF ( QUERY ( pdr <* get_property_definition_representations ( SELF ) | ( 'AUTOMOTIVE_DESIGN.'+ 'SHAPE_REPRESENTATION_WITH_PARAMETERS' IN TYPEOF ( pdr. used_representation ) ) AND ( SIZEOF ( QUERY ( i <* pdr. used_representation.items | ( i.name= 'number of sides' ) AND ( 'AUTOMOTIVE_DESIGN.'+ 'MEASURE_REPRESENTATION_ITEM' IN TYPEOF ( i ) ) AND ( 'AUTOMOTIVE_DESIGN.'+ 'COUNT_MEASURE' IN TYPEOF ( i\measure_with_unit. value_component ) ) ) ) =1 ) ) ) =1; wr7: SIZEOF ( QUERY ( pdr <* get_property_definition_representations ( SELF ) | ( 'AUTOMOTIVE_DESIGN.'+ 'SHAPE_REPRESENTATION_WITH_PARAMETERS' IN TYPEOF ( pdr. used_representation ) ) AND ( SIZEOF ( QUERY ( i <* pdr. used_representation.items | ( i.name IN [ 'circumscribed diameter' , 'diameter across flats' ] ) AND ( SIZEOF ( ['AUTOMOTIVE_DESIGN.'+ 'MEASURE_REPRESENTATION_ITEM' , 'AUTOMOTIVE_DESIGN.'+ 'LENGTH_MEASURE_WITH_UNIT']*TYPEOF ( i ) ) =2 ) ) ) =1 ) ) ) =1; wr8: SIZEOF ( QUERY ( pdr <* get_property_definition_representations ( SELF ) | ( 'AUTOMOTIVE_DESIGN.'+ 'SHAPE_REPRESENTATION_WITH_PARAMETERS' IN TYPEOF ( pdr. used_representation ) ) AND ( SIZEOF ( QUERY ( i <* pdr. used_representation.items | ( i.name = 'corner radius' ) ) ) <=1 ) AND ( SIZEOF ( QUERY ( i <* pdr. used_representation.items | ( i.name = 'corner radius' ) AND ( SIZEOF ( ['AUTOMOTIVE_DESIGN.'+ 'MEASURE_REPRESENTATION_ITEM' , 'AUTOMOTIVE_DESIGN.'+ 'LENGTH_MEASURE_WITH_UNIT']*TYPEOF ( i ) ) =2 ) ) ) = SIZEOF ( QUERY ( i <* pdr. used_representation.items | ( i.name = 'corner radius' ) ) ) ) ) ) =1; END_ENTITY; -- ngon_closed_profile |
Entity data types and their attributesshape_aspectname: label; (OPT) description: text; of_shape: product_definition_shape; product_definitional: LOGICAL; (DER) id: identifier; ngon_closed_profile - |
Global rules for this entity data type- |
public interface ENgon_closed_profile extends EShape_aspect |
public class CNgon_closed_profile implements ENgon_closed_profile |
public class ANgon_closed_profile extends AEntitypublic ENgon_closed_profile getByIndex(int index)public ENgon_closed_profile getCurrentMember(SdaiIterator it) |