Author Topic: file bloat/infection  (Read 11984 times)

0 Members and 1 Guest are viewing this topic.

Jeff H

  • Needs a day job
  • Posts: 6144
Re: file bloat/infection
« Reply #15 on: December 01, 2016, 12:25:55 PM »
Cool! Thank you.
I didn't even realize wblock would do that.
How is wblock doing that?

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: file bloat/infection
« Reply #16 on: December 01, 2016, 12:27:48 PM »
*
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

ronjonp

  • Needs a day job
  • Posts: 7526
Re: file bloat/infection
« Reply #17 on: December 01, 2016, 02:10:25 PM »
Word to the wise: Set all viewports and all spaces (i.e. model-space, paper-space) to the World Coordinate System (WCS) before using the WBlock cleaning technique (or -ExportToAutoCAD) lest some drawings go wharrgarbl.
Quick test in 2017 & viewports remain unchanged in paperspace so long as the wblock is done from modelspace & set to world.

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: file bloat/infection
« Reply #18 on: December 01, 2016, 02:17:01 PM »
... as long as the wblock is done from modelspace & set to world.

Yep. :thumbs_up:
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

alanjt

  • Needs a day job
  • Posts: 5352
  • Standby for witty remark...
Re: file bloat/infection
« Reply #19 on: December 02, 2016, 09:46:38 AM »
... as long as the wblock is done from modelspace & set to world.

Yep. :thumbs_up:
Same. Only works from model. Pretty cool.
Civil 3D 2019 ~ Windohz 7 64bit
Dropbox

3dwannab

  • Newt
  • Posts: 39
Re: file bloat/infection
« Reply #20 on: April 07, 2018, 01:35:21 PM »
Thanks.

I've went with this below to create a new file with the suffix _wblocked
Code: [Select]
(command "_.-wblock" (strcat (getvar 'dwgprefix) (vl-filename-base (getvar "dwgname")) "_wblocked") "*")