Message 1 of 7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I use a bootstrap addin to copy some files as per this thread: the-order-of-addins
The below code is the essence of it. The batch copy process is now a bit lengthy, and is failing as subsequent addins start loading. Is there a way to delay Revit loading additional addins until this batch process is complete?
public Result OnStartup(UIControlledApplication app) { AAA_RevitBootStrap(); String version = app.ControlledApplication.VersionName; //display splash window for 5 seconds SplashWindow.StartSplash(); SplashWindow.ShowVersion(version); System.Threading.Thread.Sleep(5000); SplashWindow.StopSplash(); return Result.Succeeded; } static void AAA_RevitBootStrap() { string lstrDllPath = Path.GetDirectoryName(SystemTools.MyDLLs()); string lstrDllPathFull = lstrDllPath + "\\" + "AAA_RevitBootStrap.bat"; System.Diagnostics.Process.Start(lstrDllPathFull); }
______________
Yes, I'm Satoshi.
Solved! Go to Solution.