Home Product Purchase Support Testimonials Contact

CADSTA Tools - (acad_colordlg)


Displays the standard AutoCAD color selection dialogue box.

(acad_colordlg colornum [flag])



An integer in the range of 0-256 (inclusive). This integer specifies the AutoCAD color number to display as the default. A colornum value of 0 defaults to ByBlock. A colornum value of 256 defaults to ByLayer.


A value of T or nil. If set to nil, it disables the ByLayer and ByBlock buttons. Omitting the flag value or set to non-nil value enables ByLayer and ByBLock buttons.

Return Value

nil if the user selects cancel button; an integer representing a color number if the user selects a color.


$(acad_colordlg 15)


Click here for more samples.

Related References


Try or Buy

Product Information


CADSTA Tools Features

Using AutoLISP with CADSTA Tools

Supported AutoLISP file format

Enter AutoLISP codes at command Line

Using AutoLISP with Menu

Using MNL file with CADSTA Tools

Appload Command

CADSTATools.lsp / acad.lsp

CADSTAToolsDoc.lsp / acaddoc.lsp

S::STARTUP Function

Startup Suite

LISP Functions: Operators

LISP Functions: A - C

LISP Functions: D - H
LISP Functions: I - P
LISP Functiosns: Q - U

LISP Functions: V

LISP Functions: W - Z

CADSTA Elements Features


Click here to go to our forum where you can exchange information, ask questions and share tips with others.


Enter search words

Sign Up For Newsletter

Click here to sign up for our newsletter.

Follow Us