Author Topic: setcfg / getcfg anyone use them?  (Read 2706 times)

0 Members and 1 Guest are viewing this topic.

TimSpangler

  • Water Moccasin
  • Posts: 2010
  • CAD Naked!!
setcfg / getcfg anyone use them?
« on: April 18, 2007, 01:27:11 PM »
Just checking to see if anyone uses them in ther programming and if so how?
ACA 2015 - Windows 7 Pro
All Comments and Content by TimSpangler, Copyright © 2016

dan19936

  • Guest
Re: setcfg / getcfg anyone use them?
« Reply #1 on: April 18, 2007, 01:40:06 PM »
Not since R14 to get plotter info:

Code: [Select]
(getcfg "CfgData/Plotter#2/Device/WidthTable/Color11") get pen weight
Now everything is getenv / setenv with the registry

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
Re: setcfg / getcfg anyone use them?
« Reply #2 on: April 18, 2007, 02:42:17 PM »
I occasionally use them, but more often than not, I write to the registry. Registry entries are not prone to problems with upgrading AutoCAD like getcfg and setcfg.
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie