
CAL Snap modes
Snap mode
Abbreviation
INSERT
INS
INTERSECTION
INT
MIDPOINT
MID
CENTER
CEN
NEAREST
NEA
NODE
NOD
QUADRANT
QUA
PERPENDICULAR
PER
TANGENT
TAN
The following example uses the Center and Endpoint Snap modes in a CAL
expression:
(cen+end)/2
CAL prompts for a circle or arc and an object. It then determines the midpoint
between the center of the circle or arc and the end of the selected object.
Using the Midpoint Snap mode, in the following example CAL prompts for
an object and returns a point 1 unit in the Y direction from the midpoint of
the selected object:
mid+[,1]
The following example uses the Endpoint Snap mode to calculate the centroid
of a triangle defined by three endpoints:
(end+end+end)/3
Convert Points Between UCS and WCS
Normally, the program assumes all coordinates to be relative to the current
UCS. The following functions convert points between UCS and WCS.
u2w(p1)
Converts point p1 expressed in the current UCS to the WCS.
198 | Chapter 5
Содержание AUTOCAD 2006
Страница 1: ...February 2005 AutoCAD 2006 Command Reference ...
Страница 24: ......
Страница 30: ...6 ...
Страница 212: ...188 ...
Страница 448: ...424 ...
Страница 554: ...530 ...
Страница 584: ...560 ...
Страница 588: ...564 ...
Страница 660: ...636 ...
Страница 750: ...726 ...
Страница 760: ...736 ...
Страница 889: ...You can display more options in the Plot dialog box by clicking the More Options button Plot Dialog Box 865 ...
Страница 960: ...936 ...
Страница 1194: ...1170 ...
Страница 1244: ...Undo Reverses the most recent change made by TRIM 1220 Chapter 21 ...
Страница 1310: ...1286 ...
Страница 1328: ...1304 ...
Страница 1354: ...Zoom Window Zooms to display an area specified by a rectangular window 1330 Chapter 26 ...
Страница 1490: ......