Operator mapdl_material_properties pin properties_name is supposed to accept a list of strings but this is failing.
Try:
import ansys.dpf.core as dpf
from ansys.dpf.core import examples
model = dpf.Model(examples.find_multishells_rst())
full_mesh = model.metadata.meshed_region
mats = full_mesh.property_field("mat")
mat_prop = dpf.operators.result.mapdl_material_properties()
mat_prop.inputs.data_sources.connect(model)
mat_prop.inputs.materials.connect(mats)
props = ["DENS", "EX"]
mat_prop.inputs.properties_name.connect(props) # error
prop_fc = mat_prop.outputs.properties_value()
print(prop_fc)
print(prop_fc[0])
I'll work on fixing this exposure in Python of list[str] as an accepted input type for this operator.
Originally posted by @PProfizi in #2327