from ansys.dpf import core as dpf
from ansys.dpf.core import examples
model = dpf.Model(examples.download_all_kinds_of_complexity_modal())
#print(model)
stress = model.results.stress()
stress.inputs.requested_location.connect("Nodal")
shell_layer_extract = dpf.operators.utility.change_shell_layers()
shell_layer_extract.inputs.fields_container.connect(fields)
shell_layer_extract.inputs.e_shell_layer.connect(dpf.common.shell_layers.bottom)
fields_top = shell_layer_extract.eval()
could also have an example showing how to extract shell layers in the examples section of the doc?