Skip to content

Commit

Permalink
refactoring Modeler3D and Modeler2D classes and inheritance
Browse files Browse the repository at this point in the history
  • Loading branch information
maxcapodi78 authored and maxcapodi78 committed Oct 27, 2023
1 parent 583f95e commit 0b48beb
Show file tree
Hide file tree
Showing 10 changed files with 5,401 additions and 5,448 deletions.
2 changes: 1 addition & 1 deletion _unittest/test_08_Primitives3D.py
Original file line number Diff line number Diff line change
Expand Up @@ -1770,7 +1770,7 @@ def test_85_insert_layoutcomponent(self):
self.aedtapp.solution_type = "Terminal"
comp = self.aedtapp.modeler.insert_layout_component(self.layout_component, name=None, parameter_mapping=False)
assert isinstance(comp, UserDefinedComponent)
assert len(self.aedtapp.modeler.modeler.user_defined_components[comp.name].parts) == 3
assert len(self.aedtapp.modeler.user_defined_components[comp.name].parts) == 3
comp2 = self.aedtapp.modeler.insert_layout_component(
self.layout_component, name="new_layout", parameter_mapping=True
)
Expand Down
4,879 changes: 0 additions & 4,879 deletions pyaedt/modeler/cad/Modeler.py

Large diffs are not rendered by default.

Loading

0 comments on commit 0b48beb

Please sign in to comment.