1、 10303-520200712007/398 520 . ISO 10303-520:1999Industrial automation systems and integration Product data representation andexchange Part 520: Application interpreted construct: Associative draughtingelements(IDT) 27 2002 . 184- , 1.02004 . 1 - - , 42 459 - 3 20 2007 . 35-4 10303-520:1999 . -. 520.
2、 . (ISO 10303-520:1999 Industrial automation systems and integration Product data representation andexchange Part 520: Application interpreted construct: Associative draughting elements). - , 5 , - . () . - , , 2007 , - - II 10303-52020071 .12 13 23.1 , 10303-123.2 , 10303-202 .24 EXPRESS .24.1 .34.
3、2 aic_associative_draughting_elements 44.3 aic_associative_draughting_elements .7 () .10 () 11 () EXPRESS-G 12 D () - .18 E () .19III 10303-5202007 10303 - . -, . , . 10303 (). : , , , -, , . 10303-1. - . () - , - . - , . , , .IV 10303-5202007 520 . Industrial automation systems and integration. Pro
4、duct data representation and exchange.Part 520. Application interpreted constructions. Associative draughting elements 200709011 , . :- , - ;- , , . :- ;- , .2 :/ 8824-1:2002 . . (A.1). 10303-1:1994 . - . 1. - 10303-11:1994 . - . 11. . EXPRESS 10303-41:1994 . - . 41. . 10303-43:1994 . - . 43. . 1030
5、3-46:1994 . - . 46. . 1 10303-5202007 10303-47:1997 . - . 47. . 10303-101:1994 . . 101. . - 10303-202:1996 . - . 202. . 3 3.1 , 10303-1 :- ; (abstract text suite; ATS);- (application);- (application context);- ; (application protocol; AP);- (implementation method);- (interpretation);- (model);- (pro
6、duct);- (product data).3.2 , 10303-202 : ; (application interpreted construct;AIC): , .4 EXPRESS EXPRESS-, - , . - , . , 10303-11. . . , - .EXPRESS-*)SCHEMA aic_associative_draughting_elements;USE FROM measure_schema - ISO 10303-41(derived_unit,named_unit);USE FROM product_property_definition_schema
7、 - ISO 10303-41(shape_aspect_relationship);USE FROM product_property_representation_schema - ISO 10303-41(shape_definition_representation);REFERENCE FROM support_resource_schema - ISO 10303-41(bag_to_set);2 10303-5202007USE FROM representation_schema - ISO 10303-43(mapped_item,representation,represe
8、ntation_item,representation_map);REFERENCE FROM representation_schema - ISO 10303-43(using_representations);USE FROM qualified_measure_schema - ISO 10303-45(measure_representation_item);USE FROM presentation_appearance_schema - ISO 10303-46(curve_style,styled_item);USE FROM presentation_definition_s
9、chema - ISO 10303-46(annotation_curve_occurrence,annotation_fill_area_occurrence,annotation_occurrence,annotation_occurrence_relationship,annotation_symbol_occurrence,annotation_text_occurrence,text_literal);USE FROM presentation_organization_schema - ISO 10303-46(camera_model);USE FROM shape_dimens
10、ion_schema - ISO 10303-47(dimensional_characteristic_representation,shape_dimension_representation);USE FROM draughting_element_schema - ISO 10303-101(draughting_callout,leader_curve,projection_curve);(* , , - 10303:draughting_element_schema O 10303-101;measure_schema O 10303-41;presentation_appeara
11、nce_schema O 10303-46;presentation_definition_schema O 10303-46;presentation_organization_schema O 10303-46;product_property_definition_schema O 10303-41;product_property_representation_schema O 10303-41;representation_schema O 10303-43;shape_dimension_schema O 10303-47;support_resource_schema O 103
12、03-41.4.1 , , :- annotation_curve_occurrence;- annotation_fill_area_occurrence;- annotation_occurrence_associativity;- annotation_symbol_occurrence;3 10303-5202007- dimension_text_associativity;- draughting_callout;- draughting_model;- leader_curve;- projection_curve;- shape_aspect_associativity;- s
13、hape_definition_representation;- shape_dimension_representation.4.2 aic_associative_draughting_elements4.2.1 annotation_occurrence_associativity annotation_occurrence_associativity annotation_-occurrence_relationship. , , .EXPRESS-*)ENTITY annotation_occurrence_associativitySUBTYPE OF (annotation_oc
14、currence_relationship);WHEREWR1: SIZEOF (TYPEOF (SELF.related_annotation_occurrence) *AIC_ASSOCIATIVE_DRAUGHTING_ELEMENTS.ANNOTATION_FILL_AREA_OCCURRENCE,AIC_ASSOCIATIVE_DRAUGHTING_ELEMENTS.PROJECTION_CURVE,AIC_ASSOCIATIVE_DRAUGHTING_ELEMENTS.LEADER_CURVE) = 1;END_ENTITY;(* WR1 related_annotation_oc
15、currence leader_curve,projection_curve annotation_fill_area_occurrence.4.2.2 dimension_text_associativity dimension_text_associativity text_literal. shape_dimension_representation draughting_callout, -. shape_dimension_representation , .EXPRESS-*)ENTITY dimension_text_associativitySUBTYPE OF (text_l
16、iteral, mapped_item);WHEREWR1: (AIC_ASSOCIATIVE_DRAUGHTING_ELEMENTS.SHAPE_DIMENSION_REPRESENTATIONIN TYPEOF (SELFmapped_item.mapping_source.mapped_representation);WR2: (AIC_ASSOCIATIVE_DRAUGHTING_ELEMENTS.DRAUGHTING_CALLOUTIN TYPEOF (SELFmapped_item.mapping_target);WR3: SIZEOF (QUERY (ato = 1) = 1)
17、= 0) = 0;WR4: SIZEOF (QUERY (pd 2) THENRETURN (FALSE);END_IF;- , sr1 := using_representations (sdr.used_representation.items 1);sr2 := using_representations (sdr.used_representation.items 2);- , 1 REPEAT i := 1 TO HIINDEX(sr1);dm := representations_mapped_into(sr1i);REPEAT j := 1 TO HIINDEX(dm);IF (
18、AIC_ASSOCIATIVE_DRAUGHTING_ELEMENTS.DRAUGHTING_MODEL IN TYPEOF(dmj)THENIF (dmj IN sr2) THEN RETURN (TRUE);END_IF;- , pv := representations_mapped_into(dmj);7 10303-5202007REPEAT k := 1 TO HIINDEX(pv);IF (AIC_ASSOCIATIVE_DRAUGHTING_ELEMENTS.PRESENTATION_VIEW IN TYPEOF(pvk)THENIF (pvk IN sr2) THEN RETURN (TRUE);END_IF;END_IF;END_REPEAT;END_IF;END_REPEAT;END_REPEAT;- , 2 REPEAT i := 1 TO HIINDEX(sr2);dm := representations_mapped_into(sr2i);REPEAT j := 1 TO HIINDEX(dm);IF (AIC_ASSOCIATIVE_DRAUGHTING_ELEMENTS.DRAUGHTING_MODEL IN TYPEOF(dmj)THENIF (dmj IN sr1) THEN RETURN