Model.snap_nodes_to_original_geometry_location#
- Model.snap_nodes_to_original_geometry_location(input_collection)#
Relocates the selected nodes to their original location on the surface to which the nodes are associated. The input can be either a selection of nodes or elements.
- Parameters:
input_collection (Collection) – The collection containing the input entities. Valid entities are nodes and components.
Example#
Relocate the nodes with IDs 234 and 235 to their original locations#import hm import hm.entities as ent model = hm.Model() model.snap_nodes_to_original_geometry_location( input_collection=hm.Collection(model, ent.Node, [234, 235]) )