We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebd0ebb commit 0e5b0bfCopy full SHA for 0e5b0bf
doc/changelog.d/6436.fixed.md
@@ -0,0 +1 @@
1
+Import cad with none value in control file
src/ansys/aedt/core/hfss3dlayout.py
@@ -1373,7 +1373,7 @@ def _import_cad(
1373
project_name = generate_unique_name(project_name)
1374
aedb_path = aedb_path.replace(old_name, project_name)
1375
self.logger.warning("aedb_exists. Renaming it to %s", project_name)
1376
- if not Path(xml_path):
+ if xml_path is None:
1377
xml_path = Path("")
1378
elif Path(xml_path).suffix == ".tech":
1379
xml_path = Path(tech_to_control_file(xml_path))
0 commit comments