AutoCAD .NET :: Purge Linetypes

Jan 31, 2011

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.

View 6 Replies


ADVERTISEMENT

AutoCad 2D :: Cannot Purge Linetypes

Mar 15, 2013

I can actually purge these hidden line types.

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.

View 9 Replies View Related

AutoCAD LT :: Linetypes Will Not Purge

Nov 21, 2011

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.

View 9 Replies View Related

AutoCAD 2013 :: Linetypes That Are Not Being Used Nor Will They Purge From A Drawing

Jan 4, 2013

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",

View 6 Replies View Related

AutoCad :: Purge Linetypes From Dynamic Block

May 4, 2011

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.

View 1 Replies View Related

AutoCad 2D :: Cannot Purge Unwanted / Unused Linetypes

Oct 26, 2011

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.

View 4 Replies View Related

AutoCad :: Bogus Linetypes Unable To Purge?

Apr 25, 2013

See attached dwg with a basic layer, dim style and text style template. See that there are linetypes which I can't purge.

_TEMP.dwg

Linetypes are for example:

4382_F_08-10 GA Elevations$0$4382_F_1000-1 Lower Ground Floor Plan$0$ceiling details - Model$0$SW-CA-ZZZZ-ZZZ-2SC-AR-063001_Section4-4 - Default$0$AUSGEZOGEN

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.

[URL]

View 9 Replies View Related

AutoCAD 2010 :: Unwanted Linetypes And Text Styles Unable To Purge?

Jul 17, 2013

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]

See attached file.

Same applies with the text styles.

View 9 Replies View Related

AutoCad :: Purge Layers That Have Nothing On Them?

Mar 28, 2012

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.

View 8 Replies View Related

AutoCad :: What Is Purge Command

Aug 12, 2012

what is this purge command, i practice cad 2010. i don't understand the use of purge command.

View 7 Replies View Related

AutoCAD VB :: Unable To Purge Blocks In VBA

Apr 26, 2011

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.

ThisDrawing.SendCommand "-Purge" & vbCr & "B" & vbCr & "*" & vbCr & "N" & vbCr

View 3 Replies View Related

AutoCAD .NET :: Purge Font (shape)

Sep 18, 2013

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???

View 1 Replies View Related

AutoCAD Architecture :: How To Purge Plotters

Jun 7, 2011

ACA 2011 Win 7 - 64

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?

View 5 Replies View Related

AutoCAD Civil 3D :: Can Not Purge Blocks

Nov 14, 2012

I have a file with 403 blocks in it that can not be deleted, purged, or seen.  I've attempted to WBLOCK the linework out, copy and paste the linework out, exploding every object in the file, changing everything to bylayer and layer 0, purging and -purgeing, but the blocks are still there along with a number of linestyles associated with the hidden blocks.  Is there any way to get rid of these blocks?  I have a file attached with nothing else in it except the blocks I cannot purge.  They are also not associated with any styles. 

View 9 Replies View Related

AutoCad :: Purge AEC Block Names?

Jan 24, 2012

I'd like to get rid of all AEC block names in my template. I've tried BLDSYSPURGE and that didn't work. We don't currently use ACAD MEP for it's intended purpose so I just want these out of the block name list in our template for now. Is there a way to do so?

View 6 Replies View Related

AutoCad :: Can't Purge Certain Empty Layers?

Dec 4, 2013

Just wanted to check if there were any reasons I hadn't considered as to why Purge doesn't want to purge certain empty layers. I'm changing the architect's background to our standards, and some layers simply do not want to go away.

All the remaining layers are turned on and unlocked.
I have exploded everything repeatedly until I cannot explode more.
I'm purging nested items and getting rid of points/zero-length geometry.
I have run a QSELECT on all the offending layers, revealing 0 items on every one.
I have erased and purged everything that was on paper space.
I have QSELECTed for every "weird" item on the drawing (block reference/point/attribute/whatever) and got rid of it.
I have locked/turned off all layers I want to keep, did a CTRL+A and hit delete.
I even turned all splines to polylines just in case.

After doing all of this, I still have 9 more "live" layers that do not want to go away.

Now, I'm aware that I have the LAYDEL option (which is what I'll be using here shortly), but I was just curious as to what drawing elements I could have possibly missed so that AutoCAD refuses to purge these layers.

View 9 Replies View Related

AutoCAD 2013 :: Purge Layer On Drawing?

Mar 1, 2013

I am trying to purge a layer on a drawing that the company is going to use as a template, but even that the layer is not the current one and without objects I cannot purge-delete the layer.

View 1 Replies View Related

AutoCAD Dynamic Blocks :: Cannot Purge Block

Aug 8, 2013

I am having an issue purging a block from my drawing. Here are the steps I have taken:

-I first used the qselect command to select the block(s), there were 4 in the drawing.

-Then I erased all four of them

- I tried to purge the block but it was not showing up in the unreferenced block list.

- I went back into the qselect to find the block to see if there were any more, and the block did not even show up on the list

- I then tried to edit the block using bedit. After closing the block editor it told me that there were still 4 block references. This had me confused because I had already deleted the the four existing blockreferences from the drawing??

- I then tried to rename using the rename command and then attempt to delete it, and no luck.

I do not know what to do at this point.

View 9 Replies View Related

AutoCAD Architecture :: Purge PDF Files From Drawing?

Jun 14, 2011

how to purge PDF files from your Drawing? I tried using the Image command, but it doesn't list PDF underlay's anymore. I've tried just using the purge command but it doesn't show up there either. The way I know it's there after I delete it is, (1) The drawing file is STILL really slow and (2) it shows up as a required file when I do an etransmit. Which also makes the etransmit file huge as well.

how to purge them without wblocking the file to itself?

View 6 Replies View Related

AutoCad :: How To Purge Unused Scales In Xrefs

Sep 16, 2008

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!

View 9 Replies View Related

AutoCAD Inventor :: In Vault- Purge Looks Dumb

May 15, 2012

It seems in Vault 2012 - the "Purge" looks dumb- I mean I cannot function it.Another, when I apply "Delete", it asks me to delete all the versions.I want to delete some old versions instead of the whole versions. I just got stuck there now.

View 3 Replies View Related

AutoCad :: Different Linetypes In Different Viewports

Dec 7, 2011

In one viewport i have a contour drawn as a dashed line. to show the item is hidden.In Another viewport i freeze all layers 'above' this item leaving only the item in the dashed line. is is possible, without copying the line to have the line come through in the later viewport as a continuous line, but remain in the first viewport as dashed?

View 1 Replies View Related

AutoCad 2D :: Customized Linetypes For RW And PL

Feb 27, 2013

Need some customized linetypes for RW, PL, and so on that I can use?

View 9 Replies View Related

AutoCad 2D :: Get A Circle Into Linetypes

Oct 14, 2013

I am using the "Make Linetype" command under the express tools to make a linetype with a single circle in it, but its not working. I tried making my circle a polygon but that didn't work either. How do I get a circle into my linetype?

View 9 Replies View Related

AutoCad :: Getting Linetypes To Show Up?

May 3, 2011

I am having trouble getting my linetypes to show up. Many are set by layer and are not showing up. How to toggle it so they show up.

View 8 Replies View Related

AutoCAD 2010 :: Windows Restarted After Purge Command

May 11, 2012

Using purge command in AutoCAD 2012 , my windows get restart with blue dump.

I tried everything including..digonestic mode, 3gb swithing ,windows update, dot net update, windows firewal/antivirus desbled.

some times while using purge command its give a display error(attached ).I tried using windows 64 bits, but problem remains the same.

View 3 Replies View Related

AutoCAD 2013 :: Crashes When Purge Or Recovering Drawing?

Sep 18, 2012

I can not run purge or recover on the attached drawing file or it will crash autocad. When I run audit it says no errors are found. I don't have access to older versions of ACAD to test this on and the file is dated back in 2008 but not sure which version of ACAD it was created in.

This is the only copy of the file. I've opened it and added some linework and saved it as a newer drawing only to have the same results. The attached file is the unaltered version. I have one other file that I'm having the same issue with as well.

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Purge On Exit

Jan 10, 2012

I am trying to "purge on exit" when I close a drawing. I have changed the SAVE commands within the CUI to accomplish a purge on save as well as changed the CLOSE commands in the CUI.

What I want to do is modify the red X close option for the actual window or program close X in the top right corner of the screen.

View 9 Replies View Related

AutoCAD 2010 :: Edit Xref In Place - Purge?

Jan 26, 2012

We have about 300+ dwg's on which somebody edited the 'xref in place'.

This has caused the particular dwg files to expand from  300k to 4mb.

Purging seems to have no effect. Is there any way of reducing the file size on these back to normality?

View 2 Replies View Related

AutoCAD Inventor :: Texture Purge To A Style As Bump

Jan 14, 2011

I was messing around with style editing, and added a texture map to a style as a bump.  The bitmap I selected, however, was on my hard drive, not in the project search path.  Now that I would like to check this part into the vault, I get the attached error message.  I have since tried deleting, copying, moving the file from that hard drive to a legitimate search library.... removed it from every style it was used in, purged all styles, basically deleted it from every place I can find it, including going through the model tree and checking each individual feature (over 50!) to try to find it.  It is still in the file somewhere, and I can't seem to figure out where.  Is there no way to find and purge this offending bitmap?

View 4 Replies View Related

AutoCAD Visual LISP / AutoLISP :: DGN Purge For 2012

Sep 5, 2013

AutoDesk released the dgnpurge tool a while back but it only applies to 2013 and 2014 and i have 2012. There appears to be a solution dgn purge 2012 on the swamp website, but the attachment is not there and there is some sort of C# code or something beyond my knowledge of autocad.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved