![]() ![]() ![]() That is to say that, i would want to store more data in case of a rectangle then in case of a circle. The facility to enter the text information should be region specific, for eg if I have a circle and a rectangle on the drawing space, I would want to enter different text information when I click on the drawings separately. I want to display a list box for the user to enter text information in it when I click on a specific region on the this drawing model space, then store this text information in the database. Related to: VBA Autocad How to convert lines in to Polyline I am using customization of AutoCAD using VBA IDE. If you love the screen shots of BoneCraft and are ready to try out the game then follow the link below and check out the special offers on the BoneCraft game. ![]() Autocad Draw Polyline Vba Crack Version OfĬount, A).End(xlUp).Row End With Check if there are at least two points.īoneToob allows users to add their own video clips from BoneCraft and BoneTown. ![]() Option Explicit Option Private Module Sub DrawPolyline() Draws a polyline in AutoCAD using X and Y coordinates from sheet Coordinates.īy Christos Samaras In order to use the macro you must enable the AutoCAD library from VBA editor: Go to Tools - References - Autocad xxxx Type Library, where xxxx depends on your AutoCAD version (i.e.Ī friend of mine, who is surveying engineer, asked me recently if it is possible to draw a polyline in AutoCAD using coordinates from an Excel file.ĭim acadApp As AcadApplication Dim acadDoc As AcadDocument Dim LastRow As Long Dim acadPol As AcadLWPolyline Dim dblCoordinates() As Double Dim i As Long Dim j As Long Dim k As Long shCoordinates.Activate Find the last row.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |