You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The get_object_material_properties method gives and error when the material name has mixed case.
Steps To Reproduce
For example, the project I tested used Al-Extruded as the material, and the method produced an error.
To replicate this issue, use any AEDT project with a box where the material is set to Al-Extruded. The material keys in the dictionary are in lowercase. As a result, when the code tries to find Al-Extruded in the material dictionary, it throws an error because the key in the dictionary is al-extruded.
Before submitting the issue
Description of the bug
The
get_object_material_properties
method gives and error when the material name has mixed case.Steps To Reproduce
For example, the project I tested used
Al-Extruded
as the material, and the method produced an error.To replicate this issue, use any AEDT project with a box where the material is set to
Al-Extruded
. The material keys in the dictionary are in lowercase. As a result, when the code tries to findAl-Extruded
in the material dictionary, it throws an error because the key in the dictionary isal-extruded
.Pyaedt version = 0.13.0
Which Operating System are you using?
Windows
Which Python version are you using?
3.10
Installed packages
aiohttp==3.9.5
aiosignal==1.3.1
annotated-types==0.7.0
ansys-api-dbu==0.3.6
ansys-api-geometry==0.4.13
ansys-api-mechanical==0.1.2
ansys-api-meshing-prime==0.1.3
ansys-api-platform-instancemanagement==1.1.0
ansys-geometry-core==0.7.5
ansys-mechanical-core==0.11.7
ansys-mechanical-env==0.1.7
ansys-meshing-prime==0.6.2
ansys-platform-instancemanagement==1.1.2
ansys-pythonnet==3.1.0rc4
ansys-tools-path==0.6.0
ansys-tools-visualization-interface==0.5.0
anyio==4.4.0
appdirs==1.4.4
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
arrow==1.3.0
asttokens==2.4.1
async-lru==2.0.4
async-timeout==4.0.3
attrs==23.2.0
Babel==2.15.0
backports.tarfile==1.2.0
beartype==0.19.0
beautifulsoup4==4.12.3
bleach==6.1.0
blinker==1.8.2
build==1.2.1
certifi==2024.6.2
cffi==1.16.0
cfgv==3.4.0
charset-normalizer==3.3.2
click==8.1.7
click-plugins==1.1.1
cligj==0.7.2
clr-loader==0.2.6
colorama==0.4.6
comm==0.2.2
contourpy==1.2.1
cycler==0.12.1
dash==2.17.1
dash-bootstrap-components==1.6.0
dash-core-components==2.0.0
dash-html-components==2.0.0
dash-table==5.0.0
dash_ag_grid==31.2.0
debugpy==1.8.1
decorator==5.1.1
defusedxml==0.7.1
distlib==0.3.9
dnspython==2.6.1
docutils==0.21.2
email_validator==2.2.0
et-xmlfile==1.1.0
exceptiongroup==1.2.1
executing==2.0.1
fast_simplification==0.1.7
fastapi==0.112.0
fastjsonschema==2.20.0
filelock==3.16.1
fiona==1.9.6
Flask==3.0.3
flexcache==0.3
flexparser==0.3.1
fonttools==4.53.0
fpdf2==2.7.9
fqdn==1.5.1
frozenlist==1.4.1
geopandas==0.14.4
grpcio==1.67.1
grpcio-health-checking==1.67.1
h11==0.14.0
httpcore==1.0.5
httpx==0.27.0
identify==2.6.4
idna==3.7
imageio==2.34.2
importlib_metadata==8.1.0
iniconfig==2.0.0
ipykernel==6.29.4
ipython==8.25.0
ipywidgets==8.1.3
isoduration==20.11.0
itsdangerous==2.2.0
jaraco.classes==3.4.0
jaraco.context==5.3.0
jaraco.functools==4.0.2
jedi==0.19.1
Jinja2==3.1.4
joblib==1.4.2
json5==0.9.25
jsonpointer==3.0.0
jsonschema==4.22.0
jsonschema-specifications==2023.12.1
jupyter-events==0.10.0
jupyter-lsp==2.2.5
jupyter_client==8.6.2
jupyter_core==5.7.2
jupyter_server==2.14.1
jupyter_server_proxy==4.3.0
jupyter_server_terminals==0.5.3
jupyterlab==4.2.2
jupyterlab_pygments==0.3.0
jupyterlab_server==2.27.2
jupyterlab_widgets==3.0.11
kaleido==0.2.1
keyring==25.2.1
kiwisolver==1.4.5
lxml==5.2.2
marimo==0.8.18
Markdown==3.7
markdown-it-py==3.0.0
MarkupSafe==2.1.5
matplotlib==3.9.0
matplotlib-inline==0.1.7
mdurl==0.1.2
meshio==5.3.5
mistune==3.0.2
more-itertools==10.3.0
msgpack==1.0.8
multidict==6.0.5
nbclient==0.10.0
nbconvert==7.16.4
nbformat==5.10.4
nest-asyncio==1.6.0
networkx==3.3
nh3==0.2.18
nodeenv==1.9.1
notebook_shim==0.2.4
numpy==1.26.4
openpyxl==3.1.5
osmnx==1.9.4
overrides==7.7.0
packaging==24.1
pandas==2.2.2
pandas-datareader==0.10.0
pandas-stubs==2.2.2.240603
pandocfilters==1.5.1
parso==0.8.4
pillow==10.3.0
Pint==0.24.3
pkginfo==1.10.0
platformdirs==4.2.2
plotly==5.23.0
pluggy==1.5.0
plumbum==1.8.3
pooch==1.8.2
pre_commit==4.0.1
prometheus_client==0.20.0
prompt_toolkit==3.0.47
protobuf==4.25.5
psutil==6.0.0
pure-eval==0.2.2
pyaedt==0.13.0
pyarrow==17.0.0
pycparser==2.22
pydantic==2.7.4
pydantic-settings==2.4.0
pydantic_core==2.18.4
pyedb==0.34.3
Pygments==2.18.0
pymdown-extensions==10.10.1
pyparsing==3.1.2
pyproj==3.6.1
pyproject_hooks==1.1.0
pyqtgraph==0.13.7
PySide6==6.7.2
PySide6_Addons==6.7.2
PySide6_Essentials==6.7.2
pytest==8.3.2
python-dateutil==2.9.0.post0
python-dotenv==1.0.1
python-json-logger==2.0.7
pytomlpp==1.0.13
pytz==2024.1
pyvista==0.44.1
pyvistaqt==0.11.1
pywin32==306
pywin32-ctypes==0.2.2
pywinpty==2.0.13
PyYAML==6.0.1
pyzmq==26.0.3
QDarkStyle==3.2.3
QtPy==2.4.1
readme_renderer==44.0
referencing==0.35.1
requests==2.32.3
requests-toolbelt==1.0.0
retrying==1.3.4
rfc3339-validator==0.1.4
rfc3986==2.0.0
rfc3986-validator==0.1.1
rich==13.7.1
rpds-py==0.18.1
rpyc==6.0.0
Rtree==1.2.0
ruff==0.6.7
scikit-learn==1.5.1
scikit-rf==1.1.0
scipy==1.14.0
scooby==0.10.0
semver==3.0.2
Send2Trash==1.8.3
shapely==2.0.5
shiboken6==6.7.2
simpervisor==1.0.0
six==1.16.0
sniffio==1.3.1
soupsieve==2.5
SRTM.py==0.3.7
stack-data==0.6.3
starlette==0.37.2
tabulate==0.9.0
tenacity==8.5.0
terminado==0.18.1
threadpoolctl==3.5.0
tinycss2==1.3.0
toml==0.10.2
tomli==2.0.1
tomli_w==1.1.0
tomlkit==0.13.2
tornado==6.4.1
tqdm==4.66.5
traitlets==5.14.3
trame==3.6.3
trame-client==3.2.1
trame-server==3.0.3
trame-vtk==2.8.9
trame-vuetify==2.6.2
twine==5.1.1
types-python-dateutil==2.9.0.20240316
types-pytz==2024.1.0.20240417
typing_extensions==4.12.2
tzdata==2024.1
uri-template==1.3.0
urllib3==2.2.2
utm==0.7.0
uvicorn==0.30.6
virtualenv==20.28.1
vtk==9.3.1
wcwidth==0.2.13
webcolors==24.6.0
webencodings==0.5.1
websocket-client==1.8.0
websockets==12.0
Werkzeug==3.0.3
widgetsnbextension==4.0.11
wslink==2.1.1
yarl==1.9.4
zipp==3.19.2
The text was updated successfully, but these errors were encountered: