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

create polylines with vba from a set of 3d coordinates

  • Thread starter Thread starter cola967
  • Start date Start date

cola967

Guest
Hello everyone, my name is rotten and I am new to this forum. I press that I cable well enough with vba for excel but not as well with vba for autocad. My question [e mi scuso anticipatamente se potrà sembrare banale] is the following: given a set of coordinates [punti XYZ] che ho su un file .txt [e che ho già risolto come portarli su un file .xsl o xslm] is it possible to then read this autocad file and let it automatically draw the closed polylineea?
point values are made in this way by laser measurement [e sono migliaia...]:
358703.15 5061502.06 778.97 402
5061502.82 778.60 402.
358998.07 5061587.28 726.60 402
358998.50 5061587.38 726.42 402
358999.41 5061587.58 725.48 402
5061587.68 725.24 402

I read and read all the vba forum for autocad without finding anything from which to take the necessary point to go: I also downloaded two great guides and while I place the request I am studying the online guide of vba

thank you all for the excellent work you do [shape, onda e non si offenda nessuno se cito loro due], I look forward to advice, comments and/or suggestions
 
then, from the excellent autocad guide I managed to recover the code needed to write polylinea to video.. .
now I would like to automate the process, for example with a program in vb6 apro in the background excel, I make it edit the data from the .txt file and pass them to autocad

Here is the doubt: how do I pass a macro of autocad excel? ? ?

thanks for the help
 
but excuse, open the excel to change the data of the txt file, autocad vba fault, is identical to the excel vba, instead of memorizing the data in the cells uses a matrix.

bye
 

Forum statistics

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

Members online

No members online now.
Back
Top