PickResult#

class ansys.stk.core.graphics.PickResult#

A single result from Pick.

Overview#

objects

Get a collection of objects that were on the pick stack for the picked object.

depth

Get the depth of the picked location in the 3D scene.

position

Get the position of the picked location in the central body’s fixed reference frame. The array contains the components of the position arranged in the order x, y, z.

Import detail#

from ansys.stk.core.graphics import PickResult

Property detail#

property PickResult.objects: ObjectCollection#

Get a collection of objects that were on the pick stack for the picked object.

property PickResult.depth: float#

Get the depth of the picked location in the 3D scene.

property PickResult.position: list#

Get the position of the picked location in the central body’s fixed reference frame. The array contains the components of the position arranged in the order x, y, z.