Shape
Guest
You know what version of autocad uses?
I have no way to verify why autocad 2000 and out of range from mo, I tried with 2008,2009 and 2010 and it works all, try so there are two files, tell him to try with these....uses 2000 in Italian
autocad lt does not support any kind of macros I am sorryI'm aurel.
I'd like to serve myself...
but we use autocad lt 2009
and excel2003.
It's not right.
Thank you.
I'm sorry I'm late, but I've been a little bit taken...shape,
Thank you for helping me with this disusion, I treasured your macro in vba, but I would like to know another thing.
I have a set of blocks with attributes that delimite a series of rooms within a dozen buildings scattered within an area, my "tag" block contains the number of the room the type of floor belonging to the building etc., I can export and data of the attributes in a file of excel, and I can with your vba to zoom in near the room that contains the block with the attributes at this point comes the question
can keep data updated in excel file by changing data in autocad blocks?
and still it is possible to keep the attributes updated within autocad blocks by changing the rows of the file in excel?
if you well otherwise I have to put them to make a program in lisp through the aolisp routines that are able to develop and I put more than a week of time
thanks in advance and hello from acitano
Hi.as required by the user deleted button and the line is activated by double_clicik on the line corresponding to the desidarated view.
entered confirmation message operation to avoid undesirable macro launches. Selecting yes follows, to cancel no
modified location columns
here you already find the macro without protection http://www.cad3d.it/forum1/showpost.php?p=143317&postcount=19It's a very simple example, but to make the connection between the two is a good start.Hi.
I wanted to ask if it was possible to see the programming language you used to make this macro. I'd be grateful, since I'm trying to learn how to program myself in the excel-acad environment.
Thank you.
mk
Thank youhere you already find the macro without protection http://www.cad3d.it/forum1/showpost.php?p=143317&postcount=19It's a very simple example, but to make the connection between the two is a good start.
Hello, everyone!
I read you a lot and thank all the users who write in the forum.
I don't understand anything about vba (but I started studying! )
I did several tests with scripts, research and research with google,
But nothing, I'm at a dead point.
I am trying to connect an excel file with autocad:
I wish I could. connect the labels of the cards and some legends to a excel sheet.
I have 400 dwg files and related files to update and edit, change name.
I need an elastic structure that allows me to change the values of tags cambiando solo l'excel and automatically update all *.dwg files
I have prepared my beautiful excel file with all necessary fields, carts with blocks with attributes, now I miss the next step: fill out the attributes of autocad blocks with excel values.
I know I ask too much, but in an ideal world:
I would like the value of the "dis1" block attribute within the file: "tav01.dwg" read the c file: processed list. xls/sheet ee/ searched in line 2 of this file the column "dis1" then in the column "filename" crossed the data "tav01.dwg" and returned the corresponding value.
View attachment 33022Is that too much to ask? Is it feasible?
I made some attempts using lisp to replace attributes and using data links managers, but I never got what I want.
What do you think?
Thank you in advance!
I hope, if you want and do not want to make a commercial product, to share your work with the forum. ;-)Bye to all,
with a vba expert colleague, reading around and copying and pasting we created a vba file that makes the wonderful magic of reading from excel and writing on autocad.
so I confirm that you can do it!
Unfortunately it has problems of versions of autocad, of vba libraries and one on all it puts a little to look for the blocks to be compiled because instead of looking only the blocks with attributes analyzes all the objects present in the drawing.
we are trying to make it a stable and easy-to-use program and then we will make more practical masks without having to open the dvb to change the path and name of the excel file or the dwg file path.
Unfortunately we learn little at a time, but we are confident as though a little slow, it works!
Thank you all!