get_bodynames_from_position#
- Modeler3D.get_bodynames_from_position(position: list, units: str = None, include_non_model: bool = True) list#
Retrieve the names of the objects that are in contact with a given point.
- Parameters:
- Returns:
listList of object names.
References
>>> oEditor.GetBodyNamesByPosition
Examples
>>> from ansys.aedt.core.modeler.cad.primitives import GeometryModeler >>> obj = GeometryModeler() >>> obj.get_bodynames_from_position(position=[0, 0, 0])