get_object_material_properties#

Icepak.get_object_material_properties(assignment=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:
assignmentlist, 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.