get_edgeid_from_position#

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

Get an edge ID from a position.

Parameters:
positionlist

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

assignmentstr, optional

Name of the object. The default is None, in which case all objects are searched.

unitsstr, optional

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

Returns:
type

Edge ID of the first object touching this position.