|
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) |