Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error occurs in "import_dxf" method in HFSS #3592

Closed
2 tasks done
ngkazu opened this issue Sep 19, 2023 · 1 comment · Fixed by #3593
Closed
2 tasks done

Error occurs in "import_dxf" method in HFSS #3592

ngkazu opened this issue Sep 19, 2023 · 1 comment · Fixed by #3593
Assignees
Labels
bug Something isn't working

Comments

@ngkazu
Copy link

ngkazu commented Sep 19, 2023

Before submitting the issue

  • I have searched among the existing issues
  • I am using a Python virtual environment

Description of the bug

In import_dxf / Analysis3D.py:
----Line 1234 : v0.6.93
if self.is3d:
sheet_bodies_2d = False

Application instance except Maxwell dose not have self.is3d.
So, I get an error.

Please take action

Regards

Steps To Reproduce

from pyaedt import Hfss
app= Hfss()
file_path= r'D:/temp/foo.dxf'
layers_list= ['Air', 'Die', 'HeatSink', ....]
app.import_dxf(file_path= file_path, layers_list= layers_list)

#-----

Which Operating System are you using?

Windows

Which Python version are you using?

3.10

Installed packages

cffi==1.15.1
clr-loader==0.2.6
plumbum==1.8.2
psutil==5.9.5
pyaedt==0.6.93
pycparser==2.21
pythonnet==3.0.2
pywin32==306
rpyc==5.3.1

@ngkazu ngkazu added the bug Something isn't working label Sep 19, 2023
@gmalinve gmalinve self-assigned this Sep 19, 2023
@gmalinve gmalinve linked a pull request Sep 19, 2023 that will close this issue
@gmalinve
Copy link
Contributor

Hi @ngkazu ,

The issue has been fixed and will be available in next release.
Thanks for feedback!

Giulia

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants