get_constant_property_dict#
- CompositeModel.get_constant_property_dict(material_properties, composite_definition_label=None)#
Get a dictionary with constant properties.
Returns a dictionary with
dpf_material_id
as the key and a dictionary with the requested properties as the value. Only constant properties are supported. Variable properties are evaluated at their default values.This method can be slow to evaluate and should not be called in a loop.
- Parameters:
material_properties (
Collection
[MaterialProperty
]) – List of the requested material properties.composite_definition_label (
Optional
[str
], default:None
) – Label of the composite definition, which is the dictionary key in theContinuousFiberCompositesFiles.composite
attribute. This parameter is only required for assemblies. See the note about assemblies in the description for theCompositeModel
class. The dictionary only contains the materials of the analysis plies defined in the specified composite definition.
- Return type:
dict
[int64
,dict
[MaterialProperty
,float
]]