Author Topic: Start AutoCAD and show splash screen  (Read 3325 times)

0 Members and 1 Guest are viewing this topic.

dann.boy.001

  • Guest
Start AutoCAD and show splash screen
« on: August 24, 2010, 06:55:08 AM »

Hello!

I want to run autocad and show my splash screen and hide autocads
splash.

What is the best way to to this, maybe someone want to share code.

Best regards,
Danijel


huiz

  • Swamp Rat
  • Posts: 919
  • Certified Prof C3D
Re: Start AutoCAD and show splash screen
« Reply #1 on: August 24, 2010, 09:31:58 AM »
You can show your splash screen and then start AutoCAD with the parameter /nologo.
The conclusion is justified that the initialization of the development of critical subsystem optimizes the probability of success to the development of the technical behavior over a given period.

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
Re: Start AutoCAD and show splash screen
« Reply #2 on: August 24, 2010, 02:30:45 PM »
You can also build your program as a stand alone executable that:
a) starts AutoCAD with the window hidden (or find the open session)
b) display your splash screen
c) load your .net application into AutoCAD
d) show the AutoCAD window

although the /nologo option works too ...
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

dann.boy.001

  • Guest
Re: Start AutoCAD and show splash screen
« Reply #3 on: August 26, 2010, 06:46:34 AM »

Thank you!!!

I will try this.

Best regards,
Danijel

n.yuan

  • Bull Frog
  • Posts: 348
Re: Start AutoCAD and show splash screen
« Reply #4 on: August 26, 2010, 10:33:47 AM »
You can also show a form as spash screen in your IExtensionApplication.Initialze().

The reason one want to show Splash screen is when there is a major custom add-ins being loaded into AutoCAD. Sometimes, the add-in suite need to do some initialization, which may take a bit time. Showing splash screen can be used as an indication that the custon apps are loading.

Of course, with this way the splash screen can only be shown when the DLL that has IExtensionApplication implemented is loaded. That is, if your custom app is loaded on Acad startup (by demanding load or by using acad.lsp...), or the splash screen is shown when the DLL is manually loaded (NETLOAD, commandline, menu/toolbar click...). IMO, to associate the splash screen with the initializing/loading your custom apps makes a bit more sense.

dann.boy.001

  • Guest
Re: Start AutoCAD and show splash screen
« Reply #5 on: December 13, 2010, 04:52:58 AM »
You can show your splash screen and then start AutoCAD with the parameter /nologo.

Please,
do you have some example how to pass parametar /nologo when run
AutoCAD application?

Thank you

Danijel

vegbruiser

  • Guest
Re: Start AutoCAD and show splash screen
« Reply #6 on: December 13, 2010, 06:48:57 AM »
This is how I do it when using AutoCAD Mechanical 2011:

(See attached)

You can probably just remove the "/p <<VANILLA>>" part.

Also, the "/b ..\..\bin\debug\start.scr" text is used if you want AutoCAD to open a specific drawing and start a command - netload for instance. (You have to put the necessary details in the start.scr file)