How to Purge Line Types

Hello, I have a problem with a phenomenal amount of line types in a drawing. The purge command does not work and there are no drawings, images or pdfs referenced. If I make a copy of an object from that drawing to another drawing, I get stuck with all these types of lines in my new drawing


test.dwg

Hello

When I open the drawing with DraftSight, I only have one line!

Hello

The same goes for AutoCAD despite the presence of many layers

1 Like

Are you talking about these types of lines?

 

1 Like

By simply saving as with DraftSight, the file is already significantly smaller (in file size).

Then I used the CLEAN function, which removed many blocks etc, which was still in the file.

See the attached file.


test-2.dwg

It's a weird file.

I fired everything, purged what I wanted.

By "selecting all", it only finds the window in the paper space.

When running a control we find "314300 objects" and "15781 blocks"

What was it generated with as a product?

The drawing was made with autocad map 3d 2012 and these the number of line types that we find in the line type manager.

 

Hello

Here is my analysis of the file:

-------------------------------------------

File opening (28975 KB)

7 missing SHX files (shapes)

Opening an AutoCAD 2000 format file.
Replaced [simplexf] with [simplex.shx].
Replaced [lot.shx] with [simplex.shx].
Replaced [odo.shx] with [simplex.shx].
Replaced [SIMPLEXF.shx] with [simplex.shx].
Replaced [COMPLEXF] with [simplex.shx].
Replaced [complexf] with [simplex.shx].

Drawing Content

Object Space – 1 line
Paper Space (2 presentations) – 2 blocks, 2 windows, 1 polyline
1412 blocks (1282 of which are hidden)
97 layers
8 shapes
12 Dimension Styles
1 table style
29 text styles
1979 Line Types

Purge the file

Unreferenced DGN line style data automatically deleted when the command starts (Not sure how much?! ...)

Layers – 55 empty layers, 16 layers in blocks
Blocks – 126 (including 1 hidden) + 1 (in Dimension Styles)
Shapes – 5 (including C:\Program Files\AutoCAD 2006\office\seawall.shx) + 3 (in line types)
Dimension Styles – 10
Table Styles – 1
Text Styles – 28 + 1 (in Table Styles)
Line Types – 1979 (some of which are nested up to 5 levels?! ...)

File after purge (233 KB – DWG v2000)

Object Space – 1 line
Paper Space (2 presentations) – 2 blocks, 2 windows, 1 polyline
3 blocks
6 layers
8 shapes
2 Dimension Styles
5 text styles
4 Line Types

-------------------------------------------

In fact, it is necessary to check that nested elements are also processed during purging.

In conclusion, it's normal that the file is so heavy when there is (almost) nothing drawn on it given all the hidden elements it contains.

A+

In conclusion, why use this empty drawing and not another totally blank one?

@ PL

The interest is to use it as a template (template in Autocad) with ready-to-use elements (layers, blocks, styles, layouts) already inserted into it. It's something I personally practice.

However, in this case, cleaning is necessary in order to have only what is necessary according to the end use of the template.

It is therefore necessary to use the purge with finesse in order to preserve the essential elements while removing the superfluous (always thinking about the nested elements).

A+

Personally, what surprises me and doesn't understand is that even after having emptied it, purged it in depth, there are still a lot of "stuff".

And yes!

A drawing file, even a blank one, contains data:

-Layer "0", common styles ("Ducalque", etc.)

- "Standard" styles (text, dimensioning)

-Presentation (there is always at least one)

 

The file test.dwg completely emptied and purged , and is finally 194KB.

Knowing that a new blank file (acadiso) is 30KB (v2013) or 169KB (v2000), it's not that bad.

A+

In order to solve my problem, I had to do 

1° a copy/paste in another drawing

2° a dxfout of this new drawing and then make a purge of this dxf

For some reason I don't know the purge in the first drawing didn't work.

Thank you to all of you.