Model.reviewsystem#
- Model.reviewsystem(collection, onlyorient, normal_size, color)#
Reads and plots the x-axis of the element (material) coordinate system for selected elements.
- Parameters:
collection (Collection) – The collection containing the element entities to read and plot the x axis of the element (material) system.
onlyorient (int) –
1 - The new x-element directions are displayed as vectors starting from the element center.
0 - The new x-element directions are shown as continuous gradient lines starting and ending on free edges.
normal_size (double) – If
onlyorient = 1, it determines the size of the vectors to be displayed.color (int) – Determines the color of the vector or line. The color ID numbers range from 1 to 64. Have to put in weblink
Example#
Review the element (material) coordinate system of four selected elements and display them as blue vectors (color=7) with size = 3.0#import hm import hm.entities as ent model = hm.Model() model.reviewsystem( collection=hm.Collection(model, ent.Element, [304, 305, 316, 1841]), onlyorient=1, normal_size=3.0, color=7, )
Note
The use of
Model.vectorsoff()function is required.