Skip to content

Commit 77122f2

Browse files
Use new keyopt provider (#226)
Co-authored-by: René Roos <[email protected]>
1 parent 82789a1 commit 77122f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ansys/dpf/composites/layup_info/_layup_info.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,14 +410,14 @@ def get_element_info_provider(
410410
"""
411411

412412
def get_keyopt_property_field(keyopt: int) -> PropertyField:
413-
keyopt_provider = dpf.Operator("property_field_provider_by_name")
413+
keyopt_provider = dpf.Operator("mesh_property_provider")
414414
if isinstance(stream_provider_or_data_source, Operator):
415415
keyopt_provider.inputs.streams_container(stream_provider_or_data_source)
416416
else:
417417
keyopt_provider.inputs.data_sources(stream_provider_or_data_source)
418418

419419
keyopt_provider.inputs.property_name(f"keyopt_{keyopt}")
420-
return keyopt_provider.outputs.property_field()
420+
return keyopt_provider.outputs.property_as_property_field()
421421

422422
requested_property_fields = [
423423
"apdl_element_type",

0 commit comments

Comments
 (0)