Model.rigidlinkbycollector#
- Model.rigidlinkbycollector(node_entity, collection, dofs)#
Creates the rigid link with one independent node and dependent node by collection.
- Parameters:
node_entity (Entity) – The object describing the independent node.
collection (Collection) – The collection containing the component, material, property or set entities.
dofs (int) – The degree of freedom for which the element is active. Valid values are any of the digits 1-6.
Example#
Create a rigid link by collector with independent node ID 10 and dependent nodes specified by components ID 1 and 2 with DOFs 123456#import hm import hm.entities as ent model = hm.Model() model.rigidlinkbycollector( node_entity=ent.Node(model,10), collection=hm.Collection(model,ent.Component,[1,2]), dofs=123456 )