Model.rigidlink#
- Model.rigidlink(independent, collection, dofs)#
Creates a rigid link element between an independent node and multiple dependent nodes.
- Parameters:
independent (Entity) – The object describing the independent node of the element.
collection (Collection) – The collection containing the dependent nodes.
dofs (int) – The degrees of freedom code for which all of nodes of the element are active (any of the digits 1-6).
Example#
Create a rigid link element between node ID 100 and nodes ID 101 , 102 , and 103 in all six degrees of freedom#import hm import hm.entities as ent model = hm.Model() model.rigidlink( independent=ent.Node(model,100), collection=hm.Collection(model,ent.Node,[101,102,103]), dofs=123456 )