Skip to content

Bug located in ... #6767

@jsalant22

Description

@jsalant22

Before submitting the issue

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

Description of the bug

The emit_instance.modeler.components.components_catalog isn't parsing the DefInfo correctly. We have some component names that are encapsulated in the aclb files using single quotes (e.g 'ARC-164(V)'), but the components_catalog is returning the component name as ARC-164 and then not returning any props for this component. The name should be ARC-164(V)

Image

Steps To Reproduce

`import ansys.aedt.core
from ansys.aedt.core.desktop import Desktop
from ansys.aedt.core import Emit
from ansys.aedt.core.emit_core.nodes.generated import RadioNode
from ansys.aedt.core.emit_core.emit_schematic import EmitSchematic

non_graphical = False
new_thread = False
desktop_version = "2026.1"

emitapp = Emit(version=desktop_version,
non_graphical=non_graphical,
new_desktop=True)

radio = emitapp.schematic.create_component('ARC-164(V)')`

Which Operating System are you using?

Windows

Which Python version are you using?

3.8

Installed packages

agi.stk12 @ file:///C:/Program%20Files/AGI/STK%2012/bin/AgPythonAPI/agi.stk12-12.9.0-py3-none-any.whl#sha256=cb5af8d446bee53d634c2754d9eaaf83d63fb3eb29e0c7ef7bc35f2f086c4a0d
annotated-types==0.7.0
ansys-api-edb==0.2.1
ansys-edb-core==0.2.1
ansys-pythonnet==3.1.0rc6
asgiref==3.9.1
attrs==25.3.0
certifi==2024.8.30
cffi==1.17.1
charset-normalizer==3.3.2
click==8.1.7
click-plugins==1.1.1
cligj==0.7.2
clr_loader==0.2.7.post0
colorama==0.4.6
contourpy==1.3.0
coverage==7.6.1
cryptography==45.0.4
cycler==0.12.1
defusedxml==0.7.1
Django==5.2.5
et-xmlfile==1.1.0
fast_simplification==0.1.7
fiona==1.10.0
fonttools==4.59.0
fpdf2==2.8.4
geopandas==0.14.4
grpcio==1.73.1
grpcio-tools==1.74.0
idna==3.8
imageio==2.35.1
iniconfig==2.0.0
joblib==1.4.2
jsonschema==4.25.0
jsonschema-specifications==2025.4.1
kiwisolver==1.4.7
markdown-it-py==3.0.0
matplotlib==3.9.2
mdurl==0.1.2
meshio==5.3.5
narwhals==2.1.1
networkx==3.3
numpy==2.2.6
openpyxl==3.1.5
osmnx==1.9.4
packaging==24.1
pandas==2.3.1
pdfminer.six==20250327
pdfplumber==0.11.6
pillow==11.3.0
platformdirs==4.3.2
plotly==6.3.0
pluggy==1.5.0
plumbum==1.9.0
pooch==1.8.2
protobuf==4.25.8
psutil==7.0.0
-e git+https://github.com/ansys/pyaedt.git@94052b796c98449b1cb8b33fa27be77a7bee4c10#egg=pyaedt
pycparser==2.22
pydantic==2.11.7
pydantic_core==2.33.2
pyedb==0.54.0
Pygments==2.18.0
pyparsing==3.1.4
pypdfium2==4.30.1
pyproj==3.6.1
PySide6==6.7.2
PySide6_Addons==6.7.2
PySide6_Essentials==6.7.2
pytest==8.4.1
pytest-cov==5.0.0
python-dateutil==2.9.0.post0
pytomlpp==1.0.13
pytz==2025.2
pyvista==0.44.1
pywin32==311
PyYAML==6.0.2
referencing==0.36.2
requests==2.32.3
rich==13.8.1
rpds-py==0.27.0
rpyc==6.0.2
rtree==1.4.0
scikit-learn==1.5.2
scikit-rf==1.8.0
scipy==1.16.1
scooby==0.10.0
shapely==2.1.1
shiboken6==6.7.2
six==1.17.0
sqlparse==0.5.3
SRTM.py==0.3.7
threadpoolctl==3.5.0
toml==0.10.2
tomli_w==1.2.0
typing-inspection==0.4.1
typing_extensions==4.14.1
tzdata==2025.2
urllib3==2.2.3
utm==0.7.0
vtk==9.3.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions