diff --git a/.gitignore b/.gitignore index 2da75b6..cbb5849 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,10 @@ add-ins/Autodesk.ADN.Toolkit/Autodesk.ADN.Toolkit.Gallery/obj/** add-ins/Autodesk.ADN.Toolkit/Autodesk.ADN.Toolkit.ViewData/obj/** add-ins/Autodesk.ADN.AddIns/Autodesk.ADN.RvtGalleryUploader/bin/** add-ins/Autodesk.ADN.AddIns/Autodesk.ADN.RvtGalleryUploader/obj/** +add-ins/Autodesk.ADN.AddIns/Autodesk.ADN.AcadGalleryUploader/bin/** +add-ins/Autodesk.ADN.Toolkit/Autodesk.ADN.Toolkit.Gallery/bin/** +add-ins/Autodesk.ADN.Toolkit/Autodesk.ADN.Toolkit.ViewData/bin/** +add-ins/packages/** # OS generated files # ###################### diff --git a/add-ins/Autodesk.ADN.AddIns/Autodesk.ADN.RvtGalleryUploader/CmdUpload.cs b/add-ins/Autodesk.ADN.AddIns/Autodesk.ADN.RvtGalleryUploader/CmdUpload.cs index 13619fd..12b0e16 100644 --- a/add-ins/Autodesk.ADN.AddIns/Autodesk.ADN.RvtGalleryUploader/CmdUpload.cs +++ b/add-ins/Autodesk.ADN.AddIns/Autodesk.ADN.RvtGalleryUploader/CmdUpload.cs @@ -23,7 +23,9 @@ public class CmdUpload : IExternalCommand static void OnTranslationCompleted( ViewableResponse response ) { - // Translation complete ... + System.Windows.Forms.MessageBox.Show( + "Translation complete.", + "RVT Gallery Uploader" ); } async static public void UploadToGallery( @@ -143,7 +145,7 @@ var modelResponse url, notifier ); - fProgress.ShowDialog( revit_window ); + fProgress.Show( revit_window ); notifier.OnTranslationCompleted += OnTranslationCompleted; @@ -157,7 +159,12 @@ var modelResponse Util.LogError( msg ); - TaskDialog.Show( "Gallery Upload", msg ); + TaskDialog dlg = new TaskDialog( + "Gallery Upload" ); + + dlg.MainInstruction = "Upload succeeded"; + dlg.MainContent = msg; + dlg.Show(); } }