Hello all,
I am quite experienced in using VBA with Excel, however I have never used it before with AutoCAD. My experience with AutoCAD is lijmited however I have used it.
I use Autodesk ADT 2005.
A few questions:
1) is there a good resource of all the keywords somewhere, for terminology purposes?
2) Does AutoCAD distinguish between the objects in a drawing (inserted, lines, etc) or all they all "objects"?
and a specific question: How difficult would it be to create a program to go through a large AutoCAD drawing and check each object's size (in memory), and delete objects larger than a given size?
Something like
Code:
Sub test()
Dim varObject As Object
For Each varObject In Me.AcadDocument
'check size, delete if too large
Next varObject
End Sub
I could do this quite easily in Excel VBA but am quite confused here I know that me.acaddocument is incorrect syntax too, but am not sure how to fix it.
Many thanks