Model.CE_ConnectorAreaMapMesh#
- Model.CE_ConnectorAreaMapMesh(ce_collection, entitycollection, vectorptr, tolerance, param1)#
Use the projections of components or elements to mesh area connectors.
- Parameters:
ce_collection (Collection) – The collection containing the area connector entities.
entitycollection (Collection) – The collection containing the entities to map from. Valid entities are components and elements.
vectorptr (hwTriple) – The direction to project.
tolerance (double) – The allowable distance from the components/elements to the area connectors.
param1 (int) – Reserved for future development.
Example#
Mesh area connectors with IDs 1, 2, 3 using elements with IDs 4, 5, 6, 7, 8, with allowed distance 10.0, and projection direction (0.0, 1.0, 0.0)#import hm import hm.entities as ent model = hm.Model() model.CE_ConnectorAreaMapMesh( ce_collection=hm.Collection(model, ent.Connector, [1, 2, 3]), entitycollection=hm.Collection(model, ent.Element, [4, 5, 6, 7, 8]), vectorptr=[0.0, 1.0, 0.0], tolerance=10.0, param1=0, )
Note
Meshed area connector displays as a plane with virtual elements.