We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac4b244 commit 6e0c7a3Copy full SHA for 6e0c7a3
pyaedt/modules/Boundary.py
@@ -94,9 +94,9 @@ def delete(self):
94
self._app.o_maxwell_parameters.DeleteParameters([self.name])
95
else:
96
self._app.oboundary.DeleteBoundaries([self.name])
97
- for el in self._app.boundaries:
+ for el in self._app.boundaries[:]:
98
if el.name == self.name:
99
- self._app.boundaries.remove(el)
+ del self._app._boundaries[el.name]
100
return True
101
102
def _get_boundary_data(self, ds):
0 commit comments