Home Product Purchase Support Testimonials Contact

CADSTA Tools - (acad-push-dbmod)


Pushes the current value of the DBMOD system variable onto an internal stack. Using this funciton together with (acad-pop-dbmod), you can change a drawing without changing the DBMOD system variable.


No arguments

Return Value

Always returns T.



(command "_.color" "1")  ; set DBMOD to flag 4

(command "_.line" "0.0 0.0 0.0" "100.0 100.0 0.0" "")    ; set DBMOD to flag 1

(acad-pop-dbmod)  ; set DBMOD to the original value

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