Harnessing AutoCAD 2007

Appendix D: System Variables

OVERVIEW

This is a complete listing of AutoCAD system variables. Each variable has an associated type: integer, real, point, or text string. These variables can be examined and changed (unless readonly) by means of the SETVAR command and AutoLISP (getvar and setvar) functions. Many of the system variables are saved across editing sessions; as indicated in the table, some are saved in the drawing itself, while others are saved in the AutoCAD general configuration file, ACAD.CFG

Variable

Default Setting

Type

Saved In

Explanation

3DDWFPREC

2

Integer

Drawing

Controls the precision of 3D DWF publishing

ACADLSPASDOC

0

Integer

Registry

Controls whether AutoCAD loads the acad.lsp file into every drawing or just the first drawing opened in an AutoCAD session

ACADPREFIX

" "

String

Read-only

The directory path, if any specified by the ACAD environment variable, with path separators appended if necessary (read-only)

ACADVER

String

This is the AutoCAD version number, which can have values only like "15.0" (read-only). Note that this differs from the DXF file $ACADVER header variable, which contains the drawing database level number.

ACISOUTVER

40

Integer

Controls the ACIS version of SAT files created using the ACISOUT command

ADCSTATE

Varies

Integer

Not Saved

Determines if DesignCenter is active or not

0 - DesignCenter not active

1 - DesignCenter active

AFLAGS

0

Integer

Attribute flags bit-code for ATTDEF command (sum of the following):

0 = No Attribute Mode Selected

1 = Invisible

2 = Constant

4 = Verify

8 = Preset

ANGBASE

0

Real

Drawing

Angle...

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: CNC Controllers
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.