Model.createairbag#
- Model.createairbag(entities, markmask, name)#
Creates an airbag control volume.
- Parameters:
entities (EntityFullType) – The type of entities to create the control volume. Control volumes are created using sets or contact surfaces.
markmask (int) –
Source of sets or contact surfaces used to create airbag.
1 - Nodes selected by user.
name (hwString) – Name of the airbag.
Example#
Create an airbag ( called “airbag” ) use elements selected by user#import hm import hm.entities as ent model = hm.Model() model.createairbag(entities=ent.Element, markmask=1, name="airbag")