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

create rectangles in autocad inserting the size in excel

  • Thread starter Thread starter marcuccio HF
  • Start date Start date
hi, I tried the macro with autocad 2007 but it doesn't work, it highlights me (fold) after openingfile2 on the public sub charge_dati_rectngoli, do I have to make some modification? Thank you.
 
good morning to all, a few days ago I introduced myself on this post because I had tried the code proposed by shape and then immediately confirmed by hammer as working, but after trying all my repertoire I had to surrender, to me it does not work, among other things I tried it both with autocad 2007 and also with 2011. If someone was so kind to help me thank you, I find it very interesting to try.
Thank you very much
 
It's likely that you just need to update the autocad library to refer to.
in this case:
- enters the vba editor (e.g. through the pressure of the alt and f11 key combination
- select the "instruments" menu
- click on "references" - a dialog box will open
- uncheck all entries that appear with the word "manca"
- select the correct autocad library: it must be something like "autocad 2011 type library"
- close the window.
I attach an image of what I have in my caseView attachment Immagine.pdfcompile and should not give you error


if it is not this, post the screenshots of what happens in the vba code when the error occurs
 
Hello everyone, I don't know if to create a new discussion, forgive if I place here: I would have the opposite need, that is from a series of rectangles designed in autocad, get a table excel with the following data of rectangles: height, width, center. I need to develop a masonry computing software. thanks in advance
 
the excel file contains the macro to read the rectangles from the dwg and fill out the database with base and height.
in vba, tools/references, add the library related to your autocad version.
greetings
 

Attachments

the excel file contains the macro to read the rectangles from the dwg and fill out the database with base and height.
in vba, tools/references, add the library related to your autocad version.
greetings
Thank you so much!
 

Forum statistics

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

Members online

No members online now.
Back
Top