Model.reviewmaterialorientation_option#

Model.reviewmaterialorientation_option(collection, only_orient, normal_size, color, option)#

Reads and plots the first axis of the element (material) coordinate system for selected elements with option for Abaqus. When review is complete, the function Model.vectorsoff() must be run.

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

  • only_orient (int) –

    0 - The new x-element directions are shown as continuous gradient lines starting and ending on free edges.

    1 - The new x-element directions are displayed as vectors starting from the element centroid.

  • normal_size (double) – If only_orient=1, this defines the size of the displayed vectors.

  • color (int) – The color of the vectors or lines. Valid values are 1-64.

  • option (int) –

    Option for review customization. Valid values are:

    1 - Abaqus rebar layer will be reviewed

Example#

Review the element (material) coordinate system along rebar layer of the displayed elements with blue vectors of size 3.0#
import hm
import hm.entities as ent

model = hm.Model()

model.reviewmaterialorientation_option(
    collection=hm.CollectionByDisplayed(model,ent.Element),
    only_orient=1,
    normal_size=3.0,
    color=7,
    option=1,
)