Skip to content

Access to inactive objects #3273

In review
In review

Description

@seanpearsonuk

Children of inactive objects in the API hierarchy cannot be aliased without triggering an InactiveObjectError. E.g.:

>>> viscous = solver.settings.setup.models.viscous
Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "C:\Users\spearson\AppData\Local\Temp\tmphjkcu785\ansys\fluent\core\solver\flobject.py", line 1047, in __getattribute__
    raise InactiveObjectError(self.python_path)
ansys.fluent.core.solver.flobject.InactiveObjectError: '<session>.setup.models' is currently inactive.

This is unnecessarily restrictive.

Activity

  1. added
    enhancement
    on Sep 5, 2024
  2. moved this from 2025 Q1 Jan - Mar to No status in PyFluent Public Roadmapon Nov 8, 2024
  3. pyansys-automation commented on Sep 8, 2025

    @pyansys-automation
    Collaborator

    Hello @seanpearsonuk!
    This issue has been open for over a year and has had no updates in the past 8 months. If it is still relevant, please provide an update. Otherwise, consider closing it to help keep the issue tracker clean.

    If this issue needs to remain open, please comment below with @pyansys-automation never close issue to prevent it from being automatically closed.

    If you want this repository to be excluded from this automated maintenance process, please let us know by filling in the opt-out request form.

  4. prmukherj commented on Jan 22, 2026

    @prmukherj
    Collaborator

    if there are no named objects in the path then we should be allowed to traverse based on path, ie. via static info

  5. moved this from Backlog to 2026 Q4 Oct - Dec in PyFluent Public Roadmapon Jan 22, 2026
  6. moved this from 2026 Q4 Oct - Dec to 2027 Q1 Jan - Mar in PyFluent Public Roadmapon Aug 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions