11namespace Revit_glTF_Exporter
22{
3- using System ;
4- using System . IO ;
5- using System . Windows . Media . Imaging ;
3+ using Autodesk . Revit . DB ;
64 using Autodesk . Revit . UI ;
75 using Autodesk . Windows ;
8- using Autodesk . Revit . DB ;
9- using RibbonPanel = Autodesk . Revit . UI . RibbonPanel ;
6+ using Common_glTF_Exporter ;
7+ using Common_glTF_Exporter . Service ;
8+ using System ;
9+ using System . IO ;
1010 using System . Linq ;
11- using System . Windows . Media ;
1211 using System . Windows ;
13- using Common_glTF_Exporter . Service ;
12+ using System . Windows . Media ;
13+ using System . Windows . Media . Imaging ;
14+ using RibbonPanel = Autodesk . Revit . UI . RibbonPanel ;
1415
1516 /// <summary>
1617 /// External Application.
@@ -20,7 +21,6 @@ public class ExternalApplication : IExternalApplication
2021 public static RevitCollectorService RevitCollectorService ;
2122 private static readonly string RIBBONTAB = "e-verse" ;
2223 private static readonly string RIBBONPANEL = "Export glTF" ;
23- private static readonly string LEIAURL = @"https://e-verse.com/leia-gltf-exporter/" ;
2424 private static string pushButtonName = "Leia" ;
2525 private static string pushButtonText = "Leia" ;
2626 private static string addInPath = typeof ( ExternalApplication ) . Assembly . Location ;
@@ -86,7 +86,7 @@ public Result OnStartup(UIControlledApplication application)
8686 Autodesk . Windows . RibbonPanel panel =
8787 tab . Panels . FirstOrDefault ( panelLeia => panelLeia . Source . Id . Contains ( RIBBONPANEL ) ) ;
8888
89- ContextualHelp contexHelp = new ContextualHelp ( ContextualHelpType . Url , LEIAURL ) ;
89+ ContextualHelp contexHelp = new ContextualHelp ( ContextualHelpType . Url , Links . leiaWebsite ) ;
9090 if ( panel == null )
9191 {
9292 RibbonPanel leiaPanel = application . CreateRibbonPanel ( RIBBONTAB , RIBBONPANEL ) ;
0 commit comments