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
ADVERTISEMENT
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
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
Jul 8, 2013
Is ther a way to purge all civil 3d styles in a macro or lsp. -purgestyles does not seems to work. I have not worked with lsp for a while just getting back into it again.
I have seen this used for purge (vla-purgeall File) and (vla-AuditInfo File T) for audit can we somethging like this with purgestyles or some how echo off the dialog that comes up. seemslike purgng styles should be just as simple a an audit or purge, but is seem more complex.
View 3 Replies
View Related
Nov 5, 2012
This issue begins when I use the "aectoacad"-command.
The file that I get is rather small. Saving the same file after using audit and -purge commands will make it larger, I don't get it.
I've seen a hotfix but I already have the latest update: [URL]
AutoCad 2011 & Civil3D 2011. Product Version 3.
EliteBook 8560w
Intel i7 CPU 2820QM @ 2.3GHz
8 GB RAM
NVIDIA Quadro 1000M
Windows 7 Enterprise 32 Bit
View 4 Replies
View Related
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
View Related
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
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
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
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
Aug 16, 2012
I need to create a surface representing our site conditions in 1998. I have a drawing which consists of hundreds of "points" which are not really AutoCAD points, they are blocks (little ticks) with elevations assigned. How do I convert this into a surface without manually creating points on top of each block (i.e. clicking hundreds of times).
View 8 Replies
View Related
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
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
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
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
Aug 13, 2013
Is there any way to export blocks INSIDE of another dwg?
Background info:
At my company, we have a series of template .dwgs that get copied every time a new project is created. We update the template files as we create new blocks, styles, etc...
When I'm working in a specific project and create a useful block, it would be nice to export that into the template file without having to open the template drawing and insert/redefine it.
View 4 Replies
View Related
Mar 27, 2013
I was given a C3D file with a road alignment including sections. But the all the road data is a block. Is there a way to retrieve all the data in order for me to do some quanities for my estimates on material volumes. When I go to the prospector tab, there are no points, surfaces, or alignments listed.
View 6 Replies
View Related
Jul 23, 2013
I can't find information for how a block's text is utilized in a style. Here are some details. I have a unitless block with a non annotative text size of 10. This block is part of a style with a size 'use drawing scale' of .12. At 40 scale, it inserts at 4.8 size. If I change the text size to 8 it inserts at 4.8. If I hcange the text size to 5, it inserts at 3.
My question is how are the annotation scale, block text size, and style insert size tied together? OR are there other variables influencing the scaling? I have attached a screen shot of some of my unofficial tests.
Civil 3D 2012 SP4.0 Windows 7 Enterprise 64-bit
C3D 2014 SP1
Dell M6600, Core i7 @ 2.3GHz, 16 GB ram
Dell T3500 workstation, too much ram to post
View 3 Replies
View Related
Oct 23, 2012
I have the follwoing error in C3D R2013.Unable to cast object of type 'Autodesk.AutoCAD.DatabaseServices.BlockTableRecord' to type 'Autodesk. AutoCAD. DatabaseServices.BlockReference'.
When casting from a number, the value must be a number less than infinity..Make sure the source type is convertible to the destination type
My code is:
Imports SystemImports Autodesk.AutoCAD.RuntimeImports Autodesk.AutoCAD.ApplicationServicesImports Autodesk.AutoCAD.DatabaseServicesImports Autodesk.AutoCAD.GeometryImports Autodesk.AutoCAD.EditorInputImports Autodesk.AutoCADImports Autodesk.AutoCAD.ApplicationServices.ApplicationImports Autodesk.AutoCAD.LayerManagerImports.
[code]..
View 3 Replies
View Related
Jan 10, 2013
Civil 3D Newbie here.
I am making a directory full of the blocks we will use for the description key file to use. My understanding is that all of these blocks (manholes, hydrants, trees...etc) should be on layer "0" and of standard size. Manholes should be about 3' in diameter, transformer pads around 4' square....etc. Essentially, 1 = 1 true scale.
Is this true?
View 1 Replies
View Related
Mar 14, 2012
I'm currently working with AutoCAD Civil 3D Land Desktop Companion. The drawing has hundreds of callouts for different elements all over the site. The callouts are in form of a block, with a number inside. The number corresponds to a notes page which lists each detail in chronological order. (nothing new there)
Due to an expanding and shifting job site, notes have been added and deleted. The problem is now we have to go back through and update all the callout blocks. For example: We have 75 notes in our list, if note number 3 changes or is deleted, we need to go through and change all the numbers in all the blocks to reflect the change to the list.
Is there a way to link blocks to an mtext list? or possibly a spreadsheet?
View 2 Replies
View Related
May 9, 2013
I have an access database attached to a blank drawing. The database is a list of existing oil wells. I want to have civil3d (or map) create a custom block (I already have the blocks created) inserted at a coordinate in the database and propagate the other fields in the database into attributes in the blocks. For instance, the first two fields in the database are the x and y. Some of the other fields in the database are the well status and company name. Is it possible for Map to read the first two fields to know where to put the block, then select the block to insert based on wells status and company name, and then complete attributes from the other fields (section, township, range, county, etc) into the block? I'm having a hard time getting my head wrapped around the map3d user's guide talking about topologies, link templates, object classifications, etc.
Dell Precision T3600 - Windows 7 64-bit
NVIDIA Quadro 600
Intel(R) Xenon(R) CPU E5-1607 0 @ 3.00GHz 3.00GHz
8 GB ram - Two 1TB raid
View 3 Replies
View Related
Jul 26, 2012
I am getting hollow blocks in Vieports. When I look in modle space the blocks are filled.
View 4 Replies
View Related
Nov 21, 2013
We use a lot of annotative blocks with several different scales and often find that they have changed from thier standard names to several *u blocks that do not behave annotatively. I have to go in and explode them once or twice to get them back the right name and they show up as individual blocks in different scales. Is there a fix for this?
View 6 Replies
View Related
Jul 8, 2013
I have recently received a drawing in which I found that there are several blocks and plines which are not coplanar the lines and other objects in the drawing. Now, I know that there is the flatten command to use when this stuff happens.. It works fine for 2d simple lines but when it comes to plines and other objects its a bit too cumbersome, and I even tried exploding everything and flattening everything but not even that worked to my likings.
View 6 Replies
View Related
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
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
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
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
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
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