std-osmstr | ![]() |
STD-OSMSTR ("osmode string") returns the setting of the osmode bitvalues as user-friendly string.
It also recognizes different languages if the strings for the used language are defined in STDLOCAL.LSP. If the language strings are not defined and the AutoCAD system language is not english, the options are preceded with the underscore.
The string is generated out of the three letter abbrevations of the OSNAP options.
Those strings are defined in the global variables *STD:OSMODE-LONG-STRINGS*, *STD:OSMODE-SHORT-STRINGS* and *STD:LOCALIZED-OSMODE-TABLE*
;;; english system
(std-osmstr 1) => "END" (std-osmstr 3) => "END,MID"
;;; not-english system, unknown language:
(std-osmstr 3) => "_END,_MID"
flag: A positive integer number
A string
None.
(std-require 'STDMISC)
Defined in STDMISC