public Result OnStartup(UIControlledApplication application) { //IL_000f: Unknown result type (might be due to invalid IL or missing references) //IL_001f: Unknown result type (might be due to invalid IL or missing references) //IL_0026: Unknown result type (might be due to invalid IL or missing references) //IL_002b: Unknown result type (might be due to invalid IL or missing references) //IL_0032: Unknown result type (might be due to invalid IL or missing references) //IL_0037: Unknown result type (might be due to invalid IL or missing references) //IL_0038: Unknown result type (might be due to invalid IL or missing references) //IL_004d: Unknown result type (might be due to invalid IL or missing references) //IL_0052: Unknown result type (might be due to invalid IL or missing references) //IL_0057: Expected O, but got Unknown //IL_005c: Unknown result type (might be due to invalid IL or missing references) //IL_005d: Unknown result type (might be due to invalid IL or missing references) //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_007a: Unknown result type (might be due to invalid IL or missing references) //IL_008b: Unknown result type (might be due to invalid IL or missing references) //IL_008c: Unknown result type (might be due to invalid IL or missing references) //IL_0093: Unknown result type (might be due to invalid IL or missing references) //IL_009a: Unknown result type (might be due to invalid IL or missing references) //IL_00af: Unknown result type (might be due to invalid IL or missing references) //IL_00b4: Unknown result type (might be due to invalid IL or missing references) //IL_00b9: Expected O, but got Unknown //IL_00be: Unknown result type (might be due to invalid IL or missing references) //IL_00c0: Unknown result type (might be due to invalid IL or missing references) //IL_00cd: Unknown result type (might be due to invalid IL or missing references) //IL_00df: Unknown result type (might be due to invalid IL or missing references) //IL_00f1: Unknown result type (might be due to invalid IL or missing references) //IL_00f3: Unknown result type (might be due to invalid IL or missing references) //IL_00fb: Unknown result type (might be due to invalid IL or missing references) //IL_00ff: Unknown result type (might be due to invalid IL or missing references) this.m_MyForm = null; string text = "Hot Gear"; try { application.CreateRibbonTab(text); } catch { } RibbonPanel val = application.CreateRibbonPanel(text, "Parameter Explorer"); ContextualHelp contextualHelp = new ContextualHelp(2, "https://hotgearproject.wordpress.com/hot-gear-project-2/"); PushButton val2 = val.AddItem(new PushButtonData("HotGear_IPE", "Instance", HotGearPackage.AddInPath, "InstanceParameterCollector")) as PushButton; val2.set_ToolTip("Collect Project Instance Elements Data"); val2.set_LargeImage(HotGearPackage.RetriveImage("HotGearAllInOne.Resources.Instance.png")); val2.set_Image(HotGearPackage.RetriveImage("HotGearAllInOne.Resources.Instance_s.png")); val2.SetContextualHelp(contextualHelp); val.AddSeparator(); PushButton val3 = val.AddItem(new PushButtonData("HotGear_TPE", "Type", HotGearPackage.AddInPath, "TypeParameterCollector")) as PushButton; val3.set_ToolTip("Collect Project Type Elements Data"); val3.set_LargeImage(HotGearPackage.RetriveImage("HotGearAllInOne.Resources.Type.png")); val3.set_Image(HotGearPackage.RetriveImage("HotGearAllInOne.Resources.Type_s.png")); val3.SetContextualHelp(contextualHelp); return(0); }
public Result OnStartup(UIControlledApplication application) { string text = "Hot Gear"; try { application.CreateRibbonTab(text); } catch { } RibbonPanel val = application.CreateRibbonPanel(text, "Element Merger"); ContextualHelp contextualHelp = new ContextualHelp(2, "https://hotgearproject.gitbooks.io/hotgear-project/content/element_merger.html"); SplitButtonData val2 = new SplitButtonData("HotGear", "HotGear"); SplitButton val3 = val.AddItem(val2) as SplitButton; PushButton val4 = val3.AddPushButton(new PushButtonData("JoinAll", "Join All", HotGearPackage.AddInPath, "JoinAll")); val4.set_ToolTip("Join All Selected Category in Project."); val4.set_LargeImage(HotGearPackage.RetriveImage("HotGearAllInOne.Resources.JoinAll.png")); val4.set_Image(HotGearPackage.RetriveImage("HotGearAllInOne.Resources.JoinAll_s.png")); val4.SetContextualHelp(contextualHelp); val4 = val3.AddPushButton(new PushButtonData("JoinPush", "Join Selection", HotGearPackage.AddInPath, "JoinElement")); val4.set_ToolTip("Join Revit Current Selection Element."); val4.set_LargeImage(HotGearPackage.RetriveImage("HotGearAllInOne.Resources.Join.png")); val4.set_Image(HotGearPackage.RetriveImage("HotGearAllInOne.Resources.Join_s.png")); val4.SetContextualHelp(contextualHelp); val4 = val3.AddPushButton(new PushButtonData("UnjoinPush", "Unjoin Selection", HotGearPackage.AddInPath, "UnjoinElement")); val4.set_ToolTip("Unjoin Revit Current Selection Element."); val4.set_LargeImage(HotGearPackage.RetriveImage("HotGearAllInOne.Resources.Unjoin.png")); val4.set_Image(HotGearPackage.RetriveImage("HotGearAllInOne.Resources.Unjoin_s.png")); val4.SetContextualHelp(contextualHelp); val4 = val3.AddPushButton(new PushButtonData("SwitchPush", "Switch Join Order", HotGearPackage.AddInPath, "SwitchJoinOrder")); val4.set_ToolTip("Switch Join Order of Revit Current Selection Element."); val4.set_LargeImage(HotGearPackage.RetriveImage("HotGearAllInOne.Resources.Switch.png")); val4.set_Image(HotGearPackage.RetriveImage("HotGearAllInOne.Resources.Switch_s.png")); val4.SetContextualHelp(contextualHelp); val4 = val3.AddPushButton(new PushButtonData("CutPush", "Cut Selection", HotGearPackage.AddInPath, "CutElement")); val4.set_ToolTip("Cut Revit Current Selection Element."); val4.set_LargeImage(HotGearPackage.RetriveImage("HotGearAllInOne.Resources.Cut.png")); val4.set_Image(HotGearPackage.RetriveImage("HotGearAllInOne.Resources.Cut_s.png")); val4.SetContextualHelp(contextualHelp); val4 = val3.AddPushButton(new PushButtonData("UnCutPush", "UnCut Selection", HotGearPackage.AddInPath, "UnCutElement")); val4.set_ToolTip("UnCut Revit Current Selection Element."); val4.set_LargeImage(HotGearPackage.RetriveImage("HotGearAllInOne.Resources.UnCut.png")); val4.set_Image(HotGearPackage.RetriveImage("HotGearAllInOne.Resources.UnCut_s.png")); val4.SetContextualHelp(contextualHelp); val4 = val3.AddPushButton(new PushButtonData("About", "About", HotGearPackage.AddInPath, "About")); val4.set_ToolTip("About HotGear Project"); val4.set_LargeImage(HotGearPackage.RetriveImage("HotGearAllInOne.Resources.gear32.png")); val4.set_Image(HotGearPackage.RetriveImage("HotGearAllInOne.Resources.gear16.png")); val4.SetContextualHelp(contextualHelp); return(0); }
public Result OnStartup(UIControlledApplication application) { string text = "Hot Gear"; try { application.CreateRibbonTab(text); } catch { } RibbonPanel val = application.CreateRibbonPanel(text, "Wall Join Controller"); ContextualHelp contextualHelp = new ContextualHelp(2, "https://hotgearproject.gitbooks.io/hotgear-project/content/"); SplitButtonData val2 = new SplitButtonData("HotGear", "HotGear"); SplitButton val3 = val.AddItem(val2) as SplitButton; PushButton val4 = val3.AddPushButton(new PushButtonData("SquareOff", "Join SquareOff", HotGearPackage.AddInPath, "WallJoin_SquareOff")); val4.set_ToolTip("Wall Join Type : SquareOff"); val4.set_LargeImage(HotGearPackage.RetriveImage("HotGearAllInOne.Resources.Square_off.png")); val4.set_Image(HotGearPackage.RetriveImage("HotGearAllInOne.Resources.Square_off_s.png")); val4.SetContextualHelp(contextualHelp); val4 = val3.AddPushButton(new PushButtonData("Butt", "Join Butt", HotGearPackage.AddInPath, "WallJoin_Butt")); val4.set_ToolTip("Wall Join Type : Butt"); val4.set_LargeImage(HotGearPackage.RetriveImage("HotGearAllInOne.Resources.Butt.png")); val4.set_Image(HotGearPackage.RetriveImage("HotGearAllInOne.Resources.Butt_s.png")); val4.SetContextualHelp(contextualHelp); val4 = val3.AddPushButton(new PushButtonData("Miter", "Join Miter", HotGearPackage.AddInPath, "WallJoin_Miter")); val4.set_ToolTip("Wall Join Type : Miter"); val4.set_LargeImage(HotGearPackage.RetriveImage("HotGearAllInOne.Resources.Miter.png")); val4.set_Image(HotGearPackage.RetriveImage("HotGearAllInOne.Resources.Miter_s.png")); val4.SetContextualHelp(contextualHelp); val4 = val3.AddPushButton(new PushButtonData("AllowJoin", "Join Allow", HotGearPackage.AddInPath, "WallJoin_Allow")); val4.set_ToolTip("Wall Join : Allow"); val4.set_LargeImage(HotGearPackage.RetriveImage("HotGearAllInOne.Resources.Allow.png")); val4.set_Image(HotGearPackage.RetriveImage("HotGearAllInOne.Resources.Allow_s.png")); val4.SetContextualHelp(contextualHelp); val4 = val3.AddPushButton(new PushButtonData("DisallowJoin", "Join DisAllow", HotGearPackage.AddInPath, "WallJoin_Disallow")); val4.set_ToolTip("Wall Join : Disallow"); val4.set_LargeImage(HotGearPackage.RetriveImage("HotGearAllInOne.Resources.DisAllow.png")); val4.set_Image(HotGearPackage.RetriveImage("HotGearAllInOne.Resources.DisAllow_s.png")); val4.SetContextualHelp(contextualHelp); val4 = val3.AddPushButton(new PushButtonData("About", "About", HotGearPackage.AddInPath, "About")); val4.set_ToolTip("About HotGear Project"); val4.set_LargeImage(HotGearPackage.RetriveImage("HotGearAllInOne.Resources.gear32.png")); val4.set_Image(HotGearPackage.RetriveImage("HotGearAllInOne.Resources.gear16.png")); val4.SetContextualHelp(contextualHelp); return(0); }
public Result OnStartup(UIControlledApplication application) { //IL_0008: Unknown result type (might be due to invalid IL or missing references) //IL_0018: Unknown result type (might be due to invalid IL or missing references) //IL_001f: Unknown result type (might be due to invalid IL or missing references) //IL_0024: Unknown result type (might be due to invalid IL or missing references) //IL_002b: Unknown result type (might be due to invalid IL or missing references) //IL_0030: Unknown result type (might be due to invalid IL or missing references) //IL_003b: Unknown result type (might be due to invalid IL or missing references) //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0041: Unknown result type (might be due to invalid IL or missing references) //IL_0042: Unknown result type (might be due to invalid IL or missing references) //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: Expected O, but got Unknown //IL_004d: Unknown result type (might be due to invalid IL or missing references) //IL_004f: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Unknown result type (might be due to invalid IL or missing references) //IL_006a: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Unknown result type (might be due to invalid IL or missing references) //IL_0071: Unknown result type (might be due to invalid IL or missing references) //IL_007e: Unknown result type (might be due to invalid IL or missing references) //IL_0090: Unknown result type (might be due to invalid IL or missing references) //IL_00a2: Unknown result type (might be due to invalid IL or missing references) //IL_00a4: Unknown result type (might be due to invalid IL or missing references) //IL_00ab: Unknown result type (might be due to invalid IL or missing references) //IL_00c1: Unknown result type (might be due to invalid IL or missing references) //IL_00c6: Unknown result type (might be due to invalid IL or missing references) //IL_00cb: Unknown result type (might be due to invalid IL or missing references) //IL_00cd: Unknown result type (might be due to invalid IL or missing references) //IL_00da: Unknown result type (might be due to invalid IL or missing references) //IL_00ec: Unknown result type (might be due to invalid IL or missing references) //IL_00fe: Unknown result type (might be due to invalid IL or missing references) //IL_0100: Unknown result type (might be due to invalid IL or missing references) //IL_0108: Unknown result type (might be due to invalid IL or missing references) //IL_010c: Unknown result type (might be due to invalid IL or missing references) string text = "Hot Gear"; try { application.CreateRibbonTab(text); } catch { } RibbonPanel val = application.CreateRibbonPanel(text, "Family Extractor"); ContextualHelp contextualHelp = new ContextualHelp(2, "https://hotgearproject.gitbooks.io/hotgear-project/content/6.family_extractor.html"); SplitButtonData val2 = new SplitButtonData("HotGear", "HotGear"); SplitButton val3 = val.AddItem(val2) as SplitButton; PushButton val4 = val3.AddPushButton(new PushButtonData("FamilyExtractor", "Family Extractor", HotGearPackage.AddInPath, "FamilyExtractor")); val4.set_ToolTip("Extractor All Selected Category Family in Project."); val4.set_LargeImage(HotGearPackage.RetriveImage("HotGearAllInOne.Resources.FamilyExtractor.png")); val4.set_Image(HotGearPackage.RetriveImage("HotGearAllInOne.Resources.FamilyExtractor_s.png")); val4.SetContextualHelp(contextualHelp); val4 = val3.AddPushButton(new PushButtonData("About", "About", HotGearPackage.AddInPath, "About")); val4.set_ToolTip("About HotGear Project"); val4.set_LargeImage(HotGearPackage.RetriveImage("HotGearAllInOne.Resources.gear32.png")); val4.set_Image(HotGearPackage.RetriveImage("HotGearAllInOne.Resources.gear16.png")); val4.SetContextualHelp(contextualHelp); return(0); }