- UID
- 7
- 积分
- 2559
- 精华
- 贡献
-
- 威望
-
- 活跃度
-
- D豆
-
- 在线时间
- 小时
- 注册时间
- 2002-1-3
- 最后登录
- 1970-1-1
|
发表于 2003-3-25 16:28:32
|
显示全部楼层
VL :
vla-get-TrueColor
vla-put-TrueColor
DXF :
420
以下内容摘自AutoCAD 2004安装光盘中的Readme.hlp:
The following AutoLISP functions provide access to the True Color user interface:
(acad_truecolordlg color [allowbylayer] [currentlayercolor]). Prompts for colors through a dialog box. The color parameter is a dotted pair describing the default color; the first element of the dotted pair must be one of the color-related DXF group codes (62, 420, or 430). If the allowbylayer parameter is present and is not nil, the ByLayer and ByBlock buttons are shown. When the operation is successful, the function returns a list of one or more dotted pairs describing the color selected. The last dotted pair in the list indicates the color selected. The function returns nil if the user cancels the dialog box.
(acad_truecolorcli color [allowbylayer] [alternatePrompt]). Prompts for colors at the command line. The first two parameters are identical to acad_truecolordlg, and the third parameter is an optional prompt string. If this string is omitted, the default value is "New color ". |
|