Model.jointelement_fournoded#
- Model.jointelement_fournoded(type, n1, n2, n3, n4, orientation, system1, system2, property)#
Creates a four-noded joint element.
- Parameters:
type (int) – The type of the element (2,3,4,5 ONLY).
n1 (Entity) – The entity of the first node.
n2 (Entity) – The entity of the second node.
n3 (Entity) – The entity of the third node.
n4 (Entity) – The entity of the forth node.
orientation (int) –
Orientation option for the element. Use:
0 - None
1 - Systems
system1 (Entity) – The first orientation system entity for the elements.
system2 (Entity) – The second orientation system entity for the elements.
property (hwString) – The property to which the element points.
Example#
Create a four - noded joint element from nodes with IDs 467,466,459,291, orientation system with ID 1595 and property “stiffness”#import hm import hm.entities as ent model = hm.Model() model.jointelement_fournoded( type=5, n1=ent.Node(model, 467), n2=ent.Node(model, 466), n3=ent.Node(model, 459), n4=ent.Node(model, 291), orientation=1, system1=ent.System(model, 1595), system2=None, property="stiffness", )