get_object_material_properties

Maxwell2d.get_object_material_properties(object_list=None, prop_names=None)

Retrieve the material properties for a list of given objects and return them in a dictionary.

This high-level function ignores objects with no defined material properties.

Parameters
object_listlist, optional

List of objects for which to get material_properties. The default is None, in which case all objects are considered.

prop_namesstr or list

The property or list of properties to export. The default is None, in which case all properties are exported.

Returns
dict

Dictionary of objects with material properties.