Tuesday, November 24, 2009

What is the flag (0-15) in the command alias editor?

The ALIASEDIT command in AutoCAD allows to define new shortcuts (aliases) to internal commands and define (create) new shell commands. For the shell (OS) commands you have to specify a "Flag" (a number from 0 to 15).

This flag is a bit combination of:
  • Bit 1: if set, AutoCAD does not wait for the application to finish
  • Bit 2: if set, the application is run minimized
  • Bit 4: if set, the application is run as hidden
  • Bit 8: if set, the argument string has to be quoted
E.g. 11 means: run minimized, do not wait to complete, parameters are quoted.

See also the ACAD.PGP file.

No comments:

Post a Comment