get_closest_edgeid_to_position#

Modeler3D.get_closest_edgeid_to_position(position, units=None)[source]#

Get the edge ID closest to a given position.

Parameters:
positionlist

List of [x,y,z] coordinates for the position.

units

Units for the position, such as "m". The default is None, which means the model units are used.

Returns:
int

Edge ID of the edge closest to this position.