Model.hm_ae_findattachmentsfromFEs#
- Model.hm_ae_findattachmentsfromFEs(collection, select)#
Returns resolved link entity information.
- Parameters:
collection (Collection) – The collection containing the entities to find attachments for. Valid entities are elements.
select (bool) –
Flag to select attachments found in connector browser. Valid values:
False - No select.
True - Select.
- Returns:
hwReturnStatus- Status objectHmQueryResult- Result object containing the output values:attachments (EntityList) - Entity Type:
Attachment
Example#
Find attachments for realized elements with IDs 4 and 5#import hm import hm.entities as ent model = hm.Model() element_collection = hm.Collection(model, ent.Element, [4, 5]) _, result = model.hm_ae_findattachmentsfromFEs(collection=element_collection, select=False) print("attachments", result.attachments)