ansys / ansys/pyresultexplorer
Changing visible bodies has no effect
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 19
Description
Plots and mesh views seem to not update while changing visible bodies on a plot that way from the display options:
``` python
with viewport.update_display_options() as opts:
assert isinstance(opts, PlotDisplayOptions)
opts.visible_bodies = [body.id for body in solution.bodies]
```
The changes only happens after interacting with the body table from the UI
Contributor guide
Research direction
Start with the viewport.update_display_options() entry point and PlotDisplayOptions.visible_bodies shown in the report, then compare that update path with the body-table interaction in the UI. Done means changing visible_bodies through the display-options context immediately updates the plot and mesh views without requiring UI interaction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100