Skip to content

set_state no longer available in arguments #5014

@millerj97

Description

@millerj97

🔍 Before submitting the issue

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

🐞 Description of the bug

previous to release 0.38 it was possible to assign settings using arguments.set_state, which is no longer possible and causes below error;

AttributeError: 'function' object has no attribute 'set_state'

📝 Steps to reproduce

import ansys.fluent.core as pyfluent
meshing= pyfluent.launch_fluent(mode='meshing')
fault_tolerant=meshing.fault_tolerant()
dir(fault_tolerant.define_leakage_threshold.arguments)

check above in 0.38 and previous release, see no set_state available

💻 Which operating system are you using?

Linux

📀 Which ANSYS version are you using?

No response

🐍 Which Python version are you using?

3.10

📦 Installed packages

ansys-api-fluent==0.3.38
ansys-api-platform-instancemanagement==1.1.3
ansys-api-tools-filetransfer==0.2.0
ansys-fluent-core==0.38.0
ansys-platform-instancemanagement==1.1.2
ansys-tools-common==0.5.0
ansys-tools-filetransfer==0.2.2
ansys-units==0.10.1
certifi==2026.2.25
charset-normalizer==3.4.6
click==8.3.1
defusedxml==0.7.1
Deprecated==1.3.1
docker==7.1.0
googleapis-common-protos==1.73.0
grpcio==1.78.0
grpcio-health-checking==1.78.0
grpcio-status==1.78.0
idna==3.11
importlib_metadata==9.0.0
joblib==1.5.3
nltk==3.9.4
numpy==2.2.6
pandas==2.3.3
platformdirs==4.9.4
protobuf==6.33.6
python-dateutil==2.9.0.post0
pytz==2026.1.post1
PyYAML==6.0.3
regex==2026.2.28
requests==2.32.5
scooby==0.11.0
six==1.17.0
tqdm==4.67.3
typing_extensions==4.15.0
tzdata==2025.3
urllib3==2.6.3
wrapt==2.1.2
zipp==3.23.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue, problem or error in PyFluent

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions