Obsolete. Writes application data to the AppData section of the acad20xx.cfg file
Supported Platforms: Windows and Mac OS
(setcfg cfgname cfgval)
Type: String
Section and parameter to set with the value of cfgval. The cfgname argument must be a string of the following form:
AppData/application_name/section_name/.../param_name
The string can be up to 496 characters long.
Type: String
Application data. The string can be up to 512 characters in length. Larger strings are accepted by setcfg, but cannot be returned by getcfg.
If successful, setcfg returns cfgval. If cfgname is not valid, setcfg returns nil.
The following code sets the WallThk parameter in the AppData/ArchStuff section to 8, and returns the string “8”:
(setcfg "AppData/ArchStuff/WallThk" "8") "8"