2marco3
Guest
Good evening, I know visual basic programming and database management, but I don't know the auto library.
I have to make a project of an electrical system. I have built a database in ms access contain the name of the boxes in the apartment and the connections via corrugated between the various boxes. on cad instead I created the floor plan of the apartment, and creating a box block I placed the boxes in the apartment.
with autocad I connected through the "dbconnect" function to the database and connected the designed boxes with those in the database. to the boxes on cad I also associated the label that reports the id of the boxes in the db.
I would have liked that according to the connections created in the database, cad automatically created various lines that combined the boxes.
I do not ask that I have given the solution, but at least one address, because for now I do not know from which side to do me, how do I connect to the drawing, to identify the boxes in the drawing and to draw lines through vba that start from the center of a box and arrives at the center of the destination box? ? ?
Thank you in advance.
I have to make a project of an electrical system. I have built a database in ms access contain the name of the boxes in the apartment and the connections via corrugated between the various boxes. on cad instead I created the floor plan of the apartment, and creating a box block I placed the boxes in the apartment.
with autocad I connected through the "dbconnect" function to the database and connected the designed boxes with those in the database. to the boxes on cad I also associated the label that reports the id of the boxes in the db.
I would have liked that according to the connections created in the database, cad automatically created various lines that combined the boxes.
I do not ask that I have given the solution, but at least one address, because for now I do not know from which side to do me, how do I connect to the drawing, to identify the boxes in the drawing and to draw lines through vba that start from the center of a box and arrives at the center of the destination box? ? ?
Thank you in advance.