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

Bug : PyMechanical is not able display inherited attributes #639

Open
2 tasks done
dipinknair opened this issue Mar 13, 2024 · 0 comments
Open
2 tasks done

Bug : PyMechanical is not able display inherited attributes #639

dipinknair opened this issue Mar 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@dipinknair
Copy link
Collaborator

🔍 Before submitting the issue

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

🐞 Description of the bug

Currently PyMechanical not able to display attributes which are inherited. This is issue with @pythonnet But will be fixed with ansys-pythonnet

📝 Steps to reproduce

Create a model with named selection then run below

Model.NamedSelections.Children[0].Ids
Model.NamedSelections.Children[0].Entities

Error Message

>>> Model.NamedSelections.Children[0].Ids
CRITICAL -  -  logging - handle_exception - Uncaught exception
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'NamedSelection' object has no attribute 'Ids'

💻 Which operating system are you using?

Windows

📀 Which ANSYS version are you using?

241

🐍 Which Python version are you using?

3.11

📦 Installed packages

accessible-pygments==0.0.4
alabaster==0.7.16
ansys-api-mechanical==0.1.1
ansys-api-platform-instancemanagement==1.0.0
-e git+https://github.com/ansys/pymechanical.git@6398b2bb17359b764c7dedc6aed06f80e59fdab4#egg=ansys_mechanical_core
ansys-mechanical-env==0.1.4
ansys-platform-instancemanagement==1.1.2
ansys-pythonnet==3.1.0rc3
ansys-sphinx-theme @ git+https://github.com/ansys/ansys-sphinx-theme.git@c0488a38ed56b33086777706daea4f8c55cf270a
ansys-tools-path==0.4.1
anyio==4.3.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
attrs==23.2.0
Babel==2.14.0
beautifulsoup4==4.12.3
bleach==6.1.0
bokeh==3.3.4
certifi==2024.2.2
cffi==1.16.0
cfgv==3.4.0
charset-normalizer==3.3.2
click==8.1.7
clr-loader==0.2.6
colorama==0.4.6
comm==0.2.2
contourpy==1.2.0
cycler==0.12.1
debugpy==1.8.1
decorator==5.1.1
defusedxml==0.7.1
distlib==0.3.8
docutils==0.20.1
executing==2.0.1
fastjsonschema==2.19.1
filelock==3.13.1
fonttools==4.49.0
fqdn==1.5.1
grpcio==1.62.0
h11==0.14.0
httpcore==1.0.4
httpx==0.27.0
identify==2.5.35
idna==3.6
imageio==2.34.0
imageio-ffmpeg==0.4.9
imagesize==1.4.1
importlib_metadata==7.0.2
iniconfig==2.0.0
ipydatawidgets==4.3.5
ipykernel==6.29.3
ipython==8.22.2
ipywidgets==8.1.2
isoduration==20.11.0
jedi==0.19.1
Jinja2==3.1.3
json5==0.9.22
jsonpointer==2.4
jsonschema==4.21.1
jsonschema-specifications==2023.12.1
jupyter-events==0.9.1
jupyter-lsp==2.2.4
jupyter-sphinx==0.5.3
jupyter_client==8.6.1
jupyter_core==5.7.2
jupyter_server==2.13.0
jupyter_server_terminals==0.5.3
jupyterlab==4.1.4
jupyterlab_pygments==0.3.0
jupyterlab_server==2.25.4
jupyterlab_widgets==3.0.10
kiwisolver==1.4.5
linkify-it-py==2.0.3
livereload==2.6.3
Markdown==3.5.2
markdown-it-py==3.0.0
MarkupSafe==2.1.5
matplotlib==3.8.3
matplotlib-inline==0.1.6
mdit-py-plugins==0.4.0
mdurl==0.1.2
mistune==3.0.2
nbclient==0.10.0
nbconvert==7.16.2
nbformat==5.10.2
nest-asyncio==1.6.0
nodeenv==1.8.0
notebook_shim==0.2.4
numpy==1.26.4
numpydoc==1.6.0
overrides==7.7.0
packaging==24.0
pandas==2.2.1
pandocfilters==1.5.1
panel==1.3.8
param==2.0.2
parso==0.8.3
pillow==10.2.0
platformdirs==4.2.0
plotly==5.19.0
pluggy==1.4.0
pooch==1.8.1
pre-commit==3.6.2
prometheus_client==0.20.0
prompt-toolkit==3.0.43
protobuf==4.25.3
psutil==5.9.8
pure-eval==0.2.2
pycparser==2.21
pydata-sphinx-theme==0.14.4
Pygments==2.17.2
pypandoc==1.13
pyparsing==3.1.2
pytest==8.1.1
pytest-sphinx==0.6.0
python-dateutil==2.9.0.post0
python-json-logger==2.0.7
pythreejs==2.4.2
pytz==2024.1
pyvista==0.43.3
pyviz_comms==3.0.1
pywin32==306
pywinpty==2.0.13
PyYAML==6.0.1
pyzmq==25.1.2
referencing==0.33.0
requests==2.31.0
rfc3339-validator==0.1.4
rfc3986-validator==0.1.1
rpds-py==0.18.0
scooby==0.9.2
Send2Trash==1.8.2
six==1.16.0
sniffio==1.3.1
snowballstemmer==2.2.0
soupsieve==2.5
Sphinx==7.2.6
sphinx-autobuild==2024.2.4
sphinx-autodoc-typehints==2.0.0
sphinx-copybutton==0.5.2
sphinx-gallery==0.15.0
sphinx-notfound-page==1.0.0
sphinx_design==0.5.0
sphinxcontrib-applehelp==1.0.8
sphinxcontrib-devhelp==1.0.6
sphinxcontrib-htmlhelp==2.0.5
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.7
sphinxcontrib-serializinghtml==1.1.10
sphinxcontrib-websupport==1.2.7
sphinxemoji==0.3.1
stack-data==0.6.3
tabulate==0.9.0
tenacity==8.2.3
terminado==0.18.1
tinycss2==1.2.1
tornado==6.4
tqdm==4.66.2
traitlets==5.14.2
traittypes==0.2.1
types-python-dateutil==2.8.19.20240311
typing_extensions==4.10.0
tzdata==2024.1
uc-micro-py==1.0.3
uri-template==1.3.0
urllib3==2.2.1
virtualenv==20.25.1
vtk==9.3.0
wcwidth==0.2.13
webcolors==1.13
webencodings==0.5.1
websocket-client==1.7.0
widgetsnbextension==4.0.10
xyzservices==2023.10.1
zipp==3.18.0
@dipinknair dipinknair added the bug Something isn't working label Mar 13, 2024
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

No branches or pull requests

1 participant