2011

Table Of Contents
Point formats
Point formatCoordinate system
Uses the * prefix [*x,y,z]WCS (instead of UCS)
You can omit the following components of a point or vector: coordinate values
of zero and a comma immediately preceding the right bracket (]).
The following are valid points:
[1,2] is the same as [1,2,0]
[,,3] is the same as [0,0,3]
[ ] is the same as [0,0,0]
In the following example, the point is entered in the relative spherical
coordinate system with respect to the (WCS). The distance is 1+2=3; the angles
are 10+20=30 degrees and 45 degrees, 20 minutes.
[ *1+2<10+20<45d20"]
The following is a valid point that contains arithmetic expressions as its
components:
[2*(1.0+3.3),0.4-1.1,2*1.4]
The following example uses the Endpoint object snap and the vector [2,0,3]
to calculate a point that is offset from a selected endpoint:
end + [2,,3]
The calculated point is offset 2 units in the X direction and 3 units in the Z
direction relative to the selected endpoint.
Use AutoLISP Variables
Quick Reference
See also:
Use the Command Prompt Calculator
You can use AutoLISP variables within arithmetic expressions. The variables
must be one of the following types: real, integer, or 2D or 3D point (vector).
156 | Chapter 4 C Commands