get_property_for_all_layers#

CompositeModel.get_property_for_all_layers(layup_property, element_id, composite_definition_label=None)#

Get a layer property for an element ID.

Returns a numpy array with the values of the property for all the layers. Values are ordered from bottom to top.

This method returns None if the element is not layered.

Parameters:
  • layup_property (LayerProperty) – Lay-up property.

  • element_id (int) – Element ID or label.

  • composite_definition_label (Optional[str], default: None) – Label of the composite definition, which is the dictionary key in the ContinuousFiberCompositesFiles.composite attribute. This parameter is only required for assemblies. See the note about assemblies in the description for the CompositeModel class.

Return type:

Optional[ndarray[Any, dtype[float64]]]