TAGGED: error
-
-
May 18, 2023 at 10:08 pm
nkumar
SubscriberHello,
I'm running a script to set up a module in 3DLayout. I get the following error and the script execution fails:
*Global - Messages
 [info] OpenGL Version: 4.6.0 - Build 31.0.101.1999
 [warning] C:\Program Files\AnsysEM\v222\Win64
 [warning] processPCB.py started
 [warning] top_level_directory = C:\Users\nkumar\Desktop\XXXXX\YYYYY\ExampleFolder
 [warning] made directories
 [warning] copied input files to directory_1_input_files
 [warning] Imported .aedb at 2023-05-18 11:04:20
 [error] EDBErrorException: Definition in use. [D:\AnsysDev\nextgen\lib\EDBKern\source\ComponentDef.cpp 609]  In file "C:/Users/nkumar/Desktop/XXXXX/YYYYY/setupScript.py", line 450 ---- While executing script: C:/Users/nkumar/Desktop/XXXXX/YYYYY/setupScript.py
 [error] Error executing script in C:\Users\nkumar\Desktop\XXXXX\YYYYY\setupScript.py:The line (line 450) the error is pointing to in the script is:
236 >>> clr.AddReference('Ansys.Ansoft.Edb)
237 >>> import Ansys.Ansoft.Edb as edb
...
450 >>> db = edb.Database.Open(aedb_folder_3_updated_stackup, False)
Â
If I run the script again, the script works. I'm trying to figure out why this is happening. Any help would be greatly appreciated.
Thanks,
Nithin
-
May 19, 2023 at 12:48 pm
Aymen Mzoughi
Ansys EmployeePlease have a look at the PyAEDT examples, especially the example concering EDB creation:
https://aedt.docs.pyansys.com/version/stable/examples/index.html
This should give an idea about how to properly create an EDB using automation. If you think there is an issue with PyAEDT, please file it here:
https://github.com/ansys/pyaedt/issues-
May 19, 2023 at 6:47 pm
nkumar
SubscriberHi Aymen,
This script was written in IronPython and doesn't use PyAEDT.
Thanks,
Nithin
-
-
- The topic ‘ANSYS HFSS 3DLayout 22R2 EDBErrorException: Definition in use.’ is closed to new replies.
- How does Ansys Twin Builder implement different simulation steps for subcircuits
- Simulation of capacitor combining eddy currents with displacement currents
- Compute near field simulation with current
- HFSS: Using Q3D to solve the DC point
- Double-sided LIM external circuit error
- Ansys Resonance simulatioin error
-
3150
-
1013
-
946
-
858
-
797
© 2025 Copyright ANSYS, Inc. All rights reserved.