Model.adaptive_wrapper_mesh_mc#
- Model.adaptive_wrapper_mesh_mc(mc_collection, collection)#
Creates the mesh for selected adaptive wrap mesh controls.
- Parameters:
mc_collection (Collection) – The collection containing the adaptive wrap mesh controls.
collection (Collection) – The collection of components or elements in case the mesh controls do not have a base entity selection.
Example#
Create the mesh for mesh control ID 2 by specifying components 20 and 21 as input#import hm import hm.entities as ent model = hm.Model() mesh_controls = hm.Collection(model, ent.Meshcontrol, [2]) comps = hm.Collection(model, ent.Component, [20,21]) model.adaptive_wrapper_mesh_mc(mc_collection=mesh_controls, collection=comps)