getcfg
setcfg
(getcfg varname)
(setcfg varname value)
These 2 standard AutoLISP functions have been
extended to read and write *any*
settings value, as shown in BricsCAD's
Settings dialog;
so any system variable (either stored in dwg
database, or in Registry), as well as any other (usually
Registry-based) setting can be retrieved and assigned.
This allows access to and modifying any
settings value, regardless of their (internal) nature and storage,
providing a unified handling of otherwise inaccessible
settings.
Arguments |
'varname' the settings name to be queried or set |
Return |
(getcfg) : the queried value
as string, if successful, NIL otherwise |
Example |
(getcfg
"ImportProductStructure") |
Remarks |
Please note, as like for
standard (getcfg) and (setcfg), any value is passed and returned as
string ! |
© Bricsys NV. All rights reserved. |