Home Product Purchase Support Testimonials Contact


The CADSTAToolsDoc.lsp file is associated with each document (drawing). When a document is opened, this file will be loaded into memory. This file is shipped with CADSTA Tools Software.

; This template lisp file will be loaded into each document.



(load (strcat tkpath "lisp\\CADSTAToolsFuncs.lsp"))

(princ "\nCADSTAToolsDoc.lsp has been loaded...")



Similar to CADSTA ToolsDoc.lsp, this file is associated with each drawing initialization. CADSTA Tools searches for acaddoc.lsp whenever a drawing opens. If this file is found in the search path, acaddoc.lsp will be loaded into memory.

S::STARTUP Function

A lisp file can contain a user-defined S::STARTUP function. If this funciton is included in the lisp file, this funciton will be automatically executed after the file is loaded.

A sample of this function is shown below:

(defun C:LINE()

(command "MYLINE")


(defun-q S::STARTUP()

(command "undefine" "line")

(princ "\nRedefine LINE command...")


In the above sample, when the lisp routine is loaded, funciton S::STARTUP() will be executed automatically by the system. In the function S::STARTUP() undefines the native LINE command.

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