Author Topic: .bak files, plot.logs, .err logs  (Read 4356 times)

0 Members and 1 Guest are viewing this topic.

Lee Mac

  • Seagull
  • Posts: 12914
  • London, England
.bak files, plot.logs, .err logs
« on: September 06, 2010, 04:54:56 PM »
A few quick questions if I may   :-)



( 1 )

Goal:

Turn off creation of .bak files programmatically.

Research:

ISAVEBAK System Variable - stored in registry also (but where?)

Is this the best way to do this?



( 2 )

Goal:

Turn off creation of plot.log files programmatically.

Research:

Code: [Select]
(command "_.-plotstamp" "_Log" "_OFF" "" "")
Is there no System/Environmental Variable for this? Is there a better way to approach this?



( 3 )

Goal:

Turn off creation of .err files (error logs) programmatically.

Research:

Found REPORTERROR - but does this stop the .err files also?

Searched Swamp LISP section - not too much that is relevant, Google didn't give me too much either.



Many thanks for your interest,

Lee

roy_043

  • Water Moccasin
  • Posts: 1895
  • BricsCAD 18
Re: .bak files, plot.logs, .err logs
« Reply #1 on: September 06, 2010, 05:27:10 PM »
( 2 )

Goal:

Turn off creation of plot.log files programmatically.

Research:

Code: [Select]
(command "_.-plotstamp" "_Log" "_OFF" "" "")
Is there no System/Environmental Variable for this? Is there a better way to approach this?
http://www.theswamp.org/index.php?topic=27798.msg333739#msg333739

Lee Mac

  • Seagull
  • Posts: 12914
  • London, England
Re: .bak files, plot.logs, .err logs
« Reply #2 on: September 06, 2010, 05:42:46 PM »
( 2 )

Goal:

Turn off creation of plot.log files programmatically.

Research:

Code: [Select]
(command "_.-plotstamp" "_Log" "_OFF" "" "")
Is there no System/Environmental Variable for this? Is there a better way to approach this?
http://www.theswamp.org/index.php?topic=27798.msg333739#msg333739

Superb Roy, appreciated indeed.  :-)

Lee Mac

  • Seagull
  • Posts: 12914
  • London, England
Re: .bak files, plot.logs, .err logs
« Reply #3 on: September 06, 2010, 06:10:14 PM »
( 2 )

Goal:

Turn off creation of plot.log files programmatically.

Research:

Code: [Select]
(command "_.-plotstamp" "_Log" "_OFF" "" "")
Is there no System/Environmental Variable for this? Is there a better way to approach this?
http://www.theswamp.org/index.php?topic=27798.msg333739#msg333739

Re: AutomaticPlotLog property

Quote from: AutoCAD Help
This property is equivalent to the AutoCAD Options dialog box setting "Automatically Save Plot and Publish Log."

Is this the same as the individual plot.log text files that are created in the working directory? Or is this referring to the Plot and Publish CSV file?

BTW: this is for ACAD2004-7

VovKa

  • Water Moccasin
  • Posts: 1631
  • Ukraine
Re: .bak files, plot.logs, .err logs
« Reply #4 on: September 07, 2010, 03:50:52 AM »

ISAVEBAK System Variable - stored in registry also (but where?)

Code: [Select]
(vl-registry-read (strcat "HKEY_CURRENT_USER\\"
  (vlax-product-key)
  "\\Profiles\\"
  (getvar "CPROFILE")
  "\\General Configuration\\"
  )
  "IsaveBackupDwg"
)

Lee Mac

  • Seagull
  • Posts: 12914
  • London, England
Re: .bak files, plot.logs, .err logs
« Reply #5 on: September 07, 2010, 04:12:10 AM »
Ahhh... General Configuration - I spent all my time trawling through General...  :oops:

So, for concision, perhaps something like this?

Code: [Select]
(getenv "IsaveBackupDwg")

roy_043

  • Water Moccasin
  • Posts: 1895
  • BricsCAD 18
Re: .bak files, plot.logs, .err logs
« Reply #6 on: September 07, 2010, 04:18:53 AM »
Is this the same as the individual plot.log text files that are created in the working directory? Or is this referring to the Plot and Publish CSV file?
Bricscad doesn't create plot log files, so I can't help you with that one. I was just repeating a link that I remembered seeing on a different forum. It seemed to fit the bill...

Lee Mac

  • Seagull
  • Posts: 12914
  • London, England
Re: .bak files, plot.logs, .err logs
« Reply #7 on: September 07, 2010, 04:21:00 AM »
Is this the same as the individual plot.log text files that are created in the working directory? Or is this referring to the Plot and Publish CSV file?
Bricscad doesn't create plot log files, so I can't help you with that one. I was just repeating a link that I remembered seeing on a different forum. It seemed to fit the bill...

Ok, thanks anyway Roy, I'd never use vla-get-output before and I love learning a new one  :-)