get_constant_property_dict#

ansys.dpf.composites.layup_info.material_properties.get_constant_property_dict(material_properties, materials_provider, data_source_or_streams_provider, mesh)#

Get a dictionary with constant properties.

Returns a dictionary with the DPF material ID as a key and a dictionary with the requested properties as the value. Only constant properties are supported. Variable properties are evaluated at their default values. Because this method can be slow to evaluate, it should not be called in a loop.

Parameters:
Return type:

dict[int64, dict[MaterialProperty, float]]