Model.superelementset#
- Model.superelementset(collection, super_id)#
Sets the super element flag on a group of nodes.
- Parameters:
collection (Collection) – The collection containing the node entities which should have their super element ID updated to super ID.
super_id (int) – The super element ID in which the above nodes should be placed.
Example#
Set nodes with IDs 155, 125, and 159 to super element with ID 0#import hm import hm.entities as ent model = hm.Model() model.superelementset( collection=hm.Collection(model, ent.Node, [155, 125, 159]), super_id=0 )