Model.markercreate#
- Model.markercreate(name, node_entity, syst_entity, sys_flag, color)#
Creates an MBD analysis marker.
- Parameters:
name (hwString) – The name of the marker.
node_entity (Entity) – The node entity that defines the location of the marker.
syst_entity (Entity) – The the system entity of the orientation coordinate system.
sys_flag (int) – A flag for the coordinate system. A value of 0 indicates that the coordinate system will be blank.
color (int) – The color of the marker.
Example#
Create a marker “ m1 “ at node with ID 100 use coordinate system with ID 10#import hm import hm.entities as ent model = hm.Model() Node_entity = ent.Node(model, 100) Syst_entity = ent.System(model, 10) model.markercreate( name="m1", node_entity=Node_entity, syst_entity=Syst_entity, sys_flag=1, color=5 )