Skip to content

Commit 280d18f

Browse files
REFACTOR: Power map from csv extension (#6388)
Co-authored-by: pyansys-ci-bot <[email protected]>
1 parent c08417b commit 280d18f

File tree

8 files changed

+489
-218
lines changed

8 files changed

+489
-218
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Power map from csv extension

src/ansys/aedt/core/extensions/hfss3dlayout/cutout.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,9 +212,7 @@ def __check_design_type(self):
212212
"""Check if the active design is an HFSS 3D Layout design."""
213213
active_design = self.desktop.active_design()
214214
if active_design is None or active_design.GetDesignType() != "HFSS 3D Layout Design":
215-
raise AEDTRuntimeError(
216-
"An HFSS 3D Layout design is needed for this extension.", active_design.GetDesignType()
217-
)
215+
raise AEDTRuntimeError("An HFSS 3D Layout design is needed for this extension.")
218216

219217
def __load_objects_net(self):
220218
"""Load objects by net from the EDB modeler."""

0 commit comments

Comments
 (0)