|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## 0.8.0 |
| 4 | + |
| 5 | +* New Classes, methods, properties and enums added. |
| 6 | + |
| 7 | +### Introduced in V5-6R2021 |
| 8 | + |
| 9 | +* added the following new classes introduced in V5-6R2021. |
| 10 | + * ManufacturingComputePMAParameters |
| 11 | + * ManufacturingFeatureFactory |
| 12 | + * ManufacturingMachinableAreaMngt |
| 13 | + * ManufacturingParameter |
| 14 | + * PartServices |
| 15 | + |
| 16 | +* added the following new methods / properties introduced in V5-6R2021. |
| 17 | + * DrawingTable.orientation_reference |
| 18 | + * DrawingTable.text_properties |
| 19 | + * DrawingText.orientation_reference |
| 20 | + |
| 21 | +### Introduced in V5-6R2020 |
| 22 | + |
| 23 | +* added the following new classes introduced in V5-6R2020. |
| 24 | + * CompositesServices |
| 25 | + * CompositesMaterial |
| 26 | + * CDMASettingAtt |
| 27 | + * ManufacturingProgram2 |
| 28 | + |
| 29 | +* added the following new methods / properties introduced in V5-6R2020. |
| 30 | + * HybridShapeUnfold.target_direction |
| 31 | + * HybridShapeUnfold.target_origin |
| 32 | + * StepSettingAtt.att_annotation_export |
| 33 | + * StepSettingAtt.get_att_annotation_export_info() |
| 34 | + * StepSettingAtt.set_att_annotation_export_lock() |
| 35 | + * Wrappings.compute_wrapping_with_convex_hull() |
| 36 | + |
| 37 | +* added the following enumeration types introduced in V5-6R2020: |
| 38 | + * cat_composites_type |
| 39 | + |
| 40 | +### Introduced in V5-6R2019 |
| 41 | + |
| 42 | +* added the following new classes introduced in V5-6R2019. |
| 43 | + * MedianFeature |
| 44 | + * NumericalDisplayFormat |
| 45 | + * SemanticGDTCommonZone |
| 46 | + * SemanticGDTFrameExtension |
| 47 | + * SemanticGDTNxDisplay |
| 48 | + * ManufacturingActivityToolPath |
| 49 | +* added the following new methods / properties introduced in V5-6R2019. |
| 50 | + * DxfSettingAtt.export_view_as_viewport |
| 51 | + * DxfSettingAtt.get_export_view_as_viewport_info() |
| 52 | + * DxfSettingAtt.set_export_view_as_viewport_lock() |
| 53 | + * DxfSettingAtt.set_export_view_as_viewport() |
| 54 | + * Ig2SettingAtt.export_view_as_viewport |
| 55 | + * Ig2SettingAtt.get_export_view_as_viewport_info() |
| 56 | + * Ig2SettingAtt.set_export_view_as_viewport_lock() |
| 57 | + * Ig2SettingAtt.set_export_view_as_viewport() |
| 58 | + * HybridShapeAssemble.get_healing_mode() |
| 59 | + * HybridShapeAssemble.set_healing_mode() |
| 60 | + * HybridShapeRevol.begin_angle_offset |
| 61 | + * HybridShapeRevol.end_angle_offset |
| 62 | + * Annotation.has_a_numerical_display_format() |
| 63 | + * Annotation.numerical_display_format |
| 64 | + * Annotation2.is_a_consumable_annotation |
| 65 | + * AnnotationSet.annotation_set_purpose |
| 66 | + * AnnotationSet.apply_result_with_link_when_copy_set_to |
| 67 | + * AnnotationSet.read_iso_default_properties |
| 68 | + * TPSView.annotation_plane |
| 69 | + * TPSView.annotation_sketch |
| 70 | + * TPSView.annotations |
| 71 | + * TPSView.display_ratio |
| 72 | + * TPSView.view_type |
| 73 | + * Dimension3D.is_a_continuous_feature_applied() |
| 74 | + * SemanticGDT.frame_extensions() |
| 75 | + * SemanticGDT.has_a_centered_element() |
| 76 | + * SemanticGDT.has_a_frame_extension() |
| 77 | + * SemanticGDT.is_applied_on_multiple_entities() |
| 78 | + * SemanticGDT.median_feature() |
| 79 | + * SemanticGDT.nx_display() |
| 80 | + * Application.begin_ur_concatenation() |
| 81 | + * Application.stop_ur_concatenation() |
| 82 | + |
| 83 | +### Introduced in V5-6R2018 |
| 84 | + |
| 85 | +* added the following new classes introduced in V5-6R2018. |
| 86 | + * CoordDim |
| 87 | + * DrawingCoordDim |
| 88 | + * DrawingCoordDims |
| 89 | + * DrawingGDT |
| 90 | + * DrawingGDTs |
| 91 | + |
| 92 | +* added the following new methods / properties introduced in V5-6R2018. |
| 93 | + * Annotation2.coordinate_dimension() |
| 94 | + * AnnotationFactory2.create_coord_dimension() |
| 95 | + * AnnotationFactory2.create_gdt() |
| 96 | + * NonSemanticGDT.get_2d_annot() |
| 97 | + * Layout2DView.coord_dims |
| 98 | + * Layout2DView.gdts |
| 99 | + * DrawingLeader.anchor_symbol |
| 100 | + * DrawingView.coord_dims |
| 101 | + * DrawingView.gdts |
| 102 | + * DrawingText.nb_link |
| 103 | + * DrawingText.get_parameter_link() |
| 104 | + * DrawingArrow.scale_on_extremities() #230 |
| 105 | + * VisualizationSettingAtt.pre_sel_navigator_started_by_arrow_keys |
| 106 | + * VisualizationSettingAtt.set_pre_sel_navigator_started_by_arrow_keys_lock |
| 107 | + * VisualizationSettingAtt.get_pre_sel_navigator_started_by_arrow_keys_info() |
| 108 | + * Hole.counter_drilled_mode |
| 109 | + * VarRadEdgeFillet.sharp_edge_removal_mode |
| 110 | + * VarRadEdgeFillet.switch_to_const_fillet_type() |
| 111 | + * ConstRadEdgeFillet.switch_to_var_fillet_type() |
| 112 | + * Measurable.get_angle_between_in_context() |
| 113 | + * Measurable.get_minimum_distance_in_context() |
| 114 | + * Measurable.get_minimum_distance_points_in_context() |
| 115 | + * SPAWorkbench.get_measurable_in_context() |
| 116 | + |
| 117 | +* added the following enumeration types introduced in V5-6R2018: |
| 118 | + * cat_cd_hole_mode |
| 119 | + |
3 | 120 | ## 0.7.4 |
4 | 121 |
|
5 | 122 | * fixed DrawingDimensions.add(). |
|
310 | 427 | ProductDocument and DrawingDocument. Example: |
311 | 428 |
|
312 | 429 | ```python |
| 430 | +from pathlib import Path |
| 431 | + |
313 | 432 | from pycatia import catia |
| 433 | +from pycatia.mec_mod_interfaces.part_document import PartDocument |
| 434 | + |
| 435 | +source_document = Path(r'tests/cat_files/part_measurable.CATPart') |
314 | 436 |
|
315 | 437 | caa = catia() |
316 | 438 | documents = caa.documents |
317 | | -documents.open(r'tests/cat_files/part_measurable.CATPart') |
| 439 | +documents.open(source_document) |
318 | 440 |
|
319 | 441 | # get the active document |
320 | | -document = caa.active_document |
| 442 | +document: PartDocument = caa.active_document |
321 | 443 | # get the Part() object. NOTE THIS IS NOW A PROPERTY, NOT A METHOD. |
322 | 444 | part = document.part |
323 | 445 | ``` |
@@ -544,4 +666,4 @@ Breaking changes. |
544 | 666 |
|
545 | 667 | * Added ability to parse csv and create points in a CATIA part. |
546 | 668 | * Added methods to open, save, save as and close CATIA files. |
547 | | -* Test coverage now covers |
| 669 | +* Test coverage now cover |
0 commit comments