I have uploaded a couple of additional sample VBA projects to my website that can be downloaded. Below is an overview of the 4 samples that are currently available.
CustomDblClickEdit - This example is used to demonstrate how you can replace the standard functionality of the Double Click Editing inside of AutoCAD of your own handler. This allows for changing the default editors and the way objects are handled. Some what out dated with AutoCAD 2007, but if you are using a previous release and what to customize the actions that are performed when double clicking objects, you will want to check this one out. Last updated for 2004, but will still work with 2005 and 2006 though.
SheetCount - This example is used to demonstrate how to create a custom sheet set property that holds the total number of sheets for all the sheets in the sheet set file. Project was originally developed with AutoCAD 2005 and later tested under AutoCAD 2006. A new version is now available for download that will work with AutoCAD 2007.
SummaryInfo - This example shows how to list, create and modify both standard and custom drawing properties for the current drawing. This is a great example to build on if you want to automate the population of custom properties that you want to use with fields in text objects.
The VBA sample code download page is available by clicking here. Check back once in a while as I will be uploading new samples as I have time to clean some of them up. You never know what might show up on the site. Stuck on trying to figure something out in VBA, just let me know and I will see what I can do about putting together a sample project file for you. Looking for some AutoLISP sample code, well click the jump to access our AutoLISP downloads page.
Sincerely,
Lee
Recent Comments