Model.stackdisplay#

Model.stackdisplay(collection, size)#

Displays the stack direction of selected entities. Currently only supported for Abaqus continuum shell elements.

Parameters:
  • collection (Collection) – The collection containing the entities to display. Valid entities are elements and components.

  • size (double) – The size in model units of the stack display.

Example#

Display the stack direction of elements with IDs 1 - 10 use a size of 10.0#
import hm
import hm.entities as ent

model = hm.Model()

# Creating a collection that contains the elements with IDs 1-10
filter_elements = hm.FilterByEnumeration(ent.Element, list(range(1, 11)))
elements_collection = hm.Collection(model, filter_elements)

model.stackdisplay(collection=elements_collection, size=10.0)