acad_colordlg


(acad_colordlg  colorIndex [ enableByLayer ])

Displays the Color Selection dialog.

Arguments

colorIndex  ACI color value; an integer value in range 0...256

enableByLayer  (optional) NIL disables the ByBlock + ByLayer buttons; T enables these buttons (default if omitted)

Return

selected ACI color index value (integer);
NIL is the dialog was cancelled

Example

(acad_colordlg 22)

Remarks

colorIndex 0 refers to "ByBlock", colorIndex 256 refers to "ByLayer"



©  Bricsys NV. All rights reserved.