Home Product Purchase Support Testimonials Contact

CADSTA Tools - (acad-pop-dbmod)


Restores the value of the DBMOD system variable to the value that was most recently modified by (acad-push-dbmod). Using (acad-push-dbmod) together with this funciton, you can change a drawing without changing the DBMOD system variable.


No arguments

Return Value

Returns T if successful; otherwise returns nil if the internal stack is empty.



(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