ArcBasicDocs

LinePick

Picks along a line.

LinePick ( x#,y#,z#,dx#,dy#,dz#[,radius#] )

Parameters

x#
where the line starts, across.
y#
its height.
z#
its depth.
dx#
how far the line goes across.
dy#
how far it goes up.
dz#
how far it goes in depth.
radius# (optional)
makes the line a thick tube of this radius, for things that aren't infinitely thin; 0 for a thin line.

Description

Finds the first pickable entity along a line and gives back its handle, or 0 if there is none. Good for bullets, lasers and checking what is below something.

See also