AutoCAD Platform Customization. Ambrosius Lee
Чтение книги онлайн.

Читать онлайн книгу AutoCAD Platform Customization - Ambrosius Lee страница 21

Название: AutoCAD Platform Customization

Автор: Ambrosius Lee

Издательство: Автор

Жанр: Зарубежная образовательная литература

Серия:

isbn: 9781118798911

isbn:

СКАЧАТЬ gives you the ability to see through to what is below or beyond an object. Objects can have a transparency value of 0 (fully opaque/solid) to 90 (nearly fully transparent). Unlike lineweights, the display of transparency is much more useful onscreen in a complex drawing, but it can have an impact on the display of your drawing based on your workstation's hardware. You can use the Show/Hide Transparency option on the application's status bar or change the value of the transparencydisplay system variable.

      Controlling Output with Plot Styles

      While layers and object properties control much of the way objects are displayed onscreen, you can use plot styles to override those values to alter the way objects are plotted or printed. Plot styles can also be used to affect the way objects appear onscreen if the Display Plot Styles option is enabled in the Page Setup dialog box.

      Plot styles are available in two styles: color-dependent and named. When you are using color-dependent plot styles, the name of the plot style is fixed based on the color value assigned to an object or the layer in which an object is placed. Assigning a named plot style to a layer or object is similar to assigning a linetype: first you specify which named plot style file you want to use, and then you specify the plot style you want to assign to the layer or object. For more information on plot styles and how to create them, see Chapter 1, “Establishing the Foundation for Drawing Standards.”

      Accessing Layer Settings

Besides the properties for a layer that are accessible from the Layer Properties Manager (Windows) or Layers palette (Mac OS), several other settings affect the way layers look or behave in the drawing window. In AutoCAD for Windows, you can use the Layer Settings dialog box (see Figure 2.7) to change the current layer settings, but you can also use a few system variables to change some of these settings. In the dialog box, the settings with a small drawing file icon next to them (the blue-and-yellow sheet of paper) indicate that the setting is stored with the drawing.

image

Figure 2.7 Changing layer settings affects the way you work with layers in the drawing window and user interface.

      In AutoCAD for Mac, there is no equivalent to the Layer settings dialog box (many of the same features in the Windows product are not available on Mac OS), but there are a few settings that you can access using system variables and commands to change your experience.

      The Layer Settings dialog box in AutoCAD on Windows can be displayed by doing the following:

      1. On the ribbon, click Home tab ➢ Layers panel ➢ Layer Properties.

image

      2. In the Layer Properties Manager, click Settings, located near the upper-right corner.

      Fading Objects on Locked Layers

      Locking a layer ensures that the objects on that layer are not accidentally selected when editing other objects in a drawing, but they still can be used as reference geometry. To help make it easy to identify when a layer is locked, AutoCAD fades the objects on a locked layer so they are less prominent in the foreground. You can toggle this feature on and off, as well as control the amount objects are faded. By default, objects on locked layers are faded by 50 percent.

      To change the amount a layer is faded, you can do one of the following:

      • In the Layer Settings dialog box (see Figure 2.7), in the Isolate Layer Settings section, choose Lock And Fade, and then drag the Locked Layer Fading slider. If the slider is not enabled, click the Locked Layer Fading toggle (the stack of three papers with a lock icon) and then drag the slider. Click OK (Windows).

      • On the ribbon, select Home tab ➢ Layers panel, click the panel's title to expand the panel, and drag the Locked Layer Fading slider. If the slider is not enabled, click the Locked Layer Fading toggle (the stack of three papers with a lock icon) and then drag the slider (Windows).

      • At the command prompt, enter laylockfadectl and press Enter. Enter a new fade value and press Enter. Entering a negative value disables the fading of objects on a locked layer (Windows and Mac OS).

      Isolating Objects; Turning Off or Locking

      Isolating layers allows you to quickly turn off or lock layers, work with objects on other layers in the drawing, and then quickly restore the previous state of the layers in the drawing. Layers can be isolated with the layiso command, and isolation can be reversed (unisolated) with the layuniso command. You can control the default isolation mode that the layiso command uses.

      To change the isolation mode of the layiso command, you can do one of the following:

      • In the Layer Settings dialog box (see Figure 2.7), in the Isolate Layer Settings section, choose Lock And Fade to lock the layers when using layiso or click Off to turn them off instead. When you click Off, you have the option to turn the layer off or to freeze it in the current viewport when using layiso in a floating viewport. Click OK (Windows).

      • At the command prompt, enter layiso and press Enter. Use the Settings option and specify the mode to use (Windows and Mac OS).

      Evaluating and Reconciling New Layers

It is not uncommon to need a new layer here and there that deviates from your company's CAD standards, but new layers can affect the way a drawing is plotted or printed based on how that layer was defined. AutoCAD on Windows and Mac OS has a feature known as New Layer Notification, but it works slightly differently on the two platforms. On Windows, when the New Layer Notification feature is enabled and a new layer has been added to a drawing, a notification balloon (see Figure 2.8) is displayed, and a new layer filter named Unreconciled New Layers is created in the Layer Properties Manager. By default, the notification of new layers happens when an external reference is being attached, when a drawing is opened, when an xref is attached/reloaded, and when a layer state is restored.

image

Figure 2.8 Unreconciled layer notification balloon

      On Mac OS, the feature is disabled out-of-the-box, so it must first be enabled. The notification balloon is not available on Mac OS, but the Unreconciled New Layers filter is created in the Layers palette when the feature is enabled and the correct conditions are met.

      You can modify the settings of the New Layer Notification feature from the Layer Settings dialog box (see Figure 2.7) in AutoCAD on Windows, or with the following system variables on both Windows and Mac OS:

      layereval Controls whether the layers in a drawing should be evaluated only when an xref is attached, or when a new layer is created in addition to when an xref is attached.

      layerevalctl Disables or enables the New Layer Notification feature.

      layernotify Specifies which drawing editor events display an alert message when layerevalctl is set to 1.

      To reconcile a layer in AutoCAD on Windows, you need to perform the following steps:

      1. On the ribbon, click Home tab ➢ Layers panel ➢ Layer Properties.

      2. On the Layer Properties СКАЧАТЬ