Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Книги_AutoCad_2 / AutoCAD 2006 and AutoCAD LT 2006 Bible_2004г__.pdf
Скачиваний:
142
Добавлен:
09.04.2015
Размер:
17.83 Mб
Скачать

Obtaining Information from Your Drawing

Your drawing is intelligent in many ways. For example, several commands can give you the details of each object. In addition,

you can view listings that provide information about your drawing as a whole. You can also list system variables, which I’ve mentioned previously in this book, along with their current settings.

You can perform calculations on objects that may assist you in certain drawing tasks. For example, you can divide an object into any number of segments by placing point objects along the object, or you can place point objects at a specified distance along the object. You can use AutoCAD’s calculator, which not only does regular numerical calculations but also works with coordinates and geometric points on objects.

Drawing-Level Information

Some information applies to the drawing as a whole or even to your computer system as a whole, rather than to individual objects. This information can be important when there is a problem or when you simply need to find the status of system variables.

Listing the status of your drawing

The STATUS command is available only in AutoCAD and provides a standard list of information that can be very helpful. To use the STATUS command, choose Tools Inquiry Status. Figure 12-1 shows a sample status listing.

12C H A P T E R

In This Chapter

Obtaining drawingwide information

Obtaining information about objects

Measuring and segmenting objects

Using AutoCAD’s calculator

292 Part II Drawing in Two Dimensions

Figure 12-1: A sample listing from the STATUS command.

The command lists the number of objects in your drawing, followed by the limits and extents of the drawing, and the extents of the current display on your screen. Other items are the snap and grid spacing as well as the current layer, color, linetype, and lineweight. You can see that Fill is on but that the other drawing aid settings are off. Endpoint and intersection running object snaps are on. Finally, information also appears about free disk space and free memory.

Obviously, much of this information is available without using the STATUS command. The easiest items to find are the current layer, color, linetype, and lineweight, which are readily visible on the Layers and Properties toolbars. However, you would have to use a number of commands to obtain other information such as the snap and grid spacing and the drawing limits. The free disk and memory statistics provide valuable information not otherwise obtainable from within your drawing. STATUS puts it all together in one listing.

The most common use for STATUS is to troubleshoot problems. For example, you can send the listing to a colleague in another office who needs to work on the same drawing. Your colleague can then work more easily by using the same settings that you have used.

Listing system variables

In the previous chapter, I mentioned that the global linetype scale is stored in the LTSCALE system variable, and that the object linetype scale is stored in the CELTSCALE system variable. You may want to know the settings of a group of related system variables. The SETVAR command provides a listing of all the system variables and their settings. It may be quicker to view systemvariable settings by using the SETVAR command than by typing each individual system variable on the command line. For more information about how AutoCAD and AutoCAD LT store settings in system variables, see Chapter 5.

Too many system variables exist to show the entire listing here, but a few can convey the wealth of information that is available, as shown in Figure 12-2.

Note Read-only system variables are for information only and cannot be changed. An example is LOGINNAME, which shows the name of the current user who is registered on the system. Other system variables can be changed.

Chapter 12 Obtaining Information from Your Drawing

293

Figure 12-2: A partial SETVAR listing.

Although some system variables allow a variety of values, many are either on or off. In general, a setting of 1 means on and 0 means off.

Most system variables do not need to be set directly. For example, in Chapter 11 you set the LTSCALE system variable by using the Linetype Manager. However, a few system variables can be accessed only by typing them on the command line.

You can use SETVAR to set system variables that are not read-only, as well as to list them. To list the system variables, choose Tools Inquiry Set Variable. If you are using AutoCAD LT, it can be accessed only at the command line by typing SETVAR. At the Enter variable name or [?]: prompt, type ? . At the Enter variable(s) to list <*>: prompt, press Enter to list all of the system variables, or type the name of a variable. (You can use the * and ? wildcards in the name.) The command either lists all of the system variables or just the variable you typed.

If you type a variable, the command prompts you for a new value so that you can change it. For example, if you type celtscale, you see the Enter new value for CELTSCALE <1.0000>: prompt. You can then change the system variable by typing in a new value. You can also just press Enter to accept the current setting.

Tracking drawing time

You can track the time you spend working on a drawing. This feature is most often used for billing time to clients, or when your boss wants to see how much you’re accomplishing.

Cross-

Chapter 26 explains how to keep a log file of your drawing activity.

Reference

 

294 Part II Drawing in Two Dimensions

To use the TIME command, choose Tools Inquiry Time. A typical listing is shown in Figure 12-3.

Figure 12-3: A typical TIME listing.

Table 12-1 explains the listing that you see when using the TIME command.

 

Table 12-1: TIME Command Information

 

 

Listing

Comments

 

 

Current time

The current date and time. The time is displayed to the nearest millisecond.

Created

The date and time when the drawing was created.

Last updated

The date and time of the last save of the drawing.

Total editing time

Accumulates the time spent in the drawing from session to session, not

 

including plotting time or time that you worked on the drawing and quit

 

without saving your changes.

Elapsed timer

Also accumulates time spent in the drawing, although you can turn this

 

feature on and off and reset it.

Next automatic save in

Shows when your drawing will automatically be saved. Choose Tools

 

Options and click the Open and Save tab to set how often you want to

 

automatically save your drawing.

 

 

You can think of total editing time as your car’s odometer, and elapsed time as a timer that is similar to a trip meter that some cars have to enable you to time a specific trip.

At the end of the listing, you see the Enter option [Display/ON/OFF/Reset]: prompt. The Display option redisplays the listing with updated times. ON and OFF turn the elapsed time on and off. The Reset option resets the elapsed time to zero.

 

 

The Express Tools contain a new tool, EDITTIME (choose Express Tools Dwg Editing Time)

 

 

that tracks active editing time.

 

 

The drawing used in the following exercise on obtaining drawing information, ab12-a.dwg,

On the

CD-ROM

is in the Drawings folder on the CD-ROM.

Соседние файлы в папке Книги_AutoCad_2