get_edgeid_from_position

Primitives3D.get_edgeid_from_position(position, obj_name=None, units=None)

Get an edge ID from a position.

Parameters
positionlist

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

obj_namestr, 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.