AutoCAD 2010 :: Batch Replace Blocks
Feb 22, 2012
We've recently converted all our microstation drawings to autocad now that the company has decided to go with one cad program company wide. One of the issues we are having after getting the drawings back from the this co. converting them is the cells to blocks conversion inside the drawing. when we open a drawing and see a "Fuse" block for instance and if it a has multiple inserts, it named them:
Fuse
Fuse_1
Fuse_2 etc....
is there a lisp routine or some command that would replace the "Fuse_*" blocks with "Fuse"..I've been searching the forums and know about the express tool Replace Block but need to be able to automate somehow. I thought about trying to rename each of the "Fuse_*" but of course it won't let you rename to a block name that already exists.
View 1 Replies
ADVERTISEMENT
Feb 22, 2012
We've recently converted all our microstation drawings to autocad now that the company has decided to go with one cad program company wide.
One of the issues we are having after getting the drawings back from the this co. converting them is the cells to blocks convertion inside the drawing. when we open a drawing and see a "Fuse" block for instance and if it a has multiple inserts, it named them:
Fuse
Fuse_1
Fuse_2 etc....
is there a lisp routine or some command that would replace the "Fuse_*" blocks with "Fuse"..I've been searching the forums and know about the express tool Replace Block but need to be able to automate somehow.
I thought about trying to rename each of the "Fuse_*" but of course it won't let you rename to a block name that already exists..
View 1 Replies
View Related
Jan 19, 2012
I recently updated our CAD Library to dynamic blocks. In the process of updating our drawings, we realized that we could not use BLOCKREPLACE to replace dynamic blocks with another dynamic block (with new name) once the dynamic element has been changed. I realize that this changes the state of the block and anonymous block names are created.
I need a simple solution so that members of my group can easily replace dynamic blocks with new dynamic blocks.
View 7 Replies
View Related
Aug 2, 2012
We used a bespoke program to convert our drawings to Java applets for web usage. This does not cope with dynamic blocks at present and we have started to receive drawings from our clients using them.
I need to replace this with standard static blocks based on one of two criteria. Either:
1) Replace based on visibility state (have generic chair block with multiple different chair types set by visibility type, need to replace depending on which type it is set as)
2) Replace based on parameter (have table with size set by dimensions, need to replace with static block for each dimension)
View 0 Replies
View Related
Jun 20, 2012
I was trying to alter the standard blocks on the tool palette. How I messed everything up but I basically have two huge problems now.
1. I am missing the necessary default blocks that should be under my edit block directory.....all the Aecb files.
2. Now when I try and put in a receptacle or any other standard block a triangle with an exclamation point shows up upon insertion.
I attached a picture of the "edit block definition" and the troubled symbols.
View 1 Replies
View Related
Feb 11, 2011
I have 20 blocks named "george" in my dwg. Now, I would like to replace only 7 of them with the block "george2". Is there a simple way to do it just by selecting these 7 and replacing their definition without changing the other 13 "george" blocks?
View 9 Replies
View Related
Aug 12, 2011
I have structural drawings and all the rebar is donuts. I've decided to make it a block so I can add it to Tool Palettes. Is there a way (Lisp perhaps) to replace all the donuts in an existing drawing with these new blocks?
View 9 Replies
View Related
Jun 8, 2012
We received a drawing in which every single block has been exploded, they are just a bunch of polylines now. The company we received it from says they don't have a drawing with the original blocks...sure... The long and the short of it is that we need to replace every exploded block with our standard blocks. Is there some crazy way to search and replace a pattern of lines or basically, search and replace the exploded blocks. A lisp routine, anything. There are thousands of exploded blocks by the way, thousands.
View 3 Replies
View Related
Apr 29, 2013
The standard AutoCAD Find & Replace dialog doesn't seem to work on a dynamic block's visibility states. I have quite a few blocks with 8-10 visibilities in each one that I need to change.
View 3 Replies
View Related
Oct 5, 2011
I am looking for a routine that will replace all blocks named "DgnMisc_nodepoleind" with a block named "DgnMisc_nodepoleind2" keeping the insertion point. I could use (command "-insert" "DgnMisc_nodepoleind=Y:/ACAD2007/DA settings/Library_new_scale1/DgnMisc_nodepoleind2.dwg" NIL ) but my problem is that the block I want to replace is used on two different layers and I only want to replace the ones on layer "TPSYM01".
View 3 Replies
View Related
Jul 11, 2013
1) I want to search the drawing for the pre-define block names given in the program.
2) If the are there, I want to replace them with the new version.
3) Program replaces the first block it finds, then tries to insert that block.
View 9 Replies
View Related
Jun 20, 2012
I was able to write a LISP that replaced each node with a block of my choice.However, now I need to find a way now to replace the blocks with different blocks.Each point shares the exact same block called "PILE". Different blocks are on different layers and have 11 different colors. I'd like to replace blocks on layer 1 with a block called "1" and blocks on layer 2 with a block called "2" and so on.I was hoping there would be an easy way to do this in LISP, but I've been unable to get any of my scripts to work.
I've attached a link that visualize what my drawing is currently looking like: [URL] ......
View 2 Replies
View Related
Jul 17, 2013
I having real difficulty finding a lisp that will find and replace blocks. There are plenty out there and AutoCAD 2013 and lower has a Find and Replace Blocks. However, the frustrating catch is I can seem to find a routine that will allow me to replace only those blocks that I select with a selection set of my choosing. The built in function replaces all of them and will not let you exclude some. We have PID drawings that we want to replace valves on, but not all valves. We don't want to rename. We don't need to BEDIT the existing block.
1) Pick group of blocks
2) specify a new block that will replace all instances of old block
3) replace inserted block with different block. Leaving others alone.
I'm thinking this should be easy, but my search has failed. The blocks in question are not dynamic or attributed either.
View 3 Replies
View Related
Oct 2, 2013
I have hundreds of images that all have the same watermark (more or less but not exactly in the same place). It can easily be removed with the paint bucket with the default settings, the watermark is light grey, the pictures (JPGs) are black and white (a scanned book). But the sheer number of images makes it a gigantic effort to do it by hand.
View 6 Replies
View Related
Jul 26, 2012
I am using Express Tools Block Replace how do I keep the blocking being replace from rotating to the orientation of the block using for replacement?
View 2 Replies
View Related
Jul 27, 2012
how to add the 'Enter' or 'Return' key using find and replace on mtext? If you look at the properties of mtext you see a P for a line return (or 'Enter') but if you type P in your find and replace it will replace it with '\P' which will actually show you a 'P' in your mtext. how to get a hard return?
View 1 Replies
View Related
Jan 17, 2012
I am trying to replace the first 2 numeric digits. I'm pretty sure this is how I used to do it and it worked great before.
View 8 Replies
View Related
Aug 2, 2012
I have a drawing with numerous text fields that I'd like to replace. For example, there are 30 different text fields showing a dimension of 19.298". I need to replace all of them so that they show 19.125" instead. Is there a quick way to swap out the text without having to do it one field at a time? Is there something that would allow me to do it globally rather than individually?
View 5 Replies
View Related
Jun 21, 2013
How I can handle the FIND command in script
So in 600 drawings 20 different texts, change in MTEXT, TEXT and ATTRIBUTES
View 6 Replies
View Related
Feb 29, 2008
I would like to batch rename all blocks in a drawing to NEWJOB01, NEWJOB02 ,etc. I can't use wildcards with RENAME command because the old names don't always have a common name. I prefer to use a lisp routine.
View 9 Replies
View Related
Sep 30, 2013
I need to export many library elements (conveyors) which are saved in individual blocks to mass objects. I need to convert them to IGES after that.
Until now I have to open every single block and convert all of it to a mass element. This simply takes too long.
Is it possible to write a small script or program which converts all blocks or the selected blocks to mass elements?
- 2500K @ 4.2Ghz- 8GB - Radeon7970 -
- Xeon 1230V2 @ stock Ghz- 32GB - Quadro 2000 -
View 7 Replies
View Related
Oct 8, 2013
I have 200+ page drawings and need to open each dwg to erase same block and text strings. Any way to batch erase same blocks and strings in multi-pages?
View 7 Replies
View Related
Sep 18, 2013
I am wondering if there is any way to 'find & replace' a carriage return; specifically to add one in. I have figured how to take it out.
the reason I want to do this, is because 'tcount' will increment, by the amount specified, for each line of mtext; I have multiple lines of 2 line mtext, and I want to 'tcount' one number in the first line of each instance of mtext.
Now, I know I can do it manually, and in fact I would have had it done almost an hour ago if had, but this issue crops up every now and again, where if there was a fix or work-around to the 'tcount' issue (such as somehow inserting a carriage return) my efficiency could be increased.. for example I could get through renumbering 30 instances of 2 or 3 line mtext across 15 different drawings..
View 9 Replies
View Related
May 16, 2013
In autoCAD 2013 i have a sequence of multiple text fields e.g. (MP01, MP02, MP03, MP04..etc) i need to alter the numbers to other numbers. I used a command a few months ago but i cant remember what is was called! It selected the x/y direction and incremented the existing sequence to my chosen sequence (just incrementing the last numerical bits and leaving the text the same). Ive tried TCOUNT command and i couldn't get that to work with the text fields.
View 1 Replies
View Related
Feb 17, 2012
In AutoCAD Architecture 2012 (AutoCAD 2012) I want “Entire drawing” selected by default in “Find where:” in “Find and Replace Dialog Box” instead of “Current space/layout”.
View 1 Replies
View Related
Jun 20, 2013
I have a dwg with (dynamic) blocks and when i do a find and replace, it finds ivisbile text that aren't there. i did allready purge, there is no freezed or off layer. even when i copy the whole drawing into another empty dwg it appears.
View 2 Replies
View Related
Mar 8, 2012
I am looking for a lisp that can run a block replace on multiple drawings.
Something similar the the express tools block replace I suppose, just able to process many drawings at once.
I'm trying to change attributed approval stamps to attributed inter squad stamps and don't want to have to go through all 150 drawings and do it myself.
View 1 Replies
View Related
Mar 23, 2012
I need to lay one of our existing blocks ontop of every power outlet on a floorplan (the power outlets are currently shown as a simple shape (eg. either a rectangle, triangle or circle) with text next to it.
There are hundreds of power outlets, so if there is a lisp routine for replacing any part of the power outlet with the block, eg. replacing text/mtext with a block or replacing a pline with a block.
I have found a very successful lisp routine for replacing circles with blocks, but this obviously only works on the power outlets that are shown as circles. So a simpler way of looking at it could be a lisp for drawing a circle around mtext/text then I could simply use the circle to block lisp to place the blocks.
View 5 Replies
View Related
Feb 23, 2012
i have a csv file that has 6 columns, PNEZD and a 6th column which is my notes..i type a star in the data collector after my code, make my note, and then find/replace after i export it and replace star with a column..that gives the desired 6th column in excel that my boss wants....problem is he also wants to see that next to the Full Description in Civil 3d 2012...i tried adding a Point File Format with a 6th Column, User Defined, String for type...named the column Notes...but if i go to edit the point there is no 6th column in the Tool Palette.
View 1 Replies
View Related
Feb 1, 2012
When I do a Batch plot, I am getting an error message stating that my background plotting is on. I can't do any batch plotting with this on. How do I turn this off?
View 2 Replies
View Related
Jul 5, 2011
I am trying to plot over 100 drawings to PDF. They are mechanical drawings and the details need to be clear. I tried a batch plot, but when printed in 11x17, everything is a bit fuzzy on the PDF. I tried a PDF convertor, and it was very clear, but it put a large, "Free Trail" logo in the center, ha.
View 7 Replies
View Related