Skip to main content

How to load a program each time AutoCAD starts up

Hello friends,

Finally I have some free time to continue my blogging...so I am continuing my thread on Programming a Structural Section Drafting Program in VBA for AutoCAD. Remember the questions that I raised in previous thread about program....(Here)... I am going to demonstrate the (4) th question's solution which is pretty simple but very important for newbies....

How to load a program each time AutoCAD starts up and avoid loading the program each time you restart AutoCAD.

1. Go to Tools---AutoLISP----Load Application submenu

or

Tools---Load Application submenu

Alternatively you can use the command line appload






2. You will see a file browse dialog box asking you to locate the application file...similar to image below:


3. Now observe,

Red box number 1
 
Note: a. The type of files you can load into AutoCAD in red box number 1 in image above.

Note: b. We use file with extension .dvb for loading a VBA program file which contains our code n other data for program to work right.

Note c. The popular file formats are:
ObjectARX(*.arx)  - which I dont have much clues...!!! More info on wikipedia here.

AuTOLISP (*.lsp) - These are files in text formats containing code programmed 
based on LISP programming language.

Visual LISP Executable(*.vlx) - These are developed in Visual Lisp Program integrated in AutoCAD itself.

and my favorite VBA files(*.dvb) - We'll discuss about these in coming posts.

Red box number 2

Here lies the answer and the aim of this post.


There is an area called start-up suite on the dialog box with a button called 'Contents...'

 4. Click the button called 'Contents...' in start-up suite area to open another dialog box as seen in image below:


5. Click the 'Add...' button and a file pick dialog box opens....browse to required program file on your computer or network and the file will appear in the start-up suite list something like image below.
Great...You have successfully added the program file and its path, if it apears in the list of startup suite like image above.

Note: You can load multiple program files in the list and all will be loaded each time AutoCAD starts up. Also you can remove any program you want from the list using 'Remove' button...

6. Finally close all the dialog boxes opened so far, accepting the changes if asked for.

7. Restart the AutoCAD and you are done...!!!

Comments

  1. I need Links to solidworks compatible parts library for electrical and mechanical components?

    Solidworks Training

    ReplyDelete
  2. Sorry Sir, I would like to help you out but I dont have any links for what you want.

    ReplyDelete

Post a Comment

Popular posts from this blog

Using Excel VBA Macro to Add Numbering Bullets to Any Data

N.B.: For Code Scroll Down :) Hello Everyone, This is Sachin K here again, Today while at work one of my colleague got into a trouble. He entered a lot of data into a spreadsheet like names of person and data related to their documents in front of their name. Now all of a sudden he needs to insert a numbering bullets in various rows, similar to one can find in MS Word. Oh !!! Its not there !!! I thought I could write a simple VBA code instead and make things easy for him. Here is the situation (Screenshot 1): You have data in row as seen below from Row No. 2 to Row No. 13. You want to insert 1) , 2), 3), ..., etc. in front of each data in the same cells as they are. It easy to put serial in empty cells in front of the data but remember that's not what we want here. Screenshot 1 : The Problem Here is the Solution (Screenshot 2): The VBA Code runs and gives a result as shown in screenshot below Screenshot 2 : The Solution The VBA Code and Form used (Scree...

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...

Steel Drawing program to aid Drafting in VBA for AutoCAD

Xmas Greets to All!!! :), Hello there, Hmmm, its been a good time in office doing some designs and drafting as well for some good projects. The idea came to my mind for reducing drafting time and do it a bit easier way....i developed this tiny program that helps draw plan view and front view of some common I-Beam sections in AutoCAD and i don't need to keep looking at steel table every time for looking out for values of web thickness, flange width and all.....later searching internet i came to know that there exists a much advanced program on the same idea....but we need to pay for using it....and is simply much more powered than my program...but i learnt many things while doing this one....!!! So, here is how my program works....yuppp pal it really does :), 1. The VBA program is loaded automatically each time AutoCAD is started... 2. There is a simple GUI attached which enables user to choose the library of the steel sections.....viz Indian, British.....for now i have just loaded...