File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
src/ansys/geometry/core/tools Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1+ Logo removal height issues
Original file line number Diff line number Diff line change @@ -370,9 +370,9 @@ def find_logos(
370370 bodies = [] if bodies is None else bodies
371371
372372 # Convert the height inputs to Distance if they are not already
373- if min_height :
373+ if min_height is not None :
374374 min_height = min_height if isinstance (min_height , Distance ) else Distance (min_height )
375- if max_height :
375+ if max_height is not None :
376376 max_height = max_height if isinstance (max_height , Distance ) else Distance (max_height )
377377
378378 response = self ._grpc_client ._services .prepare_tools .find_logos (
@@ -432,9 +432,9 @@ def find_and_remove_logos(
432432 bodies = [] if bodies is None else bodies
433433
434434 # Convert the height inputs to Distance if they are not already
435- if min_height :
435+ if min_height is not None :
436436 min_height = min_height if isinstance (min_height , Distance ) else Distance (min_height )
437- if max_height :
437+ if max_height is not None :
438438 max_height = max_height if isinstance (max_height , Distance ) else Distance (max_height )
439439
440440 response = self ._grpc_client ._services .prepare_tools .find_and_remove_logos (
You can’t perform that action at this time.
0 commit comments