Model.AE_AttachmentAbsorb#
- Model.AE_AttachmentAbsorb(entity_type, integer_array, option, config)#
Absorb FE into attachments.
- Parameters:
entity_type (EntityFullType) – The entity type to absorb. Valid entity types are nodes and elements.
integer_array (hwIntList) – The list of integers, which contains the IDs of the entities to absorb. If the array is empty, all rigidlink, RBE2 and RBE3 elements are considered.
option (int) –
A flag to specify if the absorption logic should consider selected entities or all elements:
0- Consider specific
1 - Consider all rigidlink, RBE2 and RBE3 elements
config (unsigned int) –
The config for the attachment:
1 - Rigid spider
2 - Rigid patch
Examples#
Absorb an attachment from elements with IDs 116 and 227 (RBE2 types)#import hm import hm.entities as ent model = hm.Model() elementIDs_list = [116, 227] model.AE_AttachmentAbsorb( entity_type=ent.Element, integer_array=elementIDs_list, option=0, config=1 )
Absorb an attachment from all the rigidlink, RBE2 and RBE3 elements#import hm import hm.entities as ent model = hm.Model() elementIDs_list = [116, 227] model.AE_AttachmentAbsorb( entity_type=ent.Element, integer_array=hm.hwIntList([]), option=1, config=1 )