AQucsaiJr Posted March 22, 2011 Posted March 22, 2011 I have a client that has two layouts with two different borders on each drawing. I need both blocks to show the same information, so I am looking for a way to just populate one block and then just copy the information i populated to the other block. Both blocks are named different, and the attributes are in different orders. It would be very easy to make both layouts have the same block but this is not what the client wants and I have to bend to their need. Does anyone know of a way to do this? I tried a VBA called BlockAttrib I found online but it wont let me switch to the other layout to populate the other block. Quote
Grant Posted March 22, 2011 Posted March 22, 2011 Lisp, VBA or Visual lisp would be the best way This post needs to go into the Lisp section. Quote
AQucsaiJr Posted March 23, 2011 Author Posted March 23, 2011 AutoCAD does not have a tool for this?? I was hoping they did. I did find one way of doing it, by using the Express tool Import & Export Attribute Information. I just Export then change the block name in the file created, then Import. Works ok but I would think there would be an easier way. Thanks Quote
BIGAL Posted March 24, 2011 Posted March 24, 2011 Search here for BIGAL I have posted VBA code that will allow you to pick a block but update another or if you know the 2 block names just go and do it. All the code is there its posted a couple of times it works on attrib order not tags but thats easy to work out. Quote
alanjt Posted March 24, 2011 Posted March 24, 2011 ?? http://www.cadtutor.net/forum/showthread.php?48397-Copy-all-attributes...&p=329507&viewfull=1#post329507 Quote
AQucsaiJr Posted March 24, 2011 Author Posted March 24, 2011 @BIGAL--I will look into your VBA... Thanks @alanjt--Unless I am doing something wrong, this Lisp wont work because I have to switch from one layout to another in order to select the second block. Quote
alanjt Posted March 24, 2011 Posted March 24, 2011 @BIGAL--I will look into your VBA... Thanks @alanjt--Unless I am doing something wrong, this Lisp wont work because I have to switch from one layout to another in order to select the second block. You can type "ALL" when the multiple selection comes up, but other than that, no, it won't work for switching layouts (not what I use it for). However, search recent threads, I remember someone asking the same question. Quote
AQucsaiJr Posted March 24, 2011 Author Posted March 24, 2011 Yeah I am going to start searching a little more Thanks. Quote
alanjt Posted March 24, 2011 Posted March 24, 2011 Yeah I am going to start searching a little more Thanks. Look at my recent post link from my profile and scroll down, reading thread titles. It'll be there. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.