Share

UpdateOption

C++

enum UpdateOption {
  kUpdateOptionNone = 0,
  kUpdateOptionSkipFormat = 0x20000,
  kUpdateOptionUpdateRowHeight = 0x40000,
  kUpdateOptionUpdateColumnWidth = 0x80000,
  kUpdateOptionAllowSourceUpdate = 0x100000,
  kUpdateOptionForceFullSourceUpdate = 0x200000,
  kUpdateOptionOverwriteContentModifiedAfterUpdate = 0x400000,
  kUpdateOptionOverwriteFormatModifiedAfterUpdate = 0x800000,
  kUpdateOptionForPreview = 0x1000000,
  kUpdateOptionIncludeXrefs = 0x2000000,
  kSkipFormatAfterFirstUpdate = 0x4000000
};

File

acdb.h

Members

Members Description
kUpdateOptionNone No update options
kUpdateOptionSkipFormat Skip the cell format and update only content
kUpdateOptionUpdateRowHeight Update the row height of linked cells to match the source
kUpdateOptionUpdateColumnWidth Update the column width of linked cells to match the source
kUpdateOptionAllowSourceUpdate Support writing to source from data
kUpdateOptionForceFullSourceUpdate While writing to the source, write everything. If this is not set, only modified data is written to source. This option is valid only while updating source from data (i.e. update direction is AcDb::kUpdateDirDataToSource)
kUpdateOptionOverwriteContentModifiedAfterUpdate Overwrite all the content changes done to the linked data since the data was updated from source last time. This option is valid only while updating data from source (i.e. update direction is AcDb::kUpdateDirSourceToData)
kUpdateOptionOverwriteFormatModifiedAfterUpdate Overwrite all the format changes done to the linked data since the data was updated from source last time. This option is valid only while updating data from source (i.e. update direction is AcDb::kUpdateDirSourceToData)
kUpdateOptionForPreview Update is for showing preview in preview window.
kUpdateOptionIncludeXrefs Update data links within xrefs. Used only by AcDbDatabase::updateDataLink.
kSkipFormatAfterFirstUpdate Skips the formatting changes after the first time the source is updated

Description

Options for updating adapters.

Was this information helpful?