Share

AcDb::NewLayerNotification Enumeration

C++

enum NewLayerNotification {
  kNoNewLayerNotification = 0,
  kNotifyOnPlot = 1,
  kNotifyOnOpen = 2,
  kNotifyOnXrefAttachAndReload = 4,
  kNotifyOnLayerStateRestore = 8,
  kNotifyOnSave = 16,
  kNotifyOnInsert = 32
};

File

acdb.h

Members

Members Description
kNoNewLayerNotification All notification states are turned off
kNotifyOnPlot Display an alert when new layers exist, and plotting is about to begin
kNotifyOnOpen Display an alert when new layers exist when a drawing is first opened
kNotifyOnXrefAttachAndReload Display an alert when new layers exist in an xref and the xref is being attached or reloaded
kNotifyOnLayerStateRestore Display an alert when new layers are created by restoring a layer state
kNotifyOnSave Display an alert when new layers exist and the drawing is being saved
kNotifyOnInsert Display an alert when new layers are created by inserting a block

Description

This enum supports the LAYERNOTIFY header variable. Fields are bit-coded and can be OR'd together using a bitwise OR.

Was this information helpful?