Model.hm_posteeformarkmask#
- Model.hm_posteeformarkmask(collection, title='Entity Editor', modal=1)#
Posts a pop-up for a collection of entities.
- Parameters:
collection (Collection) – The collection containing the entities to post the dialog for.
title (hwString) – Specifies the title of the dialog. The default title is Entity Editor.
modal (int) –
Specifies whether the dialog is modal. Valid values are:
0 - Not modal.
1 - Modal.
- Returns:
hwReturnStatus- Status object
Example#
Display an Entity Editor for components with IDs 1-5#import hm import hm.entities as ent model = hm.Model() comps_collection = hm.Collection(model, ent.Component, list(range(1, 6))) model.hm_posteeforentity(collection=comps_collection)