System variables



Author Muharrem Koçyiğit
Profession Mechanical Technician
  AutoCAD & Prosteel Specialist
Location Germany
e-mail  

AutoCAD 2007 and higher versions

In AutoCAD 2007, there are approximately 480 system variables that you can access to. We are classifying them into 4 different categories.

  1. Variables which are stored inside the drawing file (dwg). These are file related variables.
  2. Variables which are stored as Windows Registry records (Reg). These are the global variables. AutoCAD users have to set these variables only once.
  3. System variables, values of which are not allowed to be changed (RO = Read Only). These are variables which you can benefit in software environment. For example, if you would like to learn the name of the file that you have opened, it will be enough to write (GetVar “DwgName”) with AutoLISP.

In addition to these there are some system variables that are not stored. When you open a new drawing, default values will be assigned to these system variables automatically by AutoCAD.

Fig.1
Fig.2
Fig.3
Fgi.4

Technorati Tags: , ,

Bu yazinin Turkce’sini okumak icin basiniz.

Similar Posts

Rate this article:

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

4 Responses to “System variables

  • 1
    Fred
    May 14th, 2007 16:12

    Is there a list of all the variables I can access?

  • 2
    Muharrem
    May 20th, 2007 12:56

    Hello Fred,

    I’m sorry for my late answer;
    Certainly this isn’t the complete list of variables, but a few important
    systemvaribles for me!

    The available systemvariables can be listed with following commands:

    Command: SETVAR
    Command: ?
    Command: *

    Thank you for your interest!

  • 3
    Emil
    September 12th, 2007 12:40

    Hy.

    Is it possible to get a list of the variables programatically ?
    I mean i’d like to get a list with all the variables (or at least the “drawing related” ones).

  • 4
    Rebellio
    March 10th, 2008 14:21

    Hi

    @Emil

    For all variables hit the F1 help button, then tab contents,then click open the command Reference en then system variables.
    Here you go..

    Hollands says Hi

Leave a Reply