CompositeScope#
- class ansys.dpf.composites.composite_scope.CompositeScope(elements=None, plies=None, time=None, named_selections=None)#
Provides the composite scope.
This class defines which part of the model and solution step are selected.
- Parameters:
elements (collections.abc.Sequence[int] | None) – List of elements.
plies (collections.abc.Sequence[str] | None) – List of plies.
time (float | None) – Time or frequency. You can use the
CompositeModel.get_result_times_or_frequencies()
method to list the solution steps.named_selections (collections.abc.Sequence[str] | None) – List of element sets. Use composite_model.get_mesh().available_named_selections to list all named selections.
Notes
If more than one scope (
elements
,named_selections
andplies
) is set, then the final element scope is the intersection of the defined parameters. All elements are selected if no parameter is set.Methods
Attributes