ENTITY chamfer_offset SUBTYPE OF (shape_aspect); WHERE wr1: SELF.description IN [ 'first offset' , 'second offset' ]; 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 ( SIZEOF ( pdr. used_representation.items ) =1 ) ) ) =1; wr4: ( SELF.description<> 'first offset' ) OR ( 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 | ( i.name= 'offset amount' ) AND ( SIZEOF ( ['AUTOMOTIVE_DESIGN.'+ 'MEASURE_REPRESENTATION_ITEM' , 'AUTOMOTIVE_DESIGN.'+ 'LENGTH_MEASURE_WITH_UNIT']*TYPEOF ( i ) ) =2 ) ) ) =1 ) ) ) =1 ); wr5: ( SELF.description<> 'second offset' ) OR ( 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 | ( i.name= 'offset amount' ) AND ( SIZEOF ( ['AUTOMOTIVE_DESIGN.'+ 'MEASURE_REPRESENTATION_ITEM' , 'AUTOMOTIVE_DESIGN.'+ 'LENGTH_MEASURE_WITH_UNIT']*TYPEOF ( i ) ) =2 ) ) ) =1 ) OR ( SIZEOF ( QUERY ( i <* pdr. used_representation.items | ( i.name= 'offset angle' ) AND ( 'AUTOMOTIVE_DESIGN.'+ 'PLANE_ANGLE_MEASURE_WITH_UNIT' IN TYPEOF ( i ) ) ) ) =1 ) ) ) ) =1 ); wr6: SIZEOF ( QUERY ( sar <* USEDIN ( SELF , 'AUTOMOTIVE_DESIGN.'+'SHAPE_ASPECT_RELATIONSHIP.'+ 'RELATED_SHAPE_ASPECT' ) | ( 'AUTOMOTIVE_DESIGN.'+ 'FEATURE_COMPONENT_RELATIONSHIP' IN TYPEOF ( sar ) ) AND ( 'AUTOMOTIVE_DESIGN.'+ 'CHAMFER' IN TYPEOF ( sar. relating_shape_aspect ) ) ) ) >=1; wr7: ( SELF.description<> 'first offset' ) OR ( SIZEOF ( QUERY ( pdr <* get_shape_aspect_property_definition_representations ( SELF ) | ( 'AUTOMOTIVE_DESIGN.'+ 'FACE_SHAPE_REPRESENTATION' IN TYPEOF ( pdr. used_representation ) ) AND ( pdr. used_representation.name = 'first face shape' ) ) ) =1 ); wr8: ( SELF.description<> 'second offset' ) OR ( SIZEOF ( QUERY ( pdr <* get_shape_aspect_property_definition_representations ( SELF ) | ( 'AUTOMOTIVE_DESIGN.'+ 'FACE_SHAPE_REPRESENTATION' IN TYPEOF ( pdr. used_representation ) ) AND ( pdr. used_representation.name = 'second face shape' ) ) ) =1 ); END_ENTITY; -- chamfer_offset |
Entity data types and their attributesshape_aspectname: label; (OPT) description: text; of_shape: product_definition_shape; product_definitional: LOGICAL; (DER) id: identifier; chamfer_offset - |
Global rules for this entity data type- |
public interface EChamfer_offset extends EShape_aspect |
public class CChamfer_offset implements EChamfer_offset |
public class AChamfer_offset extends AEntitypublic EChamfer_offset getByIndex(int index)public EChamfer_offset getCurrentMember(SdaiIterator it) |