Skip to content

Commit f16f050

Browse files
committed
Use latest fix for connection of Enums to operators
1 parent 766f79d commit f16f050

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/ansys/dpf/core/plotter.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -284,9 +284,10 @@ def add_field(
284284
eshell_layers.topbottom,
285285
eshell_layers.topbottommid,
286286
]:
287-
change_shell_layer_op = core.operators.utility.change_shell_layers()
288-
change_shell_layer_op.inputs.fields_container.connect(field)
289-
change_shell_layer_op.inputs.e_shell_layer.connect(shell_layer) # top layer taken
287+
change_shell_layer_op = core.operators.utility.change_shell_layers(
288+
fields_container=field,
289+
e_shell_layer=shell_layer, # top layer taken
290+
)
290291
field = change_shell_layer_op.get_output(0, core.types.field)
291292

292293
component_count = field.component_count

0 commit comments

Comments
 (0)