Skip to content

Commit

Permalink
FIX: Replace a function from wrong position (#5312)
Browse files Browse the repository at this point in the history
  • Loading branch information
ramin4667 authored Oct 18, 2024
1 parent 384b892 commit fc37ef5
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/ansys/aedt/core/filtersolutions_core/export_to_aedt.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,10 +282,6 @@ def _define_export_to_desktop_dll_functions(self):
self._dll.importTunedVariables.argtypes = [c_char_p, c_int]
self._dll.importTunedVariables.restype = c_int

def _open_aedt_export(self):
"""Open export page to accept manipulate export parameters"""
status = self._dll.openLumpedExportPage()
ansys.aedt.core.filtersolutions_core._dll_interface().raise_error(status)
self._dll.setPartLibraries.argtype = c_int
self._dll.setPartLibraries.restype = c_int
self._dll.getPartLibraries.argtype = POINTER(c_int)
Expand Down Expand Up @@ -494,6 +490,11 @@ def _open_aedt_export(self):
self._dll.removeModelithicsResistorsFamily.argtype = c_char_p
self._dll.removeModelithicsResistorsFamily.restype = c_int

def _open_aedt_export(self):
"""Open export page to accept manipulate export parameters"""
status = self._dll.openLumpedExportPage()
ansys.aedt.core.filtersolutions_core._dll_interface().raise_error(status)

@property
def schematic_name(self) -> str:
"""Name of the exported schematic in ``AEDT``, displayed as the project and design names.
Expand Down

0 comments on commit fc37ef5

Please sign in to comment.