Share

AcFileSelectFlags Enumeration

C++

enum AcFileSelectFlags : unsigned int {
  kDLFNoType = 0x0,
  kDLFPut = 0x1,
  kDLFDwg = 0x2,
  kDLFPathOnly = 0x4,
  kDLFNoWarn = 0x8,
  kDLFNoExistOk = 0x10,
  kDLFAnyExt = 0x20,
  kDLFRqBox = 0x40,
  kDLFSaveas = 0x80,
  kDLFNoLib = 0x0100,
  kDLFNoXfer = 0x0200,
  kDLFNoURLs = 0x0400,
  kDLFDwgDef = 0x0800,
  kDLFOpenDef = 0x1000,
  kDLFDvc = 0x2000,
  kDLFDwt = 0x4000,
  kDLFOpts = 0x8000,
  kDLFNoPopup = 0x10000,
  kDLFFrcWarn = 0x20000,
  kDLFMulti = 0x40000,
  kDLFCLI = 0x80000,
  kDLFRecover = 0x100000,
  kDLFForceDir = 0x200000,
  kDLFNoFTP = 0x400000,
  kDLFNoAnav = 0x800000,
  kDLFFolders = 0x1000000,
  kDLFNoExtensions = 0x2000000,
  kDLFNoTemplate = 0x4000000,
  kDLFExport = 0x8000000,
  kDLFEnableRememberFolders = 0x10000000,
  kDLFOpenSample = 0x20000000,
  kDLFUseCloud = 0x40000000,
  kDLFCloudControls = 0x80000000
};

File

acdlflagbits.h

Members

Members Description
kDLFNoType No typeit button. This bit is obsolete.
kDLFPut Creating file
kDLFDwg Special action for drawing file
kDLFPathOnly Default name is path only
kDLFNoWarn No overwrite warning on Put file
kDLFNoExistOk Don't check if file exists in Open dialog
kDLFAnyExt Accept any extension, don't strip
kDLFRqBox User requested dialogue box via ~
kDLFSaveas SAVEAS use of the dialog. Distinguish .dwg action
kDLFNoLib Don't perform library search
kDLFNoXfer Internet: do not transfer file
kDLFNoURLs Internet: do not allow URLs at all
kDLFDwgDef This flag only has an impact when a default file name is not provided to acedGetFileNavDialog(), acedGetFileD(), AcDbHostApplicationServices::selectFile(), or any other function that reportedly uses these flags (it is difficult to discern which flags are supported by which functions). When a default file name is not provided, use this flag to leave the default name blank in the dialog. Leave out the flag, and a default name is generated and displayed in the dialog, based on the current drawing name
kDLFOpenDef Special dialog definition for OPEN
kDLFDvc Allow device names to be returned
kDLFDwt Flag templates to lock directories
kDLFOpts Displays the "Options" menu item on the "Tools" menu of the dialog. This flag does not ensure any options will be available, just that the menu entry will not be hidden
kDLFNoPopup Don't use last pop-up as the parent window
kDLFFrcWarn Forces the display of a file overwrite warning prompt, even when the command is run from LISP or a script. Otherwise, overwrite warning prompts are generally suppressed under these conditions
kDLFMulti Allow multiple drawing opens. WARNING: This flag must not be used in any AutoCAD command dialogs other then the OPEN command. It is ok to use it for non-AutoCAD command dialogs. For example, it is used in the acedGetFileNavDialog API to allow multiple file selection and return multiple file names to the caller
kDLFCLI Use the command line to get file name
kDLFRecover Doing a recover
kDLFForceDir Force the initial directory to be the argument (only works with anav).
kDLFNoFTP Do not show FTP site (only works with anav).
kDLFNoAnav Do not use the anav dialog, force use of Microsoft common file dialog
kDLFFolders Select folders only (only works with anav)
kDLFNoExtensions Do not show shell namespace extension sites at all (only works with anav)
kDLFNoTemplate Open with no Template - Imperial or Metric
kDLFExport AutoCAD EXPORT dialog. Distinguishes between 2ddwf and 3ddwf action

Description

These enum values are used as flags bits in the nFlags argument of AcDbHostApplicationServices::selectFile(). Some of them are used by AutoCAD's calls to selectFile() and should not be used by other callers. They are included here because they may be seen by selectFile() callback handlers (see AcadHostApplicationServices::registerSelectFileCallback()).

See Also

AcDbHostApplicationServices

Was this information helpful?