I am trying to find out how to populate a startup suite with VBA. Any Ideas?
The purpose of this is to add to a slew of VBA steps that will automatically setup Autocad w/ correct support paths, menus, pc3 path, palette, etc.
|
I am trying to find out how to populate a startup suite with VBA. Any Ideas?
The purpose of this is to add to a slew of VBA steps that will automatically setup Autocad w/ correct support paths, menus, pc3 path, palette, etc.
Create a new project and save it as acad.dvb. In a public module, create a public sub called AcadStartup. Add you setup to this method and it will run at startup. An alternate method would be to use profiles. Create a profile with the correct settings in Options. Change the shorcut used to start acad by adding the /p startup switch followed by the profile name in double quotes. The name is case sensitive. You can save the profile to an arg file and share it with other users.
That's cool that you can edit the shortcut to activate.
I've done sort of what you're saying w/ the acad.dvb. The issue though is that I need to place a few .lsp files in the Startup Suite in the APPLOAD dialogue. Is there a way in VBA to populate that startup suite?
Marc
Depending on your needs, you could use the ACAD.LSP or ACADDOC.LSP files. These are user created files. These files will be executed by AutoCAD upon start up or opening a drawing.Originally Posted by mboyer
If you have more than one each of these two files, the first ones found will be the ones that are loaded.
They do not add anything to the Startup Suite, as far as I know.
If you have a technical question, please find the appropriate forum and ask it there.
You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
jUSt
I am familiar w/ the acaddoc.lsp. That makes sense. If I add the lsp info into this file, it will be loaded automatically just like the startup suite would do.