• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

edit attributes

  • Thread starter Thread starter kronos
  • Start date Start date

kronos

Guest
Hello everyone,
I have a problem and I hope you can help me. in a drawing I have a set of blocks with anxiety attributes. My question is this: can you access a table in which updating the data of the same dynamically update the attributes in the drawing? do, like, an extract of the data in the table, but that they are connected to the attributes within the drawing in real time. I hope I explained. Thank you so much!
 
Yes more or less is the same request. only that I need to change an excel table or a database or something external to the file and that automatically updates the attributes contained in the drawing.
 
Yes more or less is the same request. only that I need to change an excel table or a database or something external to the file and that automatically updates the attributes contained in the drawing.
bhè a system there would be, create your excel file, connect it to autocad and then in attributes use the data fields to take the values.. Only problem is that if you have multiple blocks with equal pay tags the values can not be different.
 
ok I entered a table in the drawing with the object ole command, and I saw that I can update it dynamically. But I can't associate the attributes with the cell I need.
 
ok I entered a table in the drawing with the object ole command, and I saw that I can update it dynamically. But I can't associate the attributes with the cell I need.
forget the ole objects, they do not serve anything in your case
 
ok I entered a table in the drawing with the object ole command, and I saw that I can update it dynamically. But I can't associate the attributes with the cell I need.
Sorry I took you on the wrong road, I thought the table object had access to the data fields, instead the values cannot be fished.
I believe that the only way is to use lisp or vba to access the linked data.

I also made a test by connecting the data to the table without ole but with the autocad data connection, but also in this case then the values are not accessible.

the syntax to fish data from a table is quite simple in vba:
retval = object.getcellvalue row, col then you can associate it with atext, attribute etc. but you have to write a small program.
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
ciao
Back
Top