2004

Table Of Contents
Use Coordinates and Coordinate Systems | 217
Use Coordinate Filters
Coordinate filters are useful for creating a new coordinate location using the
X value from one location, the Y value of a second location, and the Z value
of a third location. Coordinate filters operate the same way in 3D as they do
in 2D. To specify a filter on the command line, enter a period and one or
more of the letters X, Y, and Z. AutoCAD accepts the following filter
selections:
.X
.Y
.Z
.XY
.XZ
.YZ
After you specify the initial coordinate value, AutoCAD prompts you for the
remaining coordinate values. If you enter .x at a prompt to enter a point, you
are prompted for the Y and Z values; if you enter .xz at a prompt to enter a
point, you are prompted for the Y value.
Coordinate filters are commonly used to locate the center of a rectangle and
to locate the projection of a 3D point on the XY plane of the UCS.
Example: Use Coordinate Filters
This example shows how to use coordinate filters to create a point object at
the center (centroid) of a 3D object. Hidden lines have been removed for
clarity. The X value of the new point is extracted from the first location
specified, the Y value from the second location, and the Z value from the
third. The three values are combined to form the coordinate values of the
new point.
Command: point
Point: .x
of mid
of select object (1)
(need YZ): .y
of mid
of select object (2)
(need Z): mid
of select object (3)