Skip to main content

Posts

Showing posts from November, 2010

VBA to AutoCAD simple program

hello friends, was just wondering it would be gr8 to make a VB program which controls what is drawn in AutoCAD ...... hmmmm interesting.....So i went through developer help in AutoCAD and finally managed to have a basic level of AutoCAD customization and some VB coding which i like to do... So here is the pie.... 1. Tools used were: AutoCAD2010 and VBAIDE which now we need to download from Autodesk website: http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=12715668&linkID=9240618 which enables VBA in AutoCAD2010... Objectives: adding a tool menu in AutoCAD called ICS and put a button as sub menu called 'circle' which when selected will trigger the VB program and i could do some simple stuff in AutoCAD using that VB program... Firstly, how to add a menu in existing AutoCAD window.....i.e. things like File, Edit, View.......Help, Express.....and my own ICS ..... :) For this just give a simple command 'CUI' at the command prompt of the AutoCAD.... window...