Jump to content

How to delete unused block


Recommended Posts

This is your drawing fully "WBlocked" and with substitute fonts.

 

I am not sure why WBlock or the other methods do not work for you.

 

Maybe something to do with me using AutoCAD 2009.

I had to use DWG Trueview to convert your original drawing down to AutoCAD 2007.

Refer1-Wblock.dwg

Link to comment
Share on other sites

  • Replies 36
  • Created
  • Last Reply

Top Posters In This Topic

  • sleepy86

    13

  • Manila Wolf

    10

  • ReMark

    3

  • SLW210

    3

This is your drawing fully "WBlocked" and with substitute fonts.

 

I am not sure why WBlock or the other methods do not work for you.

 

Maybe something to do with me using AutoCAD 2009.

I had to use DWG Trueview to convert your original drawing down to AutoCAD 2007.

It's fantastic to see your result. How are you doing ? I already tried to "wblock + purge". But it does not take any effect. I see your drawings the unsed block already removed. Did you just write block entire drawing?

Link to comment
Share on other sites

It's fantastic to see your result. How are you doing ? I already tried to "wblock + purge". But it does not take any effect. I see your drawings the unsed block already removed. Did you just write block entire drawing?

 

In this case I did indeed Write Block the entire drawing.

My other two suggestions also worked well. I tried all three fixes independently.

 

Your problem I think (As others have suggested) is that complex linetypes have been imported from Microstation.

 

The mystery is why you can't fix the drawing yourself.

I think you should upload the missing shape files so we get a true picture.

Link to comment
Share on other sites

I ran the -PURGE command on the original drawing and deleted 500 Regapps! I then WBlocked out the drawing and saved it under a different name. This one simple step reduced the file size from 5.73MB to 127KB.

Link to comment
Share on other sites

I ran the -PURGE command on the original drawing and deleted 500 Regapps! I then WBlocked out the drawing and saved it under a different name. This one simple step reduced the file size from 5.73MB to 127KB.

Could you show the guideline and and the result. I do the same way with you. But I do not see unused block has been removed.

the Link below is the same problem. Could you show how to do?

https://www.dropbox.com/s/fcco6b48dz67l84/APP_10-1.dwg?dl=0

Link to comment
Share on other sites

In this case I did indeed Write Block the entire drawing.

My other two suggestions also worked well. I tried all three fixes independently.

 

Your problem I think (As others have suggested) is that complex linetypes have been imported from Microstation.

 

The mystery is why you can't fix the drawing yourself.

I think you should upload the missing shape files so we get a true picture.

Your result is very good. But the problem is that we do not use cad trueview and we also do not use microstation to import object. So we all use CAD platform in our drawings. So I think there is a way to solve it by cad program.

Link to comment
Share on other sites

Your result is very good. But the problem is that we do not use cad trueview and we also do not use microstation to import object. So we all use CAD platform in our drawings. So I think there is a way to solve it by cad program.

 

You do not need Dwg Trueview as you are using AutoCAD 2014. I need it because I am using AutoCAD 2009. I can't open any drawings created by versions higher than 2009.

ReMark has already WBlocked your drawing previously, so Dwg Trueview has nothing to do with it.

 

I still believe the complex linetypes and blocks in your drawing have most likely come from a another Non-AutoCAD program. Not necessarily Microstation. (But could be). You may have used a block or blocks given by others and inserted into your drawing not being aware that it contained the unwanted extra's.

 

I WBlocked your latest uploaded drawing down to 1.336 KB, but it's too big to upload here.

ReMark will probably get it at a slightly smaller file size because he will not have to save down to AutoCAD 2009 format.

 

Incidentally, as a matter of course, I also fully purge all my drawings including regapps.

 

-EXPORTTOAUTOCAD also worked. File size was 1.484 KB

 

It's the 3D solids the make the drawings creep just above 1000 KB.

Even after applying the BREP command.

 

Are you actually WBlocking the entire drawing?

 

 

Edit.....Added Link to the Wblocked drawing

 

https://www.dropbox.com/s/ueocjkedzjq69k8/APP_10-1-WBlock.dwg?dl=0

Edited by Manila Wolf
Link to comment
Share on other sites

You do not need Dwg Trueview as you are using AutoCAD 2014. I need it because I am using AutoCAD 2009. I can't open any drawings created by versions higher than 2009.

ReMark has already WBlocked your drawing previously, so Dwg Trueview has nothing to do with it.

 

I still believe the complex linetypes and blocks in your drawing have most likely come from a another Non-AutoCAD program. Not necessarily Microstation. (But could be). You may have used a block or blocks given by others and inserted into your drawing not being aware that it contained the unwanted extra's.

 

I WBlocked your latest uploaded drawing down to 1.336 KB, but it's too big to upload here.

ReMark will probably get it at a slightly smaller file size because he will not have to save down to AutoCAD 2009 format.

 

Incidentally, as a matter of course, I also fully purge all my drawings including regapps.

 

-EXPORTTOAUTOCAD also worked. File size was 1.484 KB

 

It's the 3D solids the make the drawings creep just above 1000 KB.

Even after applying the BREP command.

 

Are you actually WBlocking the entire drawing?

 

 

Edit.....Added Link to the Wblocked drawing

 

https://www.dropbox.com/s/ueocjkedzjq69k8/APP_10-1-WBlock.dwg?dl=0

 

I made it already By your way and write block for double time. In fact that take effect on file size. your guideline is very helpful.

Thank you so much.

Link to comment
Share on other sites

For the file I uploaded yesterday I can do by your way. But the link below is the same problem. I cannot solve by -Purge, Purge and write block. how can you use -exportautocad command?

https://www.dropbox.com/s/3obq1i9v90eft9n/SPL_LOI%2023.dwg?dl=0

 

Sleepy,

 

The drawing you uploaded was missing some X-Refs.

For a full evaluation you would have to upload the X-Refs or bind them to the original drawing and upload that.

 

I am only able to work on your uploaded drawing without X-Refs.

Wblocking and -EXPORTTOAUTOCAD both worked for me. For reference I have attached the drawing I exported to AutoCAD.

 

To Export to AutoCAD (-EXPORTTOAUTOCAD) see this site for good full instruction:-

 

http://www.ccadinc.com/autocad-tutorials-aec-objects.html

 

 

To export to AutoCAD myself I use a Lisp file "eaec.lsp"

If you want to try this, PLEASE COPY YOUR DRAWING INTO A TEMPORARY FOLDER and work on that.

I would not want you to do anything bad to your original drawings.

This lisp will rename your original drawing by adding a suffix -AEC-Original

The drawing exported to AutoCAD will be the same filename as your original drawing and in the same folder.

This lisp is set to not bind X-Refs I believe.

It will save down to AutoCAD 2007 format. You can change the 2007 in the lisp to 2010 if you prefer.

 

For your X-Refs, I suggest you independently Wblock or -EXPORTTOAUTOCAD them.

SPL_LOI 23-EXTRACTTOAUTOCAD.dwg

eaec.lsp

Edited by Manila Wolf
Link to comment
Share on other sites

I did some googling and found some good ideas.

 

See this Link: http://www.texupport.net/2013/07/does-autocad-seem-slower-than-it-used.html

 

If you want to try this idea, PLEASE COPY YOUR DRAWING INTO A TEMPORARY FOLDER and work on that. I should hate you to destroy the original.

 

Try the attached PurgeDGN lisp.

This should remove all the microstation linestyles from the drawing, then carry out a standard AutoCAD purge.

If you do want to keep the microstation linestyles, then DO NOT use it.

 

Load the lisp and type PurgeDGN to invoke the command.

 

Good Luck. :)

PurgeDGN.lsp

Link to comment
Share on other sites

I did some googling and found some good ideas.

 

See this Link: http://www.texupport.net/2013/07/does-autocad-seem-slower-than-it-used.html

 

If you want to try this idea, PLEASE COPY YOUR DRAWING INTO A TEMPORARY FOLDER and work on that. I should hate you to destroy the original.

 

Try the attached PurgeDGN lisp.

This should remove all the microstation linestyles from the drawing, then carry out a standard AutoCAD purge.

If you do want to keep the microstation linestyles, then DO NOT use it.

 

Load the lisp and type PurgeDGN to invoke the command.

 

Good Luck. :)

 

AutoCAD 2014 has a Hotfix available from Autodesk to remove the unused DGN Linetypes, really no need to use the LISP. The Hotfix prevents future DGN import problems, also.

 

DGN HOTFIX

Link to comment
Share on other sites

That's a good find SLW210. I think it will fix the OP's problem.

 

Cheers.

 

For me using Autocad 2009 I am pleased to have found the PurgeDGN lisp in case I need it for my own purpose.

Link to comment
Share on other sites

Sleepy,

 

The drawing you uploaded was missing some X-Refs.

For a full evaluation you would have to upload the X-Refs or bind them to the original drawing and upload that.

 

I am only able to work on your uploaded drawing without X-Refs.

Wblocking and -EXPORTTOAUTOCAD both worked for me. For reference I have attached the drawing I exported to AutoCAD.

 

To Export to AutoCAD (-EXPORTTOAUTOCAD) see this site for good full instruction:-

 

http://www.ccadinc.com/autocad-tutorials-aec-objects.html

 

 

To export to AutoCAD myself I use a Lisp file "eaec.lsp"

If you want to try this, PLEASE COPY YOUR DRAWING INTO A TEMPORARY FOLDER and work on that.

I would not want you to do anything bad to your original drawings.

This lisp will rename your original drawing by adding a suffix -AEC-Original

The drawing exported to AutoCAD will be the same filename as your original drawing and in the same folder.

This lisp is set to not bind X-Refs I believe.

It will save down to AutoCAD 2007 format. You can change the 2007 in the lisp to 2010 if you prefer.

 

For your X-Refs, I suggest you independently Wblock or -EXPORTTOAUTOCAD them.

Your support is very helpful. But in fact, I cannot work your method with every drawings. And it take time for me. So I already find another method in autodesk forum. It's very helpful. It's delete block LISP. Just use this lisp and write block drawing. It's fantastic

Pls follow the link below.

http://lee-mac.com/deleteblocks.html

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...