- UID
- 267748
- 积分
- 1255
- 精华
- 贡献
-
- 威望
-
- 活跃度
-
- D豆
-
- 在线时间
- 小时
- 注册时间
- 2005-5-27
- 最后登录
- 1970-1-1
|
发表于 2006-2-28 20:02:16
|
显示全部楼层
Arguments
bits
A bit-coded integer that allows or disallows certain types of user input.
The bits can be added together in any combination to form a value between 0 and 255.
If no bits argument is supplied, zero (no conditions) is assumed.
The bit values are as follows:
1 (bit 0) Prevents the user from responding to the request by entering only ENTER.
2 (bit 1) Prevents the user from responding to the request by entering zero.
4 (bit 2) Prevents the user from responding to the request by entering a negative value.
8 (bit 3) Allows the user to enter a point outside the current drawing limits.
This condition applies to the next user-input function even if
the AutoCAD system variable LIMCHECK is currently set.
16 (bit 4) (Not currently used.)
32 (bit 5) Uses dashed lines when drawing a rubber-band line or box.
For those functions with which the user can specify a point by
selecting a location in the drawing area, this bit value causes
the rubber-band line or box to be dashed instead of solid.
(Some display drivers use a distinctive color instead of dashed lines.)
If the system variable POPUPS is 0, AutoCAD ignores this bit.
64 (bit 6) Prohibits input of a Z coordinate to the getdist function;
lets an application ensure that this function returns a 2D distance.
128 (bit 7) Allows arbitrary input as if it is a keyword,
first honoring any other control bits and listed keywords.
This bit takes precedence over bit 0;
if bits 7 and 0 are set and the user presses ENTER, a null string is returned.
Note Future versions of AutoLISP may use additional initget control bits,
so avoid setting bits that are not listed here.
string
A string representing a series of keywords.
See Keyword Specifications for information on defining keywords. |
|