Skip to content

Replace get_range() with get_scalar_field_range() #4236

Closed
@philipp-tty

Description

@philipp-tty

Description of the modifications

The referenced documentation seems to be wrong.

field_info.get_range("velocity")

the method get_range does not exist.
Instead, it should be:

field_info.get_scalar_field_range("velocity")


As far as I could tell, the method never existed. At least a quick git blame didn't show any changes that mention a get_range() method.

Useful links and references

https://fluent.docs.pyansys.com/version/stable/user_guide/fields/field_info.html

class FieldInfo(BaseFieldInfo):

Metadata

Metadata

Assignees

Labels

documentationDocumentation related (improving, adding, etc)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions