Skip to content

Commit 01ce793

Browse files
authored
Fixed issue with FieldInfo -> get_range() (#1015)
1 parent 7080f4f commit 01ce793

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ansys/fluent/core/services/field_data.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ def __init__(self, service: FieldDataService):
6565
def get_range(
6666
self, field: str, node_value: bool = False, surface_ids: List[int] = None
6767
) -> List[float]:
68+
if not surface_ids:
69+
surface_ids = []
6870
request = FieldDataProtoModule.GetRangeRequest()
6971
request.fieldName = field
7072
request.nodeValue = node_value

0 commit comments

Comments
 (0)