Writes application data to the AppData section of the acad*.cfg file
(setcfg cfgname cfgval)
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”:
Command: (setcfg "AppData/ArchStuff/WallThk" "8")
"8"
See Also
-
The getcfg function.