Model.surfacemarkaddnodesfixed#
- Model.surfacemarkaddnodesfixed(surf_collection, node_collection, tol, reserved_1)#
Add fixed points to a surface at locations specified by nodes.
- Parameters:
surf_collection (Collection) – The collection containing the imput surface entities to add fixed points to.
node_collection (Collection) – The collection containing the node entities to use to define the fixed points locations.
tol (double) – Tolerance value used to determine if a node is close enough to a surface.
reserved_1 (int) – Reserved parameter, must be set to 0.
Example#
Add fixed points to the surface with ID 12 at positions specified by nodes with IDs 1 and 2#import hm import hm.entities as ent model = hm.Model() model.surfacemarkaddnodesfixed( surf_collection=hm.Collection(model, ent.Node, [1, 2]), node_collection=hm.Collection(model, ent.Surface, [12]), tol=0.1, reserved_1=0, )