get_object_material_properties#

Hfss3dLayout.get_object_material_properties(object_list=None, prop_names=None)#

Retrieve the material properties for a list of 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 to get material properties for. The default is None, in which case material properties are retrieved for all objects.

prop_namesstr or list

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.