20 | 09 | 2017

Run Project At Startup

AutoCad has a build in feature to search all Support Paths for a project called Acad.DVB. If it finds this project then it will run every code in the ACADstartup Routine. So if you like AutoCad to run a project (or other code) then create a routine like the sample below:

Sub ACADStartup()

'*** Code from VisibleVisual.com ********

'Code below will start a project called Project.dvb

Dim ProjectPath As String

ProjectPath = ".\"

Call AcadApplication.RunMacro(ProjectPath & "Project.dvb!Routine")

End Sub

Download the Sample Project This email address is being protected from spambots. You need JavaScript enabled to view it.


Sign up now and upload your code to the website.

Help us to continue.....
Articles View Hits
Latest Articles