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

automatically insert block attributes from other objects (polyline)

  • Thread starter Thread starter bantu86
  • Start date Start date

bantu86

Guest
Good morning to all,

I write you to have an opinion on the feasibility of an operation that would be very useful to me to do automatically.
trying to be concise and clear, in my dwg, I have a block (the square you see in the picture1) within which are defined some insertable attributes by hand, including "hoehe" which would be elevation. the polylinea that you see in the image2 has automatically between the attributes "elevation", coming from google earth (the polylinea represents the level curve).

My question is the following. is it possible to make sure that the block attribute goes to look for the nearest polyline and "import" the elevated value in the hoehe field?

maybe through a lisp or vba code is possible?

if I have wrong section move my discussion as well.

thanks to those who can help me.

greetings
Matteo
 

Attachments

  • Autocad1.webp
    Autocad1.webp
    14.8 KB · Views: 12
  • Autocad2.webp
    Autocad2.webp
    32.7 KB · Views: 11
hi, for the attribute I don't think you can do such a complex automatism but you could create a text line, "put data field" and give it as an "object" selection by selecting your polylinea and tell it what parameter to indicate. if you move or change that polylinea the value would be updated. Obviously this would be done for every single polyline. Other ways don't come to mind.

p.s.: the world is small!
 
Thank you. at the end I am perfecting from qgis an escamotage going to take the value of quota from the dem that in turn I create from the curves of level. but it works. When I have time, I will try to find a more automated solution.
 

Forum statistics

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

Members online

No members online now.
Back
Top