Model.updatepropertyidforfejoints#
- Model.updatepropertyidforfejoints(collection, property_id)#
Updates the property ID for the given FE joint elements.
- Parameters:
collection (Collection) – The collection containing the joint entities to update their property ID.
property_id (unsigned int) – The new ID of the PJOINTG property.
Example#
Update joint elements with IDs 9 and 10 with property ID 2#import hm import hm.entities as ent model = hm.Model() # Creating a collection that contains joint entities joint_collection = hm.Collection(model, ent.Joint, [9, 10]) model.updatepropertyidforfejoints(collection=joint_collection, property_id=2)