• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

non-deleteable line styles

  • Thread starter Thread starter doimet
  • Start date Start date

doimet

Guest
Hello everyone
I searched within the forum but found no posts that could help me, so I create a new one.

my problem is with dwg autocad files; my work consists in drawing furniture (from design to executive drawings).
to complete drawings I had to copy some lines from a reference file (a furniture finished months ago).
only that I did not realize that this file had loaded thousands of different line styles; I don't even understand what the reason is, maybe an export from solidworks or similar programs. .
in fact that now all the files in which I copied these lines, have loaded more than 9000 different line styles, bringing simple dwg files from 300kb to 15mb. This involves excessive slowdown and endless succession of irreversible errors.

tried already with selection filters, _purge, _regen, management line styles. Nothing. .
it does not erase me, it tells me that I am in use but there is no trace neither in the various layers, nor on the various layouts.

I even created a new file, copied one line, the file became very heavy.
if I delete everything and save, I remain loaded the 9116 styles of line and the empty file still weighs 8-9 mb.

I don't know what to do anymore, I will be eternally grateful to those who suggest something to me
thanks in advance
 
It's a porcarium that comes from microstation, you could solve it with exporterdgn and importadgn but the procedure for the removal of the ornaments is macchinosa.

much better use of this lisp: View attachment PurgeDictionaryItems[PDI].zip (trovato qui).

once extract the file upload it with appload and launch it with pdi, then indicate the dictionary you want to delete:

current dictionary list:
------------------------------------------------------
acad_cip_previous_product_info
acad_color
acad_detailviewstyle
acad_dgnlinestylecomp <-- this is
acad_group
acad_layout
acad_material
acad_mleaderstyle
acad_mlinestyle
acad_plotsettings
acad_plotstylename
acad_scalelist
acad_sectionviewstyle
acad_tablestyle
acad_visualstyle
acdbvariabledictionary
======================================================
note: purging "acad_*" may corrupt the drawing file.
purge dictionary items <enter case="" pattern="" sensitive="">: </enter>acad_dgn*

purging dictionary "acad_dgnlinestylecomp".
1 dictionary item(s) purged.
at this point all the blocks become eliminateable and after these also the typeliness.
for the record your dwg from 9,21 mb became 47,5 kb

:smile:
 
I apologize, but the pdi with what I open it?
I'm sorry, but I don't know these procedures. .
 
or better, I saw in the forum how to upload it. but I can't use it.. I also read in the forum a discussion about the lisp, but I did not solve
 
if you managed to charge it obviously you did not give the command that is pdi
 
I uploaded the lisp with the appload command. I also copied the lisp inside the autocad folder as I read on the other post that is best so. The dpi command doesn't work.
 
I uploaded the lisp with the appload command. I also copied the lisp inside the autocad folder as I read on the other post that is best so. the command dpi But it doesn't work.
once extracted the file purgedictionaryitems[PDI].fas from the zip can be placed in any folder.
command appload, select as file type formato fast-load autolisp (*.fas), search the file, select it and click on charge charge, close the window and command line type p (non dpi eh).
 
once extracted the file purgedictionaryitems[PDI].fas from the zip can be placed in any folder.
command appload, select as file type formato fast-load autolisp (*.fas), search the file, select it and click on charge charge, close the window and command line type p (non dpi eh).
i did! i don't know how to thank you, you saved me a lot of important files.
thanks again.

i'll stay in touch and keep going for the forum if i can help.
see you soon!
 
Good evening, everyone!
I have a problem that no longer allows me to work! I need your help.
from a few days some kind of line in my acadlt2012 are no longer represented at videos (and then printed) as you must. an example on all the line of thermal insulation that instead of having the look that we all know (batting), now has become dotted....besides in the menu "line type management" I see an impressive number of types of line that before were not there. If I do to delete them, there are several error messages like "definition of _nomefile_ incorrect in the _numeroriga_ file _percorsofile_....acadltiso.lin".
I have consulted several specific sites, it seems that the cause is an incorrect text style that uses the ltypeshp.shx file as a font.
I have followed the procedure that I attach below and which is based on the purge command but nothing to do, the problem persists. and the anomaly is not only extended to a single file, but to all the acad files present on the pc, even the old ones....if I open a "orrupt" file on another pc, also the files of that pc will present the same abnormalities (for example, I repeat, line of the dotted thermal insulation instead of by the canonical aspect).
the .lsp files on acadlt I don't think you can use, I read on this site that someone suggested the use to solve my anomaly already found by someone else... .
Thank you!
 

Attachments

I tried to export your line of the file "problematics - line styles" with the command "wblock" by selecting the line, possibly the various objects, result the new file is passed from 9439 kb to 15 kb and are no longer present the various types of lie, try also this way if it can be useful.
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top