Looks like it too late to start one. I wonder why there is no tips & tricks forum under programming community. It would have been a great help for the people here, especially for the beginners. Anyway I don't want to wait until it get started ( Because I don't know whether it will be started or not). I am going to post VBA programming specific tips & tricks here. I request you VBA guys to contribute and share your knowledge here.
Look very eagerly forward to see whether this thread can survive the moderator scissors .
[Edit]
As the thread has started growing, it would be nice to keep an index to quickly overview and access the tips. Thanks everybody for the contribution. Please do not post any copyrighted material here. Hope you leave a suitable title with each tip you submit.
AutoCAD VBA Tips & Tricks Index
[/Edit]
- ArcCos function in VBA
- Changing default lower bound of arrays to 1
- Retrieving an object's defenition data
- Renaming a drawing from the command prompt
- Distance between two points - Function
- Tips on handling Excel application from VBA
- Accessing nested block references
- Passing an array as function / procedure argument
- Clearing grips while using PickFirstSelectionSet
- Identifying between AutoCAD vertical products
- To erase/reset a static/dynamic array
- Converting an attribute definition to text.