Traceback (most recent call last):
File "d:\pyfluent\examples\00-fluent\brake.py", line 218, in <module>
session.settings.results.graphics.contour["temperature-1"] = {
File "D:\pyfluent\.venv\lib\site-packages\ansys\fluent\core\solver\flobject.py", line 1895, in __setitem__
child.set_state(value)
File "D:\pyfluent\.venv\lib\site-packages\ansys\fluent\core\solver\flobject.py", line 766, in set_state
state, outer_set_states = self._unalias(self.__class__, kwargs or state)
File "D:\pyfluent\.venv\lib\site-packages\ansys\fluent\core\solver\flobject.py", line 749, in _unalias
ret[k], o_set_states = cobj._unalias(ccls, v)
File "D:\pyfluent\.venv\lib\site-packages\ansys\fluent\core\solver\flobject.py", line 749, in _unalias
ret[k], o_set_states = cobj._unalias(ccls, v)
File "D:\pyfluent\.venv\lib\site-packages\ansys\fluent\core\solver\flobject.py", line 748, in _unalias
cobj = getattr(self, k)
File "D:\pyfluent\.venv\lib\site-packages\ansys\fluent\core\solver\flobject.py", line 1099, in __getattribute__
raise InactiveObjectError(self.python_path)
ansys.fluent.core.solver.flobject.InactiveObjectError: '<session>.settings.results.graphics.contour["temperature-1"].range_option.auto_range_off' is currently inactive.
🔍 Before submitting the issue
🐞 Description of the bug
range_option.auto_range_off does not work properly.
Above code gives the following error -
It works fine if we set it explicitly as follows:
📝 Steps to reproduce
Run https://github.com/ansys/pyfluent/blob/main/examples/00-fluent/brake.py
💻 Which operating system are you using?
Windows
📀 Which ANSYS version are you using?
25R1
🐍 Which Python version are you using?
3.10
📦 Installed packages