When I open a new template all the correct linetypes are there and the drawing works fine, I can purge and they are deleted if not in use.
When I copy ANYTHING from one of my existing drawings which contains all these odd linetypes then they all appear in the new drawings and they will not purge.
ANYTHING = Text, blocks, lines... etc.
From reading about similar problems I think it has risesn from Binding/Inserting (I cant remember which one I used) of a Xref orignially from Microstation into a drawing I did about 3 months ago. The linetypes have just stuck around.
We have a problem in our office. In some of our drawings we keep getting a lot of unwanted linetypes and text styles. Nobody is sure where they originated.
We have tried this method in getting rid of them but it doesnt work. [URL]
I have a large xref from a client that is causing me some grief. When I open it, I get a message about it having over 5,000 annotative scales (seriously!). What do I need to do to get rid of them? I'm not a big fan of xref's & things like this make me like them even less!
How can I purge linetypes? We get data from outside sources and my goal is to load our linetypes. I have a list of layers and store the previous layer linetypes. I reset them all to "Continuous". Now I have to purge the old linetype definitions but I can't make them go away. I need to purge DASHED and HIDDEN so far. If I open the file and click on the linetype in layer manager, I still see the old DASHED and HIDDEN definitions. I have tried db.purge(linetypeobjectid) but they don't go away.
Do I need to go through the symboltablerecord to find the correct linetypetablerecord and remove it? Will that remove the linetype from the list shown in layer manager? That is what I need to do - make sure DASHED and HIDDEN *have* to be re-loaded from our linetypes.
The line types in question are funky looking line types that do not exist within our office. They often contain "$$" and and/or file names and other odd characters as if they are remnants of binding a drawing. In any case, they are not visible anywhere in the drawing. We refer to these drawings as being "infected".
If any object, i.e. block, text or even a simple line, is copied from an infected drawing into an uninfected drawing, all of the mysterious line types follow. And when I say all, I mean 50+. Furthermore, copying from one infected to another infected will double the line types. So, as you can see, if undetected, you could easily have 100's of "line types" on a drawing which substantially increases the size of the .dwg file.
The process that I have created (from researching on the internet) is to save the .dwg into a .dxf. Close the .dxf and then PURGE. Purging the .dwg will not work. And, you MUST close and re-open the created .dxf in order to purge these files. The you can again save as a .dwg. To complicate things, occasionally a .dwg will not save as a .dxf unless I AUDIT it first.
Needless to say, this is a giant pain in that the files that are infected are at least 50 in number. I have created a macro or two to at least reduce some of the steps. Unfortunately, since the .dxf must be closed and re-opened (which cannot be done in a macro) an all encompassing macro cannot be written.
So i have all these linetypes (see image) that i think originated in Microstation and have appeared on my computer when i binded a few DWGs derived from DGNs. (I can explain all that more if you think its warrented).
This is basicly what keeps happening.
- I open a brand new template, all line types are there (usual: dashed, phantom etc).
- I can work away happily, untill i copy something (a line, text, circle....) from a drawing that has these linetypes and BAM they all appear in the new drawing.
In this way, the linetypes have 'spread' into quite a few dwg's, and i cannot get rid of them once they are in the drawing and its saved.
A few other things....
- Other people in the office can open the drawings on their computers = NO weird Linetypes appear. Some open it and they do appear. (so if you open the dwg attached to this and find no linetypes, i dont know why!)
- The linetypes wont purge due to being in use etc
I would say the problem has originated from when I binded the xrefs, which is fine, but how to i fix it now?
The two main xrefs that appear to be referenced in the linetypes description are being used by other people in the workplace so i cant just delete them and start again.
I have a drawing that has hundreds of text styles that do not seem to be used by anything that I cannot purge. I have even deleted everything in the entire drawing, and it still says that the text styles are in use. Is there a way to override the purge since I know that the text is not in use.
I'm having a small problem with linetypes that are not being used nor will they purge from a drawing. I believe that all started with the binding of an xref but now the xref has been removed along with just about everything else other than simple geometry and some text. The linetypes will not purge. For instance, if I take a standard "new" dwt file that has no problems and copy anything from an "infected" drawing to the dwt, the infectious linetypes will now appear in the dwt. And when I say anything, I mean anything. i can draw a new circle/line/point on the "0" layer and copy that new item into the clean dwt and it will take along with it the unwanted linetypes.
I have seen a similar post about linetypes not purging. And have tried the wblock solution with now luck. I have tried recover along with anything else that I could think of. Again the drawing doesn't have any xrefs and even newly drawn items, when copied, will become infected by the unwanted line types.
Also, the linetypes that are being left behind do have the "$0$" within the name. But also to mention the only ones being left behind are "powerline" and "phantom",
How do I purge linetypes from a dynamic block? I have hundreds of blocks that make up our legend items and I want to remove unwanted items to reduce the sizes of them.
That's just one name and there is over a hundred similar ones! Maybe the name is too long for ACAD to handle?
Things I've tried.
wblock selected to new .dwg audit, purge and audit, purge again. Copy and pasting into blank template. Step 2. 10+ years in AutoCAD and haven't came accross this before.
Got a great LISP from Lee Mac to steal layers, dimensions and Text styles from the drawing. As long as I didn't take in the Linetypes I was fine. This LISP does a whole lot more than the things described above.
I had a user ask why some dimension styles cannot be purged even if all the dimensions are deleted from the project.
Most probably the dimension style is used in a family that is loaded in the project.
When you select all dimension instances in the entire project, it will not select those included in the families. But the purge function will 'see' that it is still used in a family and therefore it will not be listed in the purge dialog.
So you will have to find in which family the dimension style is used.
I don't think there is an easy way to do it. I would make a copy of the project and then delete a bunch of families until the dimension style can be purged, then refine the research until to find the family that contains the dimension style.
I have a drawing that have blocks in them I cant find inserted. I cant purge them or the linetypes they have. How do I strip them out if I cant find them to explode them?
I'm trying to delete a unused layer. But when I do that I get the following error (see attachment). I googled a bit and figured out that the LAYDEL command might solve my issue, but as I'm using Autocad 2013, that's not possible, as it doesn't have this command..
The block that causes the error can also be deleted, I tried with the purge command, but must be doing something wrong cause it didn't work. With regard to the purge command, I see it this way (attachment 2), how can you display it in a window kind of view to get a better overview?
I am using Inventor 2009 SP2, OS is XP Professional 2002 SP3.
I copy a file which has lot of parameters, I want to delete some of them, but Inventor Parameters pop up window just has buttom to add a user Parameter, without button to erase one.
Autodesk Inventor Professional 2013 (64 Bit) SP2 Windows 7 Professional Service Pack 1 Intel(R) Xeon(R) CPU E5645 12.0 GB Memory
I have an CAD file with a lot blocks which I don't use. I would like to delete them. So I do "Purge" which took care of some but not all. There are still a lot of "cannot purge" blocks. So I do "Insert", I see about 30 blocks. Choosing one of those, I can edit the block. (Doing the "Insert" was just my beginner's test step to see how many unwant blocks I still have.) I believe they cannot be purged because they are nested.
How can I delete the 'cannot be purged" unused blocks?
I know a lot of the blocks have other blocks nested in them. Is deleting the 'parent' blocks enough for me to purge?
I received a file (exported from datacad) with apx. ~1000 dimension styles. I selected all dimensions and changed their style to a new style. Now I want to delete the old styles, but Autocad says they are used. I tried purging, but it doesn't work.
In our drawing files, we have several layers that our office is no longer using. The layers are empty but I can't purge them. We also have a block that seems to be related to the layers we cant purge. The block is made up of only 1 word. I've inserted the block, exploded it, and erased it but I still can't purge it. There seems to be some connection between these two things, but I haven't been able solve the problem.
I am trying to purge all the unreferenced blocks in AutoCAD using VBA. Knowing that VBA only has thisdrawing.purgeall, I had to use sendcommand to try to achieve this.
Whenever I try to run the following in AutoCAD using VBA, the program tries to Quit and ask me to if I want to save changes. Is there a way to have it not prompt me for that? I've tried setting the FileDia set variable to 0 and it didn't work.
I have a routine to purge a drawing. I'm able to purge layers, blocks, material, dimstyle, linetype, mleaderstyle, mlinestyle, textstyle and table style. But i'm not able to figure out how to purge shape (font). Here an extract of my routine:
Public Enum ItemType As Integer Block = 0 Layer = 1 Material = 2 Dimstyle = 3 MLeaderstyle = 4 MLine = 5
[Code] .........
In the shape Section I don't know which table or dictionary to use???
How do I purge or delete the printers/plotters from the list in the plot set up dialog. I have several that go to the same machine but are not config'd correctly or just simply not used. Can I get rid of them so I don't have to sort through when plotting?
Also, what about the list of sheet set ups in the plot dialog?