diff --git a/AVF Manager/src/HOK.ViewAnalysis/HOK.ViewAnalysis.sln b/AVF Manager/src/HOK.ViewAnalysis/HOK.ViewAnalysis.sln deleted file mode 100644 index fbc62df1..00000000 --- a/AVF Manager/src/HOK.ViewAnalysis/HOK.ViewAnalysis.sln +++ /dev/null @@ -1,46 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.26403.7 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HOK.ViewAnalysis", "HOK.ViewAnalysis\HOK.ViewAnalysis.csproj", "{36BDE53B-A6F1-4C66-9228-94AAF8340006}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - 2018|x64 = 2018|x64 - 2019|x64 = 2019|x64 - 2020|x64 = 2020|x64 - 2021|x64 = 2021|x64 - 2022|x64 = 2022|x64 - 2023|x64 = 2023|x64 - 2024|x64 = 2024|x64 - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {36BDE53B-A6F1-4C66-9228-94AAF8340006}.2018|x64.ActiveCfg = 2018|x64 - {36BDE53B-A6F1-4C66-9228-94AAF8340006}.2018|x64.Build.0 = 2018|x64 - {36BDE53B-A6F1-4C66-9228-94AAF8340006}.2019|x64.ActiveCfg = 2019|x64 - {36BDE53B-A6F1-4C66-9228-94AAF8340006}.2019|x64.Build.0 = 2019|x64 - {36BDE53B-A6F1-4C66-9228-94AAF8340006}.2020|x64.ActiveCfg = 2020|x64 - {36BDE53B-A6F1-4C66-9228-94AAF8340006}.2020|x64.Build.0 = 2020|x64 - {36BDE53B-A6F1-4C66-9228-94AAF8340006}.2021|x64.ActiveCfg = 2021|x64 - {36BDE53B-A6F1-4C66-9228-94AAF8340006}.2021|x64.Build.0 = 2021|x64 - {36BDE53B-A6F1-4C66-9228-94AAF8340006}.2022|x64.ActiveCfg = 2022|x64 - {36BDE53B-A6F1-4C66-9228-94AAF8340006}.2022|x64.Build.0 = 2022|x64 - {36BDE53B-A6F1-4C66-9228-94AAF8340006}.2023|x64.ActiveCfg = 2023|x64 - {36BDE53B-A6F1-4C66-9228-94AAF8340006}.2023|x64.Build.0 = 2023|x64 - {36BDE53B-A6F1-4C66-9228-94AAF8340006}.2024|x64.ActiveCfg = 2024|x64 - {36BDE53B-A6F1-4C66-9228-94AAF8340006}.2024|x64.Build.0 = 2024|x64 - {36BDE53B-A6F1-4C66-9228-94AAF8340006}.Debug|x64.ActiveCfg = Debug|x64 - {36BDE53B-A6F1-4C66-9228-94AAF8340006}.Debug|x64.Build.0 = Debug|x64 - {36BDE53B-A6F1-4C66-9228-94AAF8340006}.Release|x64.ActiveCfg = Release|x64 - {36BDE53B-A6F1-4C66-9228-94AAF8340006}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {50B09A65-3EDC-450E-B502-8187DF510ED7} - EndGlobalSection -EndGlobal diff --git a/AVF Manager/src/HOK.ViewAnalysis/HOK.ViewAnalysis/HOK.ViewAnalysis.csproj b/AVF Manager/src/HOK.ViewAnalysis/HOK.ViewAnalysis/HOK.ViewAnalysis.csproj deleted file mode 100644 index a9602119..00000000 --- a/AVF Manager/src/HOK.ViewAnalysis/HOK.ViewAnalysis/HOK.ViewAnalysis.csproj +++ /dev/null @@ -1,197 +0,0 @@ - - - - - Debug - x64 - {36BDE53B-A6F1-4C66-9228-94AAF8340006} - Library - Properties - HOK.ViewAnalysis - HOK.ViewAnalysis - 512 - - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - 2023 - v4.8 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - 2023 - v4.8 - - - true - bin\2018\ - TRACE;DEBUG;RELEASE2018 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2018 - v4.5.2 - - - true - bin\2019\ - TRACE;DEBUG;RELEASE2019 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2019 - v4.7.1 - - - true - bin\2020\ - TRACE;DEBUG;RELEASE2020 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2020 - v4.7.2 - - - true - bin\2021\ - TRACE;DEBUG;RELEASE2021 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2021 - v4.8 - - - true - DEBUG;TRACE;RELEASE2022 - full - bin\2022\ - x64 - prompt - MinimumRecommendedRules.ruleset - 2022 - v4.8 - - - true - DEBUG;TRACE;RELEASE2023 - full - bin\2023\ - x64 - prompt - MinimumRecommendedRules.ruleset - 2023 - v4.8 - - true - DEBUG;TRACE;RELEASE2024 - full - bin\2024\ - x64 - prompt - MinimumRecommendedRules.ruleset - 2024 - v4.8 - - - - ..\..\..\..\HOK.Core\HOK.Core\bin\$(RevitVersion)\HOK.Core.dll - False - False - - - ..\..\..\..\HOK.MissionControl\HOK.MissionControl.Core\bin\$(RevitVersion)\HOK.MissionControl.Core.dll - False - - - C:\Program Files\Autodesk\Revit $(RevitVersion)\RevitAPI.dll - $(HOKDepsDirectory)\HOK Addins Deps\Revit\$(RevitVersion)\RevitAPI.dll - False - - - C:\Program Files\Autodesk\Revit $(RevitVersion)\RevitAPIUI.dll - $(HOKDepsDirectory)\HOK Addins Deps\Revit\$(RevitVersion)\RevitAPIUI.dll - False - - - - - - - - - - - - - - - - - - - - - - - - MainWindow.xaml - - - - - - - - - - - - Designer - MSBuild:Compile - - - - - PreserveNewest - - - PreserveNewest - - - - - - - - - - - - - - - - diff --git a/AVF Manager/src/HOK.ViewAnalysis/HOK.ViewAnalysis/Properties/AssemblyInfo.cs b/AVF Manager/src/HOK.ViewAnalysis/HOK.ViewAnalysis/Properties/AssemblyInfo.cs deleted file mode 100644 index 999ec6a7..00000000 --- a/AVF Manager/src/HOK.ViewAnalysis/HOK.ViewAnalysis/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System.Reflection; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("HOK.ViewAnalysis")] -[assembly: AssemblyDescription("This tool will calculate area with views for LEED credit 8.2")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("HOK Group")] -[assembly: AssemblyProduct("HOK.ViewAnalysis")] -[assembly: AssemblyCopyright("Copyright © HOK Group 2022")] -[assembly: AssemblyTrademark("Jinsol Kim, Konrad K Sobon, Dan Siroky")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("aacc4492-4158-4965-afe4-8107eab28025")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2024.1.0.22")] -[assembly: AssemblyFileVersion("2024.1.0.22")] diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools.sln b/Element Tools/src/HOK.ElementTools/HOK.ElementTools.sln deleted file mode 100644 index 75c0395b..00000000 --- a/Element Tools/src/HOK.ElementTools/HOK.ElementTools.sln +++ /dev/null @@ -1,46 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.26403.7 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "HOK.ElementTools", "HOK.ElementTools\HOK.ElementTools.vbproj", "{5E2C8756-742E-4726-8736-F150469B6C3A}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - 2018|x64 = 2018|x64 - 2019|x64 = 2019|x64 - 2020|x64 = 2020|x64 - 2021|x64 = 2021|x64 - 2022|x64 = 2022|x64 - 2023|x64 = 2023|x64 - 2024|x64 = 2024|x64 - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {5E2C8756-742E-4726-8736-F150469B6C3A}.2018|x64.ActiveCfg = 2018|x64 - {5E2C8756-742E-4726-8736-F150469B6C3A}.2018|x64.Build.0 = 2018|x64 - {5E2C8756-742E-4726-8736-F150469B6C3A}.2019|x64.ActiveCfg = 2019|x64 - {5E2C8756-742E-4726-8736-F150469B6C3A}.2019|x64.Build.0 = 2019|x64 - {5E2C8756-742E-4726-8736-F150469B6C3A}.2020|x64.ActiveCfg = 2020|x64 - {5E2C8756-742E-4726-8736-F150469B6C3A}.2020|x64.Build.0 = 2020|x64 - {5E2C8756-742E-4726-8736-F150469B6C3A}.2021|x64.ActiveCfg = 2021|x64 - {5E2C8756-742E-4726-8736-F150469B6C3A}.2021|x64.Build.0 = 2021|x64 - {5E2C8756-742E-4726-8736-F150469B6C3A}.2022|x64.ActiveCfg = 2022|x64 - {5E2C8756-742E-4726-8736-F150469B6C3A}.2022|x64.Build.0 = 2022|x64 - {5E2C8756-742E-4726-8736-F150469B6C3A}.2023|x64.ActiveCfg = 2023|x64 - {5E2C8756-742E-4726-8736-F150469B6C3A}.2023|x64.Build.0 = 2023|x64 - {5E2C8756-742E-4726-8736-F150469B6C3A}.2024|x64.ActiveCfg = 2024|x64 - {5E2C8756-742E-4726-8736-F150469B6C3A}.2024|x64.Build.0 = 2024|x64 - {5E2C8756-742E-4726-8736-F150469B6C3A}.Debug|x64.ActiveCfg = Debug|x64 - {5E2C8756-742E-4726-8736-F150469B6C3A}.Debug|x64.Build.0 = Debug|x64 - {5E2C8756-742E-4726-8736-F150469B6C3A}.Release|x64.ActiveCfg = Release|x64 - {5E2C8756-742E-4726-8736-F150469B6C3A}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {C48C535A-357C-40B7-AEF7-A581181A24AD} - EndGlobalSection -EndGlobal diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemAttachmentManager.Designer.vb b/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemAttachmentManager.Designer.vb deleted file mode 100644 index 18cb497c..00000000 --- a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemAttachmentManager.Designer.vb +++ /dev/null @@ -1,109 +0,0 @@ - _ -Partial Class form_ElemAttachmentManager - Inherits System.Windows.Forms.Form - - 'Form overrides dispose to clean up the component list. - _ - Protected Overrides Sub Dispose(ByVal disposing As Boolean) - Try - If disposing AndAlso components IsNot Nothing Then - components.Dispose() - End If - Finally - MyBase.Dispose(disposing) - End Try - End Sub - - 'Required by the Windows Form Designer - Private components As System.ComponentModel.IContainer - - 'NOTE: The following procedure is required by the Windows Form Designer - 'It can be modified using the Windows Form Designer. - 'Do not modify it using the code editor. - _ - Private Sub InitializeComponent() - Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(form_ElemAttachmentManager)) - Me.labelMessage = New System.Windows.Forms.Label() - Me.listBoxDwg = New System.Windows.Forms.ListBox() - Me.buttonSelect = New System.Windows.Forms.Button() - Me.buttonClose = New System.Windows.Forms.Button() - Me.label4 = New System.Windows.Forms.Label() - Me.SuspendLayout() - ' - 'labelMessage - ' - Me.labelMessage.AutoSize = True - Me.labelMessage.Location = New System.Drawing.Point(14, 416) - Me.labelMessage.Name = "labelMessage" - Me.labelMessage.Size = New System.Drawing.Size(72, 13) - Me.labelMessage.TabIndex = 15 - Me.labelMessage.Text = "labelMessage" - ' - 'listBoxDwg - ' - Me.listBoxDwg.Font = New System.Drawing.Font("Monospac821 BT", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) - Me.listBoxDwg.FormattingEnabled = True - Me.listBoxDwg.ItemHeight = 14 - Me.listBoxDwg.Location = New System.Drawing.Point(10, 25) - Me.listBoxDwg.Name = "listBoxDwg" - Me.listBoxDwg.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended - Me.listBoxDwg.Size = New System.Drawing.Size(491, 382) - Me.listBoxDwg.TabIndex = 13 - ' - 'buttonSelect - ' - Me.buttonSelect.Location = New System.Drawing.Point(10, 449) - Me.buttonSelect.Name = "buttonSelect" - Me.buttonSelect.Size = New System.Drawing.Size(178, 29) - Me.buttonSelect.TabIndex = 12 - Me.buttonSelect.Text = "Select in Revit" - Me.buttonSelect.UseVisualStyleBackColor = True - ' - 'buttonClose - ' - Me.buttonClose.Location = New System.Drawing.Point(323, 449) - Me.buttonClose.Name = "buttonClose" - Me.buttonClose.Size = New System.Drawing.Size(178, 29) - Me.buttonClose.TabIndex = 11 - Me.buttonClose.Text = "Close" - Me.buttonClose.UseVisualStyleBackColor = True - ' - 'label4 - ' - Me.label4.AutoSize = True - Me.label4.Font = New System.Drawing.Font("Monospac821 BT", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) - Me.label4.Location = New System.Drawing.Point(12, 9) - Me.label4.Name = "label4" - Me.label4.Size = New System.Drawing.Size(504, 14) - Me.label4.TabIndex = 14 - Me.label4.Text = "ElementId Type Name Workset No." - ' - 'form_ElemAttachmentManager - ' - Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!) - Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font - Me.ClientSize = New System.Drawing.Size(511, 489) - Me.Controls.Add(Me.labelMessage) - Me.Controls.Add(Me.listBoxDwg) - Me.Controls.Add(Me.buttonSelect) - Me.Controls.Add(Me.buttonClose) - Me.Controls.Add(Me.label4) - Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon) - Me.MaximizeBox = False - Me.MaximumSize = New System.Drawing.Size(527, 527) - Me.MinimizeBox = False - Me.MinimumSize = New System.Drawing.Size(527, 527) - Me.Name = "form_ElemAttachmentManager" - Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent - Me.Text = "Attachment Link Manager" - Me.TopMost = True - Me.ResumeLayout(False) - Me.PerformLayout() - - End Sub - Private WithEvents labelMessage As System.Windows.Forms.Label - Private WithEvents listBoxDwg As System.Windows.Forms.ListBox - Private WithEvents buttonSelect As System.Windows.Forms.Button - Private WithEvents buttonClose As System.Windows.Forms.Button - Private WithEvents label4 As System.Windows.Forms.Label -End Class diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemImagesFromViews.Designer.vb b/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemImagesFromViews.Designer.vb deleted file mode 100644 index caa98509..00000000 --- a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemImagesFromViews.Designer.vb +++ /dev/null @@ -1,226 +0,0 @@ - _ -Partial Class form_ElemImagesFromViews - Inherits System.Windows.Forms.Form - - 'Form overrides dispose to clean up the component list. - _ - Protected Overrides Sub Dispose(ByVal disposing As Boolean) - Try - If disposing AndAlso components IsNot Nothing Then - components.Dispose() - End If - Finally - MyBase.Dispose(disposing) - End Try - End Sub - - 'Required by the Windows Form Designer - Private components As System.ComponentModel.IContainer - - 'NOTE: The following procedure is required by the Windows Form Designer - 'It can be modified using the Windows Form Designer. - 'Do not modify it using the code editor. - _ - Private Sub InitializeComponent() - Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(form_ElemImagesFromViews)) - Me.groupBox1 = New System.Windows.Forms.GroupBox() - Me.checkBoxRestrictPrefix = New System.Windows.Forms.CheckBox() - Me.textBoxRestrictPrefixValue = New System.Windows.Forms.TextBox() - Me.checkBoxIncludeExisting = New System.Windows.Forms.CheckBox() - Me.checkBoxListReverse = New System.Windows.Forms.CheckBox() - Me.buttonBrowse = New System.Windows.Forms.Button() - Me.folderBrowserDialogImages = New System.Windows.Forms.FolderBrowserDialog() - Me.textBoxFolderPath = New System.Windows.Forms.TextBox() - Me.buttonCreate = New System.Windows.Forms.Button() - Me.listBoxViews = New System.Windows.Forms.ListBox() - Me.buttonClose = New System.Windows.Forms.Button() - Me.label4 = New System.Windows.Forms.Label() - Me.label1 = New System.Windows.Forms.Label() - Me.StatusStrip1 = New System.Windows.Forms.StatusStrip() - Me.ToolStripProgressBar1 = New System.Windows.Forms.ToolStripProgressBar() - Me.ToolStripStatusLabel1 = New System.Windows.Forms.ToolStripStatusLabel() - Me.groupBox1.SuspendLayout() - Me.StatusStrip1.SuspendLayout() - Me.SuspendLayout() - ' - 'groupBox1 - ' - Me.groupBox1.Controls.Add(Me.checkBoxRestrictPrefix) - Me.groupBox1.Controls.Add(Me.textBoxRestrictPrefixValue) - Me.groupBox1.Controls.Add(Me.checkBoxIncludeExisting) - Me.groupBox1.Controls.Add(Me.checkBoxListReverse) - Me.groupBox1.ForeColor = System.Drawing.SystemColors.ControlText - Me.groupBox1.Location = New System.Drawing.Point(327, 69) - Me.groupBox1.Name = "groupBox1" - Me.groupBox1.Size = New System.Drawing.Size(177, 155) - Me.groupBox1.TabIndex = 42 - Me.groupBox1.TabStop = False - Me.groupBox1.Text = "List Selection Options" - ' - 'checkBoxRestrictPrefix - ' - Me.checkBoxRestrictPrefix.AutoSize = True - Me.checkBoxRestrictPrefix.Location = New System.Drawing.Point(11, 64) - Me.checkBoxRestrictPrefix.Name = "checkBoxRestrictPrefix" - Me.checkBoxRestrictPrefix.Size = New System.Drawing.Size(158, 17) - Me.checkBoxRestrictPrefix.TabIndex = 29 - Me.checkBoxRestrictPrefix.Text = "Restrict to Names w/ Prefix:" - Me.checkBoxRestrictPrefix.UseVisualStyleBackColor = True - ' - 'textBoxRestrictPrefixValue - ' - Me.textBoxRestrictPrefixValue.Location = New System.Drawing.Point(11, 84) - Me.textBoxRestrictPrefixValue.Name = "textBoxRestrictPrefixValue" - Me.textBoxRestrictPrefixValue.Size = New System.Drawing.Size(158, 20) - Me.textBoxRestrictPrefixValue.TabIndex = 28 - ' - 'checkBoxIncludeExisting - ' - Me.checkBoxIncludeExisting.AutoSize = True - Me.checkBoxIncludeExisting.Location = New System.Drawing.Point(11, 19) - Me.checkBoxIncludeExisting.Name = "checkBoxIncludeExisting" - Me.checkBoxIncludeExisting.Size = New System.Drawing.Size(145, 17) - Me.checkBoxIncludeExisting.TabIndex = 31 - Me.checkBoxIncludeExisting.Text = "List and Replace Existing" - Me.checkBoxIncludeExisting.UseVisualStyleBackColor = True - ' - 'checkBoxListReverse - ' - Me.checkBoxListReverse.AutoSize = True - Me.checkBoxListReverse.Location = New System.Drawing.Point(11, 132) - Me.checkBoxListReverse.Name = "checkBoxListReverse" - Me.checkBoxListReverse.Size = New System.Drawing.Size(114, 17) - Me.checkBoxListReverse.TabIndex = 24 - Me.checkBoxListReverse.Text = "Reverse List Order" - Me.checkBoxListReverse.UseVisualStyleBackColor = True - ' - 'buttonBrowse - ' - Me.buttonBrowse.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) - Me.buttonBrowse.Location = New System.Drawing.Point(477, 22) - Me.buttonBrowse.Name = "buttonBrowse" - Me.buttonBrowse.Size = New System.Drawing.Size(29, 26) - Me.buttonBrowse.TabIndex = 41 - Me.buttonBrowse.Text = "..." - Me.buttonBrowse.UseVisualStyleBackColor = True - ' - 'textBoxFolderPath - ' - Me.textBoxFolderPath.Location = New System.Drawing.Point(14, 25) - Me.textBoxFolderPath.Name = "textBoxFolderPath" - Me.textBoxFolderPath.Size = New System.Drawing.Size(457, 20) - Me.textBoxFolderPath.TabIndex = 39 - ' - 'buttonCreate - ' - Me.buttonCreate.Location = New System.Drawing.Point(14, 445) - Me.buttonCreate.Name = "buttonCreate" - Me.buttonCreate.Size = New System.Drawing.Size(178, 29) - Me.buttonCreate.TabIndex = 38 - Me.buttonCreate.Text = "Create Images" - Me.buttonCreate.UseVisualStyleBackColor = True - ' - 'listBoxViews - ' - Me.listBoxViews.FormattingEnabled = True - Me.listBoxViews.Location = New System.Drawing.Point(14, 75) - Me.listBoxViews.Name = "listBoxViews" - Me.listBoxViews.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended - Me.listBoxViews.Size = New System.Drawing.Size(300, 355) - Me.listBoxViews.TabIndex = 36 - ' - 'buttonClose - ' - Me.buttonClose.Location = New System.Drawing.Point(327, 445) - Me.buttonClose.Name = "buttonClose" - Me.buttonClose.Size = New System.Drawing.Size(178, 29) - Me.buttonClose.TabIndex = 35 - Me.buttonClose.Text = "Close" - Me.buttonClose.UseVisualStyleBackColor = True - ' - 'label4 - ' - Me.label4.AutoSize = True - Me.label4.Location = New System.Drawing.Point(14, 59) - Me.label4.Name = "label4" - Me.label4.Size = New System.Drawing.Size(216, 13) - Me.label4.TabIndex = 37 - Me.label4.Text = "Select Views For Which to Create an Image:" - ' - 'label1 - ' - Me.label1.AutoSize = True - Me.label1.Location = New System.Drawing.Point(12, 9) - Me.label1.Name = "label1" - Me.label1.Size = New System.Drawing.Size(164, 13) - Me.label1.TabIndex = 40 - Me.label1.Text = "Folder In Which to Place Images:" - ' - 'StatusStrip1 - ' - Me.StatusStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.ToolStripProgressBar1, Me.ToolStripStatusLabel1}) - Me.StatusStrip1.Location = New System.Drawing.Point(0, 482) - Me.StatusStrip1.Name = "StatusStrip1" - Me.StatusStrip1.Size = New System.Drawing.Size(515, 22) - Me.StatusStrip1.TabIndex = 43 - Me.StatusStrip1.Text = "StatusStrip1" - ' - 'ToolStripProgressBar1 - ' - Me.ToolStripProgressBar1.Name = "ToolStripProgressBar1" - Me.ToolStripProgressBar1.Size = New System.Drawing.Size(150, 16) - Me.ToolStripProgressBar1.Visible = False - ' - 'ToolStripStatusLabel1 - ' - Me.ToolStripStatusLabel1.Name = "ToolStripStatusLabel1" - Me.ToolStripStatusLabel1.Size = New System.Drawing.Size(39, 17) - Me.ToolStripStatusLabel1.Text = "Ready" - ' - 'form_ElemImagesFromViews - ' - Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!) - Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font - Me.ClientSize = New System.Drawing.Size(515, 504) - Me.Controls.Add(Me.StatusStrip1) - Me.Controls.Add(Me.groupBox1) - Me.Controls.Add(Me.buttonBrowse) - Me.Controls.Add(Me.textBoxFolderPath) - Me.Controls.Add(Me.buttonCreate) - Me.Controls.Add(Me.listBoxViews) - Me.Controls.Add(Me.buttonClose) - Me.Controls.Add(Me.label4) - Me.Controls.Add(Me.label1) - Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon) - Me.MaximizeBox = False - Me.MinimizeBox = False - Me.MinimumSize = New System.Drawing.Size(531, 522) - Me.Name = "form_ElemImagesFromViews" - Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent - Me.Text = "Export Images From Views" - Me.TopMost = True - Me.groupBox1.ResumeLayout(False) - Me.groupBox1.PerformLayout() - Me.StatusStrip1.ResumeLayout(False) - Me.StatusStrip1.PerformLayout() - Me.ResumeLayout(False) - Me.PerformLayout() - - End Sub - Private WithEvents groupBox1 As System.Windows.Forms.GroupBox - Private WithEvents checkBoxRestrictPrefix As System.Windows.Forms.CheckBox - Private WithEvents textBoxRestrictPrefixValue As System.Windows.Forms.TextBox - Private WithEvents checkBoxIncludeExisting As System.Windows.Forms.CheckBox - Private WithEvents checkBoxListReverse As System.Windows.Forms.CheckBox - Private WithEvents buttonBrowse As System.Windows.Forms.Button - Private WithEvents folderBrowserDialogImages As System.Windows.Forms.FolderBrowserDialog - Private WithEvents textBoxFolderPath As System.Windows.Forms.TextBox - Private WithEvents buttonCreate As System.Windows.Forms.Button - Private WithEvents listBoxViews As System.Windows.Forms.ListBox - Private WithEvents buttonClose As System.Windows.Forms.Button - Private WithEvents label4 As System.Windows.Forms.Label - Private WithEvents label1 As System.Windows.Forms.Label - Friend WithEvents StatusStrip1 As System.Windows.Forms.StatusStrip - Friend WithEvents ToolStripProgressBar1 As System.Windows.Forms.ToolStripProgressBar - Friend WithEvents ToolStripStatusLabel1 As System.Windows.Forms.ToolStripStatusLabel -End Class diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemMenu.Designer.vb b/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemMenu.Designer.vb deleted file mode 100644 index 69835f26..00000000 --- a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemMenu.Designer.vb +++ /dev/null @@ -1,222 +0,0 @@ - _ -Partial Class form_ElemMenu - Inherits System.Windows.Forms.Form - - 'Form overrides dispose to clean up the component list. - _ - Protected Overrides Sub Dispose(ByVal disposing As Boolean) - Try - If disposing AndAlso components IsNot Nothing Then - components.Dispose() - End If - Finally - MyBase.Dispose(disposing) - End Try - End Sub - - 'Required by the Windows Form Designer - Private components As System.ComponentModel.IContainer - - 'NOTE: The following procedure is required by the Windows Form Designer - 'It can be modified using the Windows Form Designer. - 'Do not modify it using the code editor. - _ - Private Sub InitializeComponent() - Me.components = New System.ComponentModel.Container() - Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(form_ElemMenu)) - Me.GroupBox3 = New System.Windows.Forms.GroupBox() - Me.ButtonManageAttachmentLinks = New System.Windows.Forms.Button() - Me.ButtonCreateSheetsFromViews = New System.Windows.Forms.Button() - Me.ButtonCreateTaggedViewsFromRooms = New System.Windows.Forms.Button() - Me.ButtonCreateViewsFromRooms = New System.Windows.Forms.Button() - Me.ToolTipFormMain = New System.Windows.Forms.ToolTip(Me.components) - Me.GroupBox2 = New System.Windows.Forms.GroupBox() - Me.GroupBox1 = New System.Windows.Forms.GroupBox() - Me.ButtonCreateRoomsFromAreas = New System.Windows.Forms.Button() - Me.ButtonPlaceUnplacedRooms = New System.Windows.Forms.Button() - Me.ButtonPlaceUnplacedAreas = New System.Windows.Forms.Button() - Me.buttonReloadSettings = New System.Windows.Forms.Button() - Me.ButtonCancel = New System.Windows.Forms.Button() - Me.ButtonCreateTaggedViewsFromAreas = New System.Windows.Forms.Button() - Me.ButtonCreateViewsFromAreas = New System.Windows.Forms.Button() - Me.GroupBox3.SuspendLayout() - Me.GroupBox2.SuspendLayout() - Me.GroupBox1.SuspendLayout() - Me.SuspendLayout() - ' - 'GroupBox3 - ' - Me.GroupBox3.Controls.Add(Me.ButtonManageAttachmentLinks) - Me.GroupBox3.Location = New System.Drawing.Point(12, 307) - Me.GroupBox3.Name = "GroupBox3" - Me.GroupBox3.Size = New System.Drawing.Size(310, 59) - Me.GroupBox3.TabIndex = 27 - Me.GroupBox3.TabStop = False - Me.GroupBox3.Text = "Linked Elements" - ' - 'ButtonManageAttachmentLinks - ' - Me.ButtonManageAttachmentLinks.Location = New System.Drawing.Point(6, 19) - Me.ButtonManageAttachmentLinks.Name = "ButtonManageAttachmentLinks" - Me.ButtonManageAttachmentLinks.Size = New System.Drawing.Size(298, 23) - Me.ButtonManageAttachmentLinks.TabIndex = 28 - Me.ButtonManageAttachmentLinks.Text = "Manage Attachment Links" - Me.ButtonManageAttachmentLinks.UseVisualStyleBackColor = True - ' - 'ButtonCreateSheetsFromViews - ' - Me.ButtonCreateSheetsFromViews.Location = New System.Drawing.Point(6, 135) - Me.ButtonCreateSheetsFromViews.Name = "ButtonCreateSheetsFromViews" - Me.ButtonCreateSheetsFromViews.Size = New System.Drawing.Size(298, 23) - Me.ButtonCreateSheetsFromViews.TabIndex = 27 - Me.ButtonCreateSheetsFromViews.Text = "Create Sheets from Views" - Me.ButtonCreateSheetsFromViews.UseVisualStyleBackColor = True - ' - 'ButtonCreateTaggedViewsFromRooms - ' - Me.ButtonCreateTaggedViewsFromRooms.Location = New System.Drawing.Point(6, 48) - Me.ButtonCreateTaggedViewsFromRooms.Name = "ButtonCreateTaggedViewsFromRooms" - Me.ButtonCreateTaggedViewsFromRooms.Size = New System.Drawing.Size(298, 23) - Me.ButtonCreateTaggedViewsFromRooms.TabIndex = 26 - Me.ButtonCreateTaggedViewsFromRooms.Text = "Create Tagged Views from Rooms" - Me.ButtonCreateTaggedViewsFromRooms.UseVisualStyleBackColor = True - ' - 'ButtonCreateViewsFromRooms - ' - Me.ButtonCreateViewsFromRooms.Location = New System.Drawing.Point(6, 19) - Me.ButtonCreateViewsFromRooms.Name = "ButtonCreateViewsFromRooms" - Me.ButtonCreateViewsFromRooms.Size = New System.Drawing.Size(298, 23) - Me.ButtonCreateViewsFromRooms.TabIndex = 25 - Me.ButtonCreateViewsFromRooms.Text = "Create Views from Rooms" - Me.ButtonCreateViewsFromRooms.UseVisualStyleBackColor = True - ' - 'GroupBox2 - ' - Me.GroupBox2.Controls.Add(Me.ButtonCreateTaggedViewsFromAreas) - Me.GroupBox2.Controls.Add(Me.ButtonCreateViewsFromAreas) - Me.GroupBox2.Controls.Add(Me.ButtonCreateSheetsFromViews) - Me.GroupBox2.Controls.Add(Me.ButtonCreateTaggedViewsFromRooms) - Me.GroupBox2.Controls.Add(Me.ButtonCreateViewsFromRooms) - Me.GroupBox2.Location = New System.Drawing.Point(12, 129) - Me.GroupBox2.Name = "GroupBox2" - Me.GroupBox2.Size = New System.Drawing.Size(310, 172) - Me.GroupBox2.TabIndex = 26 - Me.GroupBox2.TabStop = False - Me.GroupBox2.Text = "View and Sheet Elements" - ' - 'GroupBox1 - ' - Me.GroupBox1.Controls.Add(Me.ButtonCreateRoomsFromAreas) - Me.GroupBox1.Controls.Add(Me.ButtonPlaceUnplacedRooms) - Me.GroupBox1.Controls.Add(Me.ButtonPlaceUnplacedAreas) - Me.GroupBox1.Location = New System.Drawing.Point(12, 12) - Me.GroupBox1.Name = "GroupBox1" - Me.GroupBox1.Size = New System.Drawing.Size(310, 111) - Me.GroupBox1.TabIndex = 25 - Me.GroupBox1.TabStop = False - Me.GroupBox1.Text = "Room and Area Elements" - ' - 'ButtonCreateRoomsFromAreas - ' - Me.ButtonCreateRoomsFromAreas.Location = New System.Drawing.Point(6, 77) - Me.ButtonCreateRoomsFromAreas.Name = "ButtonCreateRoomsFromAreas" - Me.ButtonCreateRoomsFromAreas.Size = New System.Drawing.Size(298, 23) - Me.ButtonCreateRoomsFromAreas.TabIndex = 24 - Me.ButtonCreateRoomsFromAreas.Text = "Create Rooms from Areas" - Me.ButtonCreateRoomsFromAreas.UseVisualStyleBackColor = True - ' - 'ButtonPlaceUnplacedRooms - ' - Me.ButtonPlaceUnplacedRooms.Location = New System.Drawing.Point(6, 48) - Me.ButtonPlaceUnplacedRooms.Name = "ButtonPlaceUnplacedRooms" - Me.ButtonPlaceUnplacedRooms.Size = New System.Drawing.Size(298, 23) - Me.ButtonPlaceUnplacedRooms.TabIndex = 23 - Me.ButtonPlaceUnplacedRooms.Text = "Place Unplaced Rooms" - Me.ButtonPlaceUnplacedRooms.UseVisualStyleBackColor = True - ' - 'ButtonPlaceUnplacedAreas - ' - Me.ButtonPlaceUnplacedAreas.Location = New System.Drawing.Point(6, 19) - Me.ButtonPlaceUnplacedAreas.Name = "ButtonPlaceUnplacedAreas" - Me.ButtonPlaceUnplacedAreas.Size = New System.Drawing.Size(298, 23) - Me.ButtonPlaceUnplacedAreas.TabIndex = 22 - Me.ButtonPlaceUnplacedAreas.Text = "Place Unplaced Areas" - Me.ButtonPlaceUnplacedAreas.UseVisualStyleBackColor = True - ' - 'buttonReloadSettings - ' - Me.buttonReloadSettings.Location = New System.Drawing.Point(18, 372) - Me.buttonReloadSettings.Name = "buttonReloadSettings" - Me.buttonReloadSettings.Size = New System.Drawing.Size(170, 23) - Me.buttonReloadSettings.TabIndex = 24 - Me.buttonReloadSettings.Text = "Reload Default Settings" - Me.buttonReloadSettings.UseVisualStyleBackColor = True - ' - 'ButtonCancel - ' - Me.ButtonCancel.Location = New System.Drawing.Point(241, 372) - Me.ButtonCancel.Name = "ButtonCancel" - Me.ButtonCancel.Size = New System.Drawing.Size(75, 23) - Me.ButtonCancel.TabIndex = 23 - Me.ButtonCancel.Text = "Cancel" - Me.ButtonCancel.UseVisualStyleBackColor = True - ' - 'ButtonCreateTaggedViewsFromAreas - ' - Me.ButtonCreateTaggedViewsFromAreas.Location = New System.Drawing.Point(6, 106) - Me.ButtonCreateTaggedViewsFromAreas.Name = "ButtonCreateTaggedViewsFromAreas" - Me.ButtonCreateTaggedViewsFromAreas.Size = New System.Drawing.Size(298, 23) - Me.ButtonCreateTaggedViewsFromAreas.TabIndex = 29 - Me.ButtonCreateTaggedViewsFromAreas.Text = "Create Tagged Views from Areas" - Me.ButtonCreateTaggedViewsFromAreas.UseVisualStyleBackColor = True - ' - 'ButtonCreateViewsFromAreas - ' - Me.ButtonCreateViewsFromAreas.Location = New System.Drawing.Point(6, 77) - Me.ButtonCreateViewsFromAreas.Name = "ButtonCreateViewsFromAreas" - Me.ButtonCreateViewsFromAreas.Size = New System.Drawing.Size(298, 23) - Me.ButtonCreateViewsFromAreas.TabIndex = 28 - Me.ButtonCreateViewsFromAreas.Text = "Create Views from Areas" - Me.ButtonCreateViewsFromAreas.UseVisualStyleBackColor = True - ' - 'form_ElemMenu - ' - Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!) - Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font - Me.ClientSize = New System.Drawing.Size(335, 407) - Me.Controls.Add(Me.GroupBox3) - Me.Controls.Add(Me.GroupBox2) - Me.Controls.Add(Me.GroupBox1) - Me.Controls.Add(Me.buttonReloadSettings) - Me.Controls.Add(Me.ButtonCancel) - Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon) - Me.MaximizeBox = False - Me.MaximumSize = New System.Drawing.Size(351, 445) - Me.MinimizeBox = False - Me.MinimumSize = New System.Drawing.Size(351, 445) - Me.Name = "form_ElemMenu" - Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent - Me.Text = "Element Tools" - Me.TopMost = True - Me.GroupBox3.ResumeLayout(False) - Me.GroupBox2.ResumeLayout(False) - Me.GroupBox1.ResumeLayout(False) - Me.ResumeLayout(False) - - End Sub - Friend WithEvents GroupBox3 As System.Windows.Forms.GroupBox - Private WithEvents ButtonManageAttachmentLinks As System.Windows.Forms.Button - Private WithEvents ButtonCreateSheetsFromViews As System.Windows.Forms.Button - Private WithEvents ButtonCreateTaggedViewsFromRooms As System.Windows.Forms.Button - Private WithEvents ButtonCreateViewsFromRooms As System.Windows.Forms.Button - Friend WithEvents ToolTipFormMain As System.Windows.Forms.ToolTip - Friend WithEvents GroupBox2 As System.Windows.Forms.GroupBox - Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox - Private WithEvents ButtonCreateRoomsFromAreas As System.Windows.Forms.Button - Private WithEvents ButtonPlaceUnplacedRooms As System.Windows.Forms.Button - Private WithEvents ButtonPlaceUnplacedAreas As System.Windows.Forms.Button - Private WithEvents buttonReloadSettings As System.Windows.Forms.Button - Friend WithEvents ButtonCancel As System.Windows.Forms.Button - Private WithEvents ButtonCreateTaggedViewsFromAreas As System.Windows.Forms.Button - Private WithEvents ButtonCreateViewsFromAreas As System.Windows.Forms.Button -End Class diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemPlaceUnplacedAreas.Designer.vb b/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemPlaceUnplacedAreas.Designer.vb deleted file mode 100644 index 5bc4412a..00000000 --- a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemPlaceUnplacedAreas.Designer.vb +++ /dev/null @@ -1,392 +0,0 @@ - _ -Partial Class form_ElemPlaceUnplacedAreas - Inherits System.Windows.Forms.Form - - 'Form overrides dispose to clean up the component list. - _ - Protected Overrides Sub Dispose(ByVal disposing As Boolean) - Try - If disposing AndAlso components IsNot Nothing Then - components.Dispose() - End If - Finally - MyBase.Dispose(disposing) - End Try - End Sub - - 'Required by the Windows Form Designer - Private components As System.ComponentModel.IContainer - - 'NOTE: The following procedure is required by the Windows Form Designer - 'It can be modified using the Windows Form Designer. - 'Do not modify it using the code editor. - _ - Private Sub InitializeComponent() - Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(form_ElemPlaceUnplacedAreas)) - Me.textBoxParameterList2 = New System.Windows.Forms.TextBox() - Me.buttonClose = New System.Windows.Forms.Button() - Me.textBoxPad2 = New System.Windows.Forms.TextBox() - Me.textBoxPad1 = New System.Windows.Forms.TextBox() - Me.checkBoxPad2 = New System.Windows.Forms.CheckBox() - Me.checkBoxPad1 = New System.Windows.Forms.CheckBox() - Me.textBoxSpace = New System.Windows.Forms.TextBox() - Me.textBoxStartX = New System.Windows.Forms.TextBox() - Me.checkBoxListReverse = New System.Windows.Forms.CheckBox() - Me.label9 = New System.Windows.Forms.Label() - Me.label1 = New System.Windows.Forms.Label() - Me.textBoxNoRow = New System.Windows.Forms.TextBox() - Me.groupBox2 = New System.Windows.Forms.GroupBox() - Me.textBoxStartY = New System.Windows.Forms.TextBox() - Me.label2 = New System.Windows.Forms.Label() - Me.textBoxParameterRequiredDefault = New System.Windows.Forms.TextBox() - Me.label3 = New System.Windows.Forms.Label() - Me.textBoxParameterRequiredArea = New System.Windows.Forms.TextBox() - Me.label5 = New System.Windows.Forms.Label() - Me.label6 = New System.Windows.Forms.Label() - Me.label8 = New System.Windows.Forms.Label() - Me.textBoxParameterList1 = New System.Windows.Forms.TextBox() - Me.listBoxAreas = New System.Windows.Forms.ListBox() - Me.label4 = New System.Windows.Forms.Label() - Me.buttonCreate = New System.Windows.Forms.Button() - Me.label7 = New System.Windows.Forms.Label() - Me.groupBox1 = New System.Windows.Forms.GroupBox() - Me.StatusStrip1 = New System.Windows.Forms.StatusStrip() - Me.ToolStripProgressBar1 = New System.Windows.Forms.ToolStripProgressBar() - Me.ToolStripStatusLabel1 = New System.Windows.Forms.ToolStripStatusLabel() - Me.groupBox2.SuspendLayout() - Me.groupBox1.SuspendLayout() - Me.StatusStrip1.SuspendLayout() - Me.SuspendLayout() - ' - 'textBoxParameterList2 - ' - Me.textBoxParameterList2.Location = New System.Drawing.Point(11, 97) - Me.textBoxParameterList2.Name = "textBoxParameterList2" - Me.textBoxParameterList2.Size = New System.Drawing.Size(156, 20) - Me.textBoxParameterList2.TabIndex = 16 - ' - 'buttonClose - ' - Me.buttonClose.Location = New System.Drawing.Point(326, 449) - Me.buttonClose.Name = "buttonClose" - Me.buttonClose.Size = New System.Drawing.Size(178, 29) - Me.buttonClose.TabIndex = 38 - Me.buttonClose.Text = "Close" - Me.buttonClose.UseVisualStyleBackColor = True - ' - 'textBoxPad2 - ' - Me.textBoxPad2.Location = New System.Drawing.Point(135, 119) - Me.textBoxPad2.Name = "textBoxPad2" - Me.textBoxPad2.Size = New System.Drawing.Size(32, 20) - Me.textBoxPad2.TabIndex = 23 - ' - 'textBoxPad1 - ' - Me.textBoxPad1.Location = New System.Drawing.Point(135, 56) - Me.textBoxPad1.Name = "textBoxPad1" - Me.textBoxPad1.Size = New System.Drawing.Size(32, 20) - Me.textBoxPad1.TabIndex = 22 - ' - 'checkBoxPad2 - ' - Me.checkBoxPad2.AutoSize = True - Me.checkBoxPad2.Location = New System.Drawing.Point(11, 121) - Me.checkBoxPad2.Name = "checkBoxPad2" - Me.checkBoxPad2.Size = New System.Drawing.Size(121, 17) - Me.checkBoxPad2.TabIndex = 21 - Me.checkBoxPad2.Text = "Pad Value w/ Zeros" - Me.checkBoxPad2.UseVisualStyleBackColor = True - ' - 'checkBoxPad1 - ' - Me.checkBoxPad1.AutoSize = True - Me.checkBoxPad1.Location = New System.Drawing.Point(11, 58) - Me.checkBoxPad1.Name = "checkBoxPad1" - Me.checkBoxPad1.Size = New System.Drawing.Size(121, 17) - Me.checkBoxPad1.TabIndex = 20 - Me.checkBoxPad1.Text = "Pad Value w/ Zeros" - Me.checkBoxPad1.UseVisualStyleBackColor = True - ' - 'textBoxSpace - ' - Me.textBoxSpace.Location = New System.Drawing.Point(11, 78) - Me.textBoxSpace.Name = "textBoxSpace" - Me.textBoxSpace.Size = New System.Drawing.Size(72, 20) - Me.textBoxSpace.TabIndex = 6 - ' - 'textBoxStartX - ' - Me.textBoxStartX.Location = New System.Drawing.Point(11, 36) - Me.textBoxStartX.Name = "textBoxStartX" - Me.textBoxStartX.Size = New System.Drawing.Size(72, 20) - Me.textBoxStartX.TabIndex = 1 - ' - 'checkBoxListReverse - ' - Me.checkBoxListReverse.AutoSize = True - Me.checkBoxListReverse.Location = New System.Drawing.Point(11, 151) - Me.checkBoxListReverse.Name = "checkBoxListReverse" - Me.checkBoxListReverse.Size = New System.Drawing.Size(114, 17) - Me.checkBoxListReverse.TabIndex = 24 - Me.checkBoxListReverse.Text = "Reverse List Order" - Me.checkBoxListReverse.UseVisualStyleBackColor = True - ' - 'label9 - ' - Me.label9.AutoSize = True - Me.label9.Location = New System.Drawing.Point(100, 63) - Me.label9.Name = "label9" - Me.label9.Size = New System.Drawing.Size(67, 13) - Me.label9.TabIndex = 19 - Me.label9.Text = "No per Row:" - ' - 'label1 - ' - Me.label1.AutoSize = True - Me.label1.Location = New System.Drawing.Point(9, 21) - Me.label1.Name = "label1" - Me.label1.Size = New System.Drawing.Size(69, 13) - Me.label1.TabIndex = 2 - Me.label1.Text = "Start Point X:" - ' - 'textBoxNoRow - ' - Me.textBoxNoRow.Location = New System.Drawing.Point(101, 78) - Me.textBoxNoRow.Name = "textBoxNoRow" - Me.textBoxNoRow.Size = New System.Drawing.Size(66, 20) - Me.textBoxNoRow.TabIndex = 18 - ' - 'groupBox2 - ' - Me.groupBox2.Controls.Add(Me.textBoxSpace) - Me.groupBox2.Controls.Add(Me.textBoxStartX) - Me.groupBox2.Controls.Add(Me.label9) - Me.groupBox2.Controls.Add(Me.label1) - Me.groupBox2.Controls.Add(Me.textBoxNoRow) - Me.groupBox2.Controls.Add(Me.textBoxStartY) - Me.groupBox2.Controls.Add(Me.label2) - Me.groupBox2.Controls.Add(Me.textBoxParameterRequiredDefault) - Me.groupBox2.Controls.Add(Me.label3) - Me.groupBox2.Controls.Add(Me.textBoxParameterRequiredArea) - Me.groupBox2.Controls.Add(Me.label5) - Me.groupBox2.Controls.Add(Me.label6) - Me.groupBox2.ForeColor = System.Drawing.SystemColors.ControlText - Me.groupBox2.Location = New System.Drawing.Point(326, 213) - Me.groupBox2.Name = "groupBox2" - Me.groupBox2.Size = New System.Drawing.Size(177, 219) - Me.groupBox2.TabIndex = 43 - Me.groupBox2.TabStop = False - Me.groupBox2.Text = "Processing Options" - ' - 'textBoxStartY - ' - Me.textBoxStartY.Location = New System.Drawing.Point(100, 36) - Me.textBoxStartY.Name = "textBoxStartY" - Me.textBoxStartY.Size = New System.Drawing.Size(67, 20) - Me.textBoxStartY.TabIndex = 3 - ' - 'label2 - ' - Me.label2.AutoSize = True - Me.label2.Location = New System.Drawing.Point(97, 22) - Me.label2.Name = "label2" - Me.label2.Size = New System.Drawing.Size(69, 13) - Me.label2.TabIndex = 4 - Me.label2.Text = "Start Point Y:" - ' - 'textBoxParameterRequiredDefault - ' - Me.textBoxParameterRequiredDefault.Location = New System.Drawing.Point(11, 166) - Me.textBoxParameterRequiredDefault.Name = "textBoxParameterRequiredDefault" - Me.textBoxParameterRequiredDefault.Size = New System.Drawing.Size(156, 20) - Me.textBoxParameterRequiredDefault.TabIndex = 12 - ' - 'label3 - ' - Me.label3.AutoSize = True - Me.label3.Location = New System.Drawing.Point(10, 63) - Me.label3.Name = "label3" - Me.label3.Size = New System.Drawing.Size(41, 13) - Me.label3.TabIndex = 7 - Me.label3.Text = "Space:" - ' - 'textBoxParameterRequiredArea - ' - Me.textBoxParameterRequiredArea.Location = New System.Drawing.Point(11, 120) - Me.textBoxParameterRequiredArea.Name = "textBoxParameterRequiredArea" - Me.textBoxParameterRequiredArea.Size = New System.Drawing.Size(156, 20) - Me.textBoxParameterRequiredArea.TabIndex = 10 - ' - 'label5 - ' - Me.label5.AutoSize = True - Me.label5.Location = New System.Drawing.Point(9, 105) - Me.label5.Name = "label5" - Me.label5.Size = New System.Drawing.Size(129, 13) - Me.label5.TabIndex = 11 - Me.label5.Text = "Required Area Parameter:" - ' - 'label6 - ' - Me.label6.AutoSize = True - Me.label6.Location = New System.Drawing.Point(9, 151) - Me.label6.Name = "label6" - Me.label6.Size = New System.Drawing.Size(115, 13) - Me.label6.TabIndex = 13 - Me.label6.Text = "Default Required Area:" - ' - 'label8 - ' - Me.label8.AutoSize = True - Me.label8.Location = New System.Drawing.Point(8, 82) - Me.label8.Name = "label8" - Me.label8.Size = New System.Drawing.Size(86, 13) - Me.label8.TabIndex = 17 - Me.label8.Text = "List Parameter 2:" - ' - 'textBoxParameterList1 - ' - Me.textBoxParameterList1.Location = New System.Drawing.Point(11, 34) - Me.textBoxParameterList1.Name = "textBoxParameterList1" - Me.textBoxParameterList1.Size = New System.Drawing.Size(156, 20) - Me.textBoxParameterList1.TabIndex = 14 - ' - 'listBoxAreas - ' - Me.listBoxAreas.FormattingEnabled = True - Me.listBoxAreas.Location = New System.Drawing.Point(13, 25) - Me.listBoxAreas.Name = "listBoxAreas" - Me.listBoxAreas.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended - Me.listBoxAreas.Size = New System.Drawing.Size(300, 407) - Me.listBoxAreas.TabIndex = 39 - ' - 'label4 - ' - Me.label4.AutoSize = True - Me.label4.Location = New System.Drawing.Point(12, 9) - Me.label4.Name = "label4" - Me.label4.Size = New System.Drawing.Size(112, 13) - Me.label4.TabIndex = 40 - Me.label4.Text = "Select Areas to Place:" - ' - 'buttonCreate - ' - Me.buttonCreate.Location = New System.Drawing.Point(13, 449) - Me.buttonCreate.Name = "buttonCreate" - Me.buttonCreate.Size = New System.Drawing.Size(178, 29) - Me.buttonCreate.TabIndex = 41 - Me.buttonCreate.Text = "Create Areas" - Me.buttonCreate.UseVisualStyleBackColor = True - ' - 'label7 - ' - Me.label7.AutoSize = True - Me.label7.Location = New System.Drawing.Point(9, 19) - Me.label7.Name = "label7" - Me.label7.Size = New System.Drawing.Size(86, 13) - Me.label7.TabIndex = 15 - Me.label7.Text = "List Parameter 1:" - ' - 'groupBox1 - ' - Me.groupBox1.Controls.Add(Me.textBoxParameterList1) - Me.groupBox1.Controls.Add(Me.checkBoxListReverse) - Me.groupBox1.Controls.Add(Me.label7) - Me.groupBox1.Controls.Add(Me.textBoxPad2) - Me.groupBox1.Controls.Add(Me.textBoxParameterList2) - Me.groupBox1.Controls.Add(Me.textBoxPad1) - Me.groupBox1.Controls.Add(Me.label8) - Me.groupBox1.Controls.Add(Me.checkBoxPad2) - Me.groupBox1.Controls.Add(Me.checkBoxPad1) - Me.groupBox1.ForeColor = System.Drawing.SystemColors.ControlText - Me.groupBox1.Location = New System.Drawing.Point(326, 19) - Me.groupBox1.Name = "groupBox1" - Me.groupBox1.Size = New System.Drawing.Size(178, 182) - Me.groupBox1.TabIndex = 42 - Me.groupBox1.TabStop = False - Me.groupBox1.Text = "List Selection Options" - ' - 'StatusStrip1 - ' - Me.StatusStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.ToolStripProgressBar1, Me.ToolStripStatusLabel1}) - Me.StatusStrip1.Location = New System.Drawing.Point(0, 490) - Me.StatusStrip1.Name = "StatusStrip1" - Me.StatusStrip1.Size = New System.Drawing.Size(514, 22) - Me.StatusStrip1.TabIndex = 44 - Me.StatusStrip1.Text = "StatusStrip1" - ' - 'ToolStripProgressBar1 - ' - Me.ToolStripProgressBar1.Name = "ToolStripProgressBar1" - Me.ToolStripProgressBar1.Size = New System.Drawing.Size(150, 16) - Me.ToolStripProgressBar1.Visible = False - ' - 'ToolStripStatusLabel1 - ' - Me.ToolStripStatusLabel1.Name = "ToolStripStatusLabel1" - Me.ToolStripStatusLabel1.Size = New System.Drawing.Size(121, 17) - Me.ToolStripStatusLabel1.Text = "ToolStripStatusLabel1" - ' - 'form_ElemPlaceUnplacedAreas - ' - Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!) - Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font - Me.ClientSize = New System.Drawing.Size(514, 512) - Me.Controls.Add(Me.StatusStrip1) - Me.Controls.Add(Me.buttonClose) - Me.Controls.Add(Me.groupBox2) - Me.Controls.Add(Me.listBoxAreas) - Me.Controls.Add(Me.label4) - Me.Controls.Add(Me.buttonCreate) - Me.Controls.Add(Me.groupBox1) - Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon) - Me.MaximizeBox = False - Me.MaximumSize = New System.Drawing.Size(530, 550) - Me.MinimizeBox = False - Me.MinimumSize = New System.Drawing.Size(530, 550) - Me.Name = "form_ElemPlaceUnplacedAreas" - Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent - Me.Text = "Place Unplaced Areas" - Me.TopMost = True - Me.groupBox2.ResumeLayout(False) - Me.groupBox2.PerformLayout() - Me.groupBox1.ResumeLayout(False) - Me.groupBox1.PerformLayout() - Me.StatusStrip1.ResumeLayout(False) - Me.StatusStrip1.PerformLayout() - Me.ResumeLayout(False) - Me.PerformLayout() - - End Sub - Private WithEvents textBoxParameterList2 As System.Windows.Forms.TextBox - Private WithEvents buttonClose As System.Windows.Forms.Button - Private WithEvents textBoxPad2 As System.Windows.Forms.TextBox - Private WithEvents textBoxPad1 As System.Windows.Forms.TextBox - Private WithEvents checkBoxPad2 As System.Windows.Forms.CheckBox - Private WithEvents checkBoxPad1 As System.Windows.Forms.CheckBox - Private WithEvents textBoxSpace As System.Windows.Forms.TextBox - Private WithEvents textBoxStartX As System.Windows.Forms.TextBox - Private WithEvents checkBoxListReverse As System.Windows.Forms.CheckBox - Private WithEvents label9 As System.Windows.Forms.Label - Private WithEvents label1 As System.Windows.Forms.Label - Private WithEvents textBoxNoRow As System.Windows.Forms.TextBox - Private WithEvents groupBox2 As System.Windows.Forms.GroupBox - Private WithEvents textBoxStartY As System.Windows.Forms.TextBox - Private WithEvents label2 As System.Windows.Forms.Label - Private WithEvents textBoxParameterRequiredDefault As System.Windows.Forms.TextBox - Private WithEvents label3 As System.Windows.Forms.Label - Private WithEvents textBoxParameterRequiredArea As System.Windows.Forms.TextBox - Private WithEvents label5 As System.Windows.Forms.Label - Private WithEvents label6 As System.Windows.Forms.Label - Private WithEvents label8 As System.Windows.Forms.Label - Private WithEvents textBoxParameterList1 As System.Windows.Forms.TextBox - Private WithEvents listBoxAreas As System.Windows.Forms.ListBox - Private WithEvents label4 As System.Windows.Forms.Label - Private WithEvents buttonCreate As System.Windows.Forms.Button - Private WithEvents label7 As System.Windows.Forms.Label - Private WithEvents groupBox1 As System.Windows.Forms.GroupBox - Friend WithEvents StatusStrip1 As System.Windows.Forms.StatusStrip - Friend WithEvents ToolStripProgressBar1 As System.Windows.Forms.ToolStripProgressBar - Friend WithEvents ToolStripStatusLabel1 As System.Windows.Forms.ToolStripStatusLabel -End Class diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemPlaceUnplacedRooms.Designer.vb b/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemPlaceUnplacedRooms.Designer.vb deleted file mode 100644 index 7279b49c..00000000 --- a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemPlaceUnplacedRooms.Designer.vb +++ /dev/null @@ -1,451 +0,0 @@ - _ -Partial Class form_ElemPlaceUnplacedRooms - Inherits System.Windows.Forms.Form - - 'Form overrides dispose to clean up the component list. - _ - Protected Overrides Sub Dispose(ByVal disposing As Boolean) - Try - If disposing AndAlso components IsNot Nothing Then - components.Dispose() - End If - Finally - MyBase.Dispose(disposing) - End Try - End Sub - - 'Required by the Windows Form Designer - Private components As System.ComponentModel.IContainer - - 'NOTE: The following procedure is required by the Windows Form Designer - 'It can be modified using the Windows Form Designer. - 'Do not modify it using the code editor. - _ - Private Sub InitializeComponent() - Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(form_ElemPlaceUnplacedRooms)) - Me.textBoxStartX = New System.Windows.Forms.TextBox() - Me.label1 = New System.Windows.Forms.Label() - Me.buttonClose = New System.Windows.Forms.Button() - Me.checkBoxPad1 = New System.Windows.Forms.CheckBox() - Me.label9 = New System.Windows.Forms.Label() - Me.textBoxParameterList2 = New System.Windows.Forms.TextBox() - Me.textBoxStartY = New System.Windows.Forms.TextBox() - Me.checkBoxPad2 = New System.Windows.Forms.CheckBox() - Me.textBoxNoRow = New System.Windows.Forms.TextBox() - Me.label2 = New System.Windows.Forms.Label() - Me.textBoxPad1 = New System.Windows.Forms.TextBox() - Me.groupBox2 = New System.Windows.Forms.GroupBox() - Me.ButtonPickPoint = New System.Windows.Forms.Button() - Me.Label10 = New System.Windows.Forms.Label() - Me.ComboBoxWallTypes = New System.Windows.Forms.ComboBox() - Me.textBoxSpace = New System.Windows.Forms.TextBox() - Me.textBoxParameterRequiredDefault = New System.Windows.Forms.TextBox() - Me.label3 = New System.Windows.Forms.Label() - Me.textBoxParameterRequiredArea = New System.Windows.Forms.TextBox() - Me.label5 = New System.Windows.Forms.Label() - Me.label6 = New System.Windows.Forms.Label() - Me.checkBoxListReverse = New System.Windows.Forms.CheckBox() - Me.textBoxPad2 = New System.Windows.Forms.TextBox() - Me.label8 = New System.Windows.Forms.Label() - Me.textBoxParameterList1 = New System.Windows.Forms.TextBox() - Me.listBoxRooms = New System.Windows.Forms.ListBox() - Me.label4 = New System.Windows.Forms.Label() - Me.buttonCreate = New System.Windows.Forms.Button() - Me.label7 = New System.Windows.Forms.Label() - Me.groupBox1 = New System.Windows.Forms.GroupBox() - Me.StatusStrip1 = New System.Windows.Forms.StatusStrip() - Me.ToolStripProgressBar1 = New System.Windows.Forms.ToolStripProgressBar() - Me.ToolStripStatusLabel1 = New System.Windows.Forms.ToolStripStatusLabel() - Me.groupBox2.SuspendLayout() - Me.groupBox1.SuspendLayout() - Me.StatusStrip1.SuspendLayout() - Me.SuspendLayout() - ' - 'textBoxStartX - ' - Me.textBoxStartX.Location = New System.Drawing.Point(10, 63) - Me.textBoxStartX.Name = "textBoxStartX" - Me.textBoxStartX.Size = New System.Drawing.Size(114, 20) - Me.textBoxStartX.TabIndex = 1 - ' - 'label1 - ' - Me.label1.AutoSize = True - Me.label1.Location = New System.Drawing.Point(10, 48) - Me.label1.Name = "label1" - Me.label1.Size = New System.Drawing.Size(69, 13) - Me.label1.TabIndex = 2 - Me.label1.Text = "Start Point X:" - ' - 'buttonClose - ' - Me.buttonClose.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) - Me.buttonClose.Location = New System.Drawing.Point(456, 526) - Me.buttonClose.Name = "buttonClose" - Me.buttonClose.Size = New System.Drawing.Size(102, 51) - Me.buttonClose.TabIndex = 38 - Me.buttonClose.Text = "Close" - Me.buttonClose.UseVisualStyleBackColor = True - ' - 'checkBoxPad1 - ' - Me.checkBoxPad1.AutoSize = True - Me.checkBoxPad1.Location = New System.Drawing.Point(11, 61) - Me.checkBoxPad1.Name = "checkBoxPad1" - Me.checkBoxPad1.Size = New System.Drawing.Size(121, 17) - Me.checkBoxPad1.TabIndex = 20 - Me.checkBoxPad1.Text = "Pad Value w/ Zeros" - Me.checkBoxPad1.UseVisualStyleBackColor = True - ' - 'label9 - ' - Me.label9.AutoSize = True - Me.label9.Location = New System.Drawing.Point(132, 94) - Me.label9.Name = "label9" - Me.label9.Size = New System.Drawing.Size(53, 13) - Me.label9.TabIndex = 19 - Me.label9.Text = "Qty/Row:" - ' - 'textBoxParameterList2 - ' - Me.textBoxParameterList2.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _ - Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) - Me.textBoxParameterList2.Location = New System.Drawing.Point(11, 100) - Me.textBoxParameterList2.Name = "textBoxParameterList2" - Me.textBoxParameterList2.Size = New System.Drawing.Size(227, 20) - Me.textBoxParameterList2.TabIndex = 16 - ' - 'textBoxStartY - ' - Me.textBoxStartY.Location = New System.Drawing.Point(134, 63) - Me.textBoxStartY.Name = "textBoxStartY" - Me.textBoxStartY.Size = New System.Drawing.Size(103, 20) - Me.textBoxStartY.TabIndex = 3 - ' - 'checkBoxPad2 - ' - Me.checkBoxPad2.AutoSize = True - Me.checkBoxPad2.Location = New System.Drawing.Point(11, 126) - Me.checkBoxPad2.Name = "checkBoxPad2" - Me.checkBoxPad2.Size = New System.Drawing.Size(121, 17) - Me.checkBoxPad2.TabIndex = 21 - Me.checkBoxPad2.Text = "Pad Value w/ Zeros" - Me.checkBoxPad2.UseVisualStyleBackColor = True - ' - 'textBoxNoRow - ' - Me.textBoxNoRow.Location = New System.Drawing.Point(135, 109) - Me.textBoxNoRow.Name = "textBoxNoRow" - Me.textBoxNoRow.Size = New System.Drawing.Size(102, 20) - Me.textBoxNoRow.TabIndex = 18 - ' - 'label2 - ' - Me.label2.AutoSize = True - Me.label2.Location = New System.Drawing.Point(130, 48) - Me.label2.Name = "label2" - Me.label2.Size = New System.Drawing.Size(69, 13) - Me.label2.TabIndex = 4 - Me.label2.Text = "Start Point Y:" - ' - 'textBoxPad1 - ' - Me.textBoxPad1.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _ - Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) - Me.textBoxPad1.Location = New System.Drawing.Point(135, 58) - Me.textBoxPad1.Name = "textBoxPad1" - Me.textBoxPad1.Size = New System.Drawing.Size(103, 20) - Me.textBoxPad1.TabIndex = 22 - ' - 'groupBox2 - ' - Me.groupBox2.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) - Me.groupBox2.Controls.Add(Me.ButtonPickPoint) - Me.groupBox2.Controls.Add(Me.Label10) - Me.groupBox2.Controls.Add(Me.ComboBoxWallTypes) - Me.groupBox2.Controls.Add(Me.textBoxStartX) - Me.groupBox2.Controls.Add(Me.label1) - Me.groupBox2.Controls.Add(Me.label9) - Me.groupBox2.Controls.Add(Me.textBoxStartY) - Me.groupBox2.Controls.Add(Me.textBoxNoRow) - Me.groupBox2.Controls.Add(Me.label2) - Me.groupBox2.Controls.Add(Me.textBoxSpace) - Me.groupBox2.Controls.Add(Me.textBoxParameterRequiredDefault) - Me.groupBox2.Controls.Add(Me.label3) - Me.groupBox2.Controls.Add(Me.textBoxParameterRequiredArea) - Me.groupBox2.Controls.Add(Me.label5) - Me.groupBox2.Controls.Add(Me.label6) - Me.groupBox2.ForeColor = System.Drawing.SystemColors.ControlText - Me.groupBox2.Location = New System.Drawing.Point(308, 220) - Me.groupBox2.Name = "groupBox2" - Me.groupBox2.Size = New System.Drawing.Size(250, 298) - Me.groupBox2.TabIndex = 43 - Me.groupBox2.TabStop = False - Me.groupBox2.Text = "Processing Options" - ' - 'ButtonPickPoint - ' - Me.ButtonPickPoint.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _ - Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) - Me.ButtonPickPoint.Location = New System.Drawing.Point(11, 19) - Me.ButtonPickPoint.Name = "ButtonPickPoint" - Me.ButtonPickPoint.Size = New System.Drawing.Size(227, 25) - Me.ButtonPickPoint.TabIndex = 44 - Me.ButtonPickPoint.Text = "Pick Start Point" - Me.ButtonPickPoint.UseVisualStyleBackColor = True - ' - 'Label10 - ' - Me.Label10.AutoSize = True - Me.Label10.Location = New System.Drawing.Point(10, 242) - Me.Label10.Name = "Label10" - Me.Label10.Size = New System.Drawing.Size(92, 13) - Me.Label10.TabIndex = 45 - Me.Label10.Text = "Wall Type to Use:" - ' - 'ComboBoxWallTypes - ' - Me.ComboBoxWallTypes.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _ - Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) - Me.ComboBoxWallTypes.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList - Me.ComboBoxWallTypes.FormattingEnabled = True - Me.ComboBoxWallTypes.Location = New System.Drawing.Point(11, 260) - Me.ComboBoxWallTypes.Name = "ComboBoxWallTypes" - Me.ComboBoxWallTypes.Size = New System.Drawing.Size(226, 21) - Me.ComboBoxWallTypes.TabIndex = 44 - ' - 'textBoxSpace - ' - Me.textBoxSpace.Location = New System.Drawing.Point(10, 109) - Me.textBoxSpace.Name = "textBoxSpace" - Me.textBoxSpace.Size = New System.Drawing.Size(114, 20) - Me.textBoxSpace.TabIndex = 6 - ' - 'textBoxParameterRequiredDefault - ' - Me.textBoxParameterRequiredDefault.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _ - Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) - Me.textBoxParameterRequiredDefault.Location = New System.Drawing.Point(10, 210) - Me.textBoxParameterRequiredDefault.Name = "textBoxParameterRequiredDefault" - Me.textBoxParameterRequiredDefault.Size = New System.Drawing.Size(227, 20) - Me.textBoxParameterRequiredDefault.TabIndex = 12 - ' - 'label3 - ' - Me.label3.AutoSize = True - Me.label3.Location = New System.Drawing.Point(10, 94) - Me.label3.Name = "label3" - Me.label3.Size = New System.Drawing.Size(49, 13) - Me.label3.TabIndex = 7 - Me.label3.Text = "Spacing:" - ' - 'textBoxParameterRequiredArea - ' - Me.textBoxParameterRequiredArea.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _ - Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) - Me.textBoxParameterRequiredArea.Location = New System.Drawing.Point(10, 161) - Me.textBoxParameterRequiredArea.Name = "textBoxParameterRequiredArea" - Me.textBoxParameterRequiredArea.Size = New System.Drawing.Size(227, 20) - Me.textBoxParameterRequiredArea.TabIndex = 10 - ' - 'label5 - ' - Me.label5.AutoSize = True - Me.label5.Location = New System.Drawing.Point(9, 144) - Me.label5.Name = "label5" - Me.label5.Size = New System.Drawing.Size(129, 13) - Me.label5.TabIndex = 11 - Me.label5.Text = "Required Area Parameter:" - ' - 'label6 - ' - Me.label6.AutoSize = True - Me.label6.Location = New System.Drawing.Point(9, 193) - Me.label6.Name = "label6" - Me.label6.Size = New System.Drawing.Size(115, 13) - Me.label6.TabIndex = 13 - Me.label6.Text = "Default Required Area:" - ' - 'checkBoxListReverse - ' - Me.checkBoxListReverse.AutoSize = True - Me.checkBoxListReverse.Location = New System.Drawing.Point(11, 156) - Me.checkBoxListReverse.Name = "checkBoxListReverse" - Me.checkBoxListReverse.Size = New System.Drawing.Size(114, 17) - Me.checkBoxListReverse.TabIndex = 24 - Me.checkBoxListReverse.Text = "Reverse List Order" - Me.checkBoxListReverse.UseVisualStyleBackColor = True - ' - 'textBoxPad2 - ' - Me.textBoxPad2.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _ - Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) - Me.textBoxPad2.Location = New System.Drawing.Point(135, 123) - Me.textBoxPad2.Name = "textBoxPad2" - Me.textBoxPad2.Size = New System.Drawing.Size(103, 20) - Me.textBoxPad2.TabIndex = 23 - ' - 'label8 - ' - Me.label8.AutoSize = True - Me.label8.Location = New System.Drawing.Point(10, 85) - Me.label8.Name = "label8" - Me.label8.Size = New System.Drawing.Size(86, 13) - Me.label8.TabIndex = 17 - Me.label8.Text = "List Parameter 2:" - ' - 'textBoxParameterList1 - ' - Me.textBoxParameterList1.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _ - Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) - Me.textBoxParameterList1.Location = New System.Drawing.Point(11, 35) - Me.textBoxParameterList1.Name = "textBoxParameterList1" - Me.textBoxParameterList1.Size = New System.Drawing.Size(227, 20) - Me.textBoxParameterList1.TabIndex = 14 - ' - 'listBoxRooms - ' - Me.listBoxRooms.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _ - Or System.Windows.Forms.AnchorStyles.Left) _ - Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) - Me.listBoxRooms.FormattingEnabled = True - Me.listBoxRooms.Location = New System.Drawing.Point(13, 26) - Me.listBoxRooms.Name = "listBoxRooms" - Me.listBoxRooms.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended - Me.listBoxRooms.Size = New System.Drawing.Size(289, 550) - Me.listBoxRooms.TabIndex = 39 - ' - 'label4 - ' - Me.label4.AutoSize = True - Me.label4.Location = New System.Drawing.Point(12, 9) - Me.label4.Name = "label4" - Me.label4.Size = New System.Drawing.Size(118, 13) - Me.label4.TabIndex = 40 - Me.label4.Text = "Select Rooms to Place:" - ' - 'buttonCreate - ' - Me.buttonCreate.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) - Me.buttonCreate.Location = New System.Drawing.Point(308, 526) - Me.buttonCreate.Name = "buttonCreate" - Me.buttonCreate.Size = New System.Drawing.Size(142, 51) - Me.buttonCreate.TabIndex = 41 - Me.buttonCreate.Text = "Create Selected Rooms" - Me.buttonCreate.UseVisualStyleBackColor = True - ' - 'label7 - ' - Me.label7.AutoSize = True - Me.label7.Location = New System.Drawing.Point(10, 20) - Me.label7.Name = "label7" - Me.label7.Size = New System.Drawing.Size(86, 13) - Me.label7.TabIndex = 15 - Me.label7.Text = "List Parameter 1:" - ' - 'groupBox1 - ' - Me.groupBox1.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) - Me.groupBox1.Controls.Add(Me.textBoxParameterList1) - Me.groupBox1.Controls.Add(Me.checkBoxListReverse) - Me.groupBox1.Controls.Add(Me.label7) - Me.groupBox1.Controls.Add(Me.textBoxPad2) - Me.groupBox1.Controls.Add(Me.textBoxParameterList2) - Me.groupBox1.Controls.Add(Me.textBoxPad1) - Me.groupBox1.Controls.Add(Me.label8) - Me.groupBox1.Controls.Add(Me.checkBoxPad1) - Me.groupBox1.Controls.Add(Me.checkBoxPad2) - Me.groupBox1.ForeColor = System.Drawing.SystemColors.ControlText - Me.groupBox1.Location = New System.Drawing.Point(308, 26) - Me.groupBox1.Name = "groupBox1" - Me.groupBox1.Size = New System.Drawing.Size(250, 188) - Me.groupBox1.TabIndex = 42 - Me.groupBox1.TabStop = False - Me.groupBox1.Text = "List Selection Options" - ' - 'StatusStrip1 - ' - Me.StatusStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.ToolStripProgressBar1, Me.ToolStripStatusLabel1}) - Me.StatusStrip1.Location = New System.Drawing.Point(0, 600) - Me.StatusStrip1.Name = "StatusStrip1" - Me.StatusStrip1.Size = New System.Drawing.Size(570, 22) - Me.StatusStrip1.TabIndex = 44 - Me.StatusStrip1.Text = "StatusStrip1" - ' - 'ToolStripProgressBar1 - ' - Me.ToolStripProgressBar1.Name = "ToolStripProgressBar1" - Me.ToolStripProgressBar1.Size = New System.Drawing.Size(150, 16) - Me.ToolStripProgressBar1.Visible = False - ' - 'ToolStripStatusLabel1 - ' - Me.ToolStripStatusLabel1.Name = "ToolStripStatusLabel1" - Me.ToolStripStatusLabel1.Size = New System.Drawing.Size(39, 17) - Me.ToolStripStatusLabel1.Text = "Ready" - ' - 'form_ElemPlaceUnplacedRooms - ' - Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!) - Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font - Me.ClientSize = New System.Drawing.Size(570, 622) - Me.Controls.Add(Me.StatusStrip1) - Me.Controls.Add(Me.buttonClose) - Me.Controls.Add(Me.groupBox2) - Me.Controls.Add(Me.listBoxRooms) - Me.Controls.Add(Me.label4) - Me.Controls.Add(Me.buttonCreate) - Me.Controls.Add(Me.groupBox1) - Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon) - Me.MaximizeBox = False - Me.MaximumSize = New System.Drawing.Size(586, 660) - Me.MinimizeBox = False - Me.MinimumSize = New System.Drawing.Size(586, 660) - Me.Name = "form_ElemPlaceUnplacedRooms" - Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent - Me.Text = "Place Unplaced Rooms" - Me.TopMost = True - Me.groupBox2.ResumeLayout(False) - Me.groupBox2.PerformLayout() - Me.groupBox1.ResumeLayout(False) - Me.groupBox1.PerformLayout() - Me.StatusStrip1.ResumeLayout(False) - Me.StatusStrip1.PerformLayout() - Me.ResumeLayout(False) - Me.PerformLayout() - - End Sub - Private WithEvents textBoxStartX As System.Windows.Forms.TextBox - Private WithEvents label1 As System.Windows.Forms.Label - Private WithEvents buttonClose As System.Windows.Forms.Button - Private WithEvents checkBoxPad1 As System.Windows.Forms.CheckBox - Private WithEvents label9 As System.Windows.Forms.Label - Private WithEvents textBoxParameterList2 As System.Windows.Forms.TextBox - Private WithEvents textBoxStartY As System.Windows.Forms.TextBox - Private WithEvents checkBoxPad2 As System.Windows.Forms.CheckBox - Private WithEvents textBoxNoRow As System.Windows.Forms.TextBox - Private WithEvents label2 As System.Windows.Forms.Label - Private WithEvents textBoxPad1 As System.Windows.Forms.TextBox - Private WithEvents groupBox2 As System.Windows.Forms.GroupBox - Private WithEvents textBoxSpace As System.Windows.Forms.TextBox - Private WithEvents textBoxParameterRequiredDefault As System.Windows.Forms.TextBox - Private WithEvents label3 As System.Windows.Forms.Label - Private WithEvents textBoxParameterRequiredArea As System.Windows.Forms.TextBox - Private WithEvents label5 As System.Windows.Forms.Label - Private WithEvents label6 As System.Windows.Forms.Label - Private WithEvents checkBoxListReverse As System.Windows.Forms.CheckBox - Private WithEvents textBoxPad2 As System.Windows.Forms.TextBox - Private WithEvents label8 As System.Windows.Forms.Label - Private WithEvents textBoxParameterList1 As System.Windows.Forms.TextBox - Private WithEvents listBoxRooms As System.Windows.Forms.ListBox - Private WithEvents label4 As System.Windows.Forms.Label - Private WithEvents buttonCreate As System.Windows.Forms.Button - Private WithEvents label7 As System.Windows.Forms.Label - Private WithEvents groupBox1 As System.Windows.Forms.GroupBox - Friend WithEvents ComboBoxWallTypes As System.Windows.Forms.ComboBox - Private WithEvents Label10 As System.Windows.Forms.Label - Private WithEvents ButtonPickPoint As System.Windows.Forms.Button - Friend WithEvents StatusStrip1 As System.Windows.Forms.StatusStrip - Friend WithEvents ToolStripProgressBar1 As System.Windows.Forms.ToolStripProgressBar - Friend WithEvents ToolStripStatusLabel1 As System.Windows.Forms.ToolStripStatusLabel -End Class diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemRoomsFromAreas.Designer.vb b/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemRoomsFromAreas.Designer.vb deleted file mode 100644 index 17b0570d..00000000 --- a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemRoomsFromAreas.Designer.vb +++ /dev/null @@ -1,315 +0,0 @@ - _ -Partial Class form_ElemRoomsFromAreas - Inherits System.Windows.Forms.Form - - 'Form overrides dispose to clean up the component list. - _ - Protected Overrides Sub Dispose(ByVal disposing As Boolean) - Try - If disposing AndAlso components IsNot Nothing Then - components.Dispose() - End If - Finally - MyBase.Dispose(disposing) - End Try - End Sub - - 'Required by the Windows Form Designer - Private components As System.ComponentModel.IContainer - - 'NOTE: The following procedure is required by the Windows Form Designer - 'It can be modified using the Windows Form Designer. - 'Do not modify it using the code editor. - _ - Private Sub InitializeComponent() - Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(form_ElemRoomsFromAreas)) - Me.radioButtonPlaced = New System.Windows.Forms.RadioButton() - Me.groupBox1 = New System.Windows.Forms.GroupBox() - Me.checkBoxListReverse = New System.Windows.Forms.CheckBox() - Me.groupBoxPlaced = New System.Windows.Forms.GroupBox() - Me.radioButtonBoth = New System.Windows.Forms.RadioButton() - Me.radioButtonNotPlaced = New System.Windows.Forms.RadioButton() - Me.textBoxPad2 = New System.Windows.Forms.TextBox() - Me.textBoxPad1 = New System.Windows.Forms.TextBox() - Me.textBoxParameterList1 = New System.Windows.Forms.TextBox() - Me.label7 = New System.Windows.Forms.Label() - Me.textBoxParameterList2 = New System.Windows.Forms.TextBox() - Me.label8 = New System.Windows.Forms.Label() - Me.checkBoxPad1 = New System.Windows.Forms.CheckBox() - Me.checkBoxPad2 = New System.Windows.Forms.CheckBox() - Me.groupBox2 = New System.Windows.Forms.GroupBox() - Me.buttonCreate = New System.Windows.Forms.Button() - Me.label4 = New System.Windows.Forms.Label() - Me.buttonClose = New System.Windows.Forms.Button() - Me.listBoxAreas = New System.Windows.Forms.ListBox() - Me.StatusStrip1 = New System.Windows.Forms.StatusStrip() - Me.ToolStripProgressBar1 = New System.Windows.Forms.ToolStripProgressBar() - Me.ToolStripStatusLabel1 = New System.Windows.Forms.ToolStripStatusLabel() - Me.groupBox1.SuspendLayout() - Me.groupBoxPlaced.SuspendLayout() - Me.StatusStrip1.SuspendLayout() - Me.SuspendLayout() - ' - 'radioButtonPlaced - ' - Me.radioButtonPlaced.AutoSize = True - Me.radioButtonPlaced.Location = New System.Drawing.Point(11, 15) - Me.radioButtonPlaced.Name = "radioButtonPlaced" - Me.radioButtonPlaced.Size = New System.Drawing.Size(58, 17) - Me.radioButtonPlaced.TabIndex = 0 - Me.radioButtonPlaced.TabStop = True - Me.radioButtonPlaced.Text = "Placed" - Me.radioButtonPlaced.UseVisualStyleBackColor = True - ' - 'groupBox1 - ' - Me.groupBox1.Controls.Add(Me.checkBoxListReverse) - Me.groupBox1.Controls.Add(Me.groupBoxPlaced) - Me.groupBox1.Controls.Add(Me.textBoxPad2) - Me.groupBox1.Controls.Add(Me.textBoxPad1) - Me.groupBox1.Controls.Add(Me.textBoxParameterList1) - Me.groupBox1.Controls.Add(Me.label7) - Me.groupBox1.Controls.Add(Me.textBoxParameterList2) - Me.groupBox1.Controls.Add(Me.label8) - Me.groupBox1.Controls.Add(Me.checkBoxPad1) - Me.groupBox1.Controls.Add(Me.checkBoxPad2) - Me.groupBox1.ForeColor = System.Drawing.SystemColors.ControlText - Me.groupBox1.Location = New System.Drawing.Point(326, 18) - Me.groupBox1.Name = "groupBox1" - Me.groupBox1.Size = New System.Drawing.Size(178, 289) - Me.groupBox1.TabIndex = 57 - Me.groupBox1.TabStop = False - Me.groupBox1.Text = "List Selection Options" - ' - 'checkBoxListReverse - ' - Me.checkBoxListReverse.AutoSize = True - Me.checkBoxListReverse.Location = New System.Drawing.Point(15, 254) - Me.checkBoxListReverse.Name = "checkBoxListReverse" - Me.checkBoxListReverse.Size = New System.Drawing.Size(114, 17) - Me.checkBoxListReverse.TabIndex = 49 - Me.checkBoxListReverse.Text = "Reverse List Order" - Me.checkBoxListReverse.UseVisualStyleBackColor = True - ' - 'groupBoxPlaced - ' - Me.groupBoxPlaced.Controls.Add(Me.radioButtonBoth) - Me.groupBoxPlaced.Controls.Add(Me.radioButtonNotPlaced) - Me.groupBoxPlaced.Controls.Add(Me.radioButtonPlaced) - Me.groupBoxPlaced.ForeColor = System.Drawing.SystemColors.ControlText - Me.groupBoxPlaced.Location = New System.Drawing.Point(14, 19) - Me.groupBoxPlaced.Name = "groupBoxPlaced" - Me.groupBoxPlaced.Size = New System.Drawing.Size(150, 82) - Me.groupBoxPlaced.TabIndex = 50 - Me.groupBoxPlaced.TabStop = False - Me.groupBoxPlaced.Text = "Include" - ' - 'radioButtonBoth - ' - Me.radioButtonBoth.AutoSize = True - Me.radioButtonBoth.Location = New System.Drawing.Point(11, 56) - Me.radioButtonBoth.Name = "radioButtonBoth" - Me.radioButtonBoth.Size = New System.Drawing.Size(47, 17) - Me.radioButtonBoth.TabIndex = 2 - Me.radioButtonBoth.TabStop = True - Me.radioButtonBoth.Text = "Both" - Me.radioButtonBoth.UseVisualStyleBackColor = True - ' - 'radioButtonNotPlaced - ' - Me.radioButtonNotPlaced.AutoSize = True - Me.radioButtonNotPlaced.Location = New System.Drawing.Point(11, 35) - Me.radioButtonNotPlaced.Name = "radioButtonNotPlaced" - Me.radioButtonNotPlaced.Size = New System.Drawing.Size(78, 17) - Me.radioButtonNotPlaced.TabIndex = 1 - Me.radioButtonNotPlaced.TabStop = True - Me.radioButtonNotPlaced.Text = "Not Placed" - Me.radioButtonNotPlaced.UseVisualStyleBackColor = True - ' - 'textBoxPad2 - ' - Me.textBoxPad2.Location = New System.Drawing.Point(134, 215) - Me.textBoxPad2.Name = "textBoxPad2" - Me.textBoxPad2.Size = New System.Drawing.Size(31, 20) - Me.textBoxPad2.TabIndex = 48 - ' - 'textBoxPad1 - ' - Me.textBoxPad1.Location = New System.Drawing.Point(134, 147) - Me.textBoxPad1.Name = "textBoxPad1" - Me.textBoxPad1.Size = New System.Drawing.Size(31, 20) - Me.textBoxPad1.TabIndex = 47 - ' - 'textBoxParameterList1 - ' - Me.textBoxParameterList1.Location = New System.Drawing.Point(15, 125) - Me.textBoxParameterList1.Name = "textBoxParameterList1" - Me.textBoxParameterList1.Size = New System.Drawing.Size(151, 20) - Me.textBoxParameterList1.TabIndex = 39 - ' - 'label7 - ' - Me.label7.AutoSize = True - Me.label7.Location = New System.Drawing.Point(15, 110) - Me.label7.Name = "label7" - Me.label7.Size = New System.Drawing.Size(86, 13) - Me.label7.TabIndex = 40 - Me.label7.Text = "List Parameter 1:" - ' - 'textBoxParameterList2 - ' - Me.textBoxParameterList2.Location = New System.Drawing.Point(15, 193) - Me.textBoxParameterList2.Name = "textBoxParameterList2" - Me.textBoxParameterList2.Size = New System.Drawing.Size(151, 20) - Me.textBoxParameterList2.TabIndex = 41 - ' - 'label8 - ' - Me.label8.AutoSize = True - Me.label8.Location = New System.Drawing.Point(12, 178) - Me.label8.Name = "label8" - Me.label8.Size = New System.Drawing.Size(86, 13) - Me.label8.TabIndex = 42 - Me.label8.Text = "List Parameter 2:" - ' - 'checkBoxPad1 - ' - Me.checkBoxPad1.AutoSize = True - Me.checkBoxPad1.Location = New System.Drawing.Point(15, 150) - Me.checkBoxPad1.Name = "checkBoxPad1" - Me.checkBoxPad1.Size = New System.Drawing.Size(121, 17) - Me.checkBoxPad1.TabIndex = 45 - Me.checkBoxPad1.Text = "Pad Value w/ Zeros" - Me.checkBoxPad1.UseVisualStyleBackColor = True - ' - 'checkBoxPad2 - ' - Me.checkBoxPad2.AutoSize = True - Me.checkBoxPad2.Location = New System.Drawing.Point(15, 218) - Me.checkBoxPad2.Name = "checkBoxPad2" - Me.checkBoxPad2.Size = New System.Drawing.Size(121, 17) - Me.checkBoxPad2.TabIndex = 46 - Me.checkBoxPad2.Text = "Pad Value w/ Zeros" - Me.checkBoxPad2.UseVisualStyleBackColor = True - ' - 'groupBox2 - ' - Me.groupBox2.ForeColor = System.Drawing.SystemColors.ControlText - Me.groupBox2.Location = New System.Drawing.Point(326, 350) - Me.groupBox2.Name = "groupBox2" - Me.groupBox2.Size = New System.Drawing.Size(178, 81) - Me.groupBox2.TabIndex = 58 - Me.groupBox2.TabStop = False - Me.groupBox2.Text = "Processing Options" - ' - 'buttonCreate - ' - Me.buttonCreate.Location = New System.Drawing.Point(13, 448) - Me.buttonCreate.Name = "buttonCreate" - Me.buttonCreate.Size = New System.Drawing.Size(178, 29) - Me.buttonCreate.TabIndex = 56 - Me.buttonCreate.Text = "Create Rooms" - Me.buttonCreate.UseVisualStyleBackColor = True - ' - 'label4 - ' - Me.label4.AutoSize = True - Me.label4.Location = New System.Drawing.Point(12, 9) - Me.label4.Name = "label4" - Me.label4.Size = New System.Drawing.Size(162, 13) - Me.label4.TabIndex = 55 - Me.label4.Text = "Select Areas to Place as Rooms:" - ' - 'buttonClose - ' - Me.buttonClose.Location = New System.Drawing.Point(326, 448) - Me.buttonClose.Name = "buttonClose" - Me.buttonClose.Size = New System.Drawing.Size(178, 29) - Me.buttonClose.TabIndex = 53 - Me.buttonClose.Text = "Close" - Me.buttonClose.UseVisualStyleBackColor = True - ' - 'listBoxAreas - ' - Me.listBoxAreas.FormattingEnabled = True - Me.listBoxAreas.Location = New System.Drawing.Point(13, 37) - Me.listBoxAreas.Name = "listBoxAreas" - Me.listBoxAreas.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended - Me.listBoxAreas.Size = New System.Drawing.Size(300, 394) - Me.listBoxAreas.TabIndex = 54 - ' - 'StatusStrip1 - ' - Me.StatusStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.ToolStripProgressBar1, Me.ToolStripStatusLabel1}) - Me.StatusStrip1.Location = New System.Drawing.Point(0, 490) - Me.StatusStrip1.Name = "StatusStrip1" - Me.StatusStrip1.Size = New System.Drawing.Size(513, 22) - Me.StatusStrip1.TabIndex = 59 - Me.StatusStrip1.Text = "StatusStrip1" - ' - 'ToolStripProgressBar1 - ' - Me.ToolStripProgressBar1.Name = "ToolStripProgressBar1" - Me.ToolStripProgressBar1.Size = New System.Drawing.Size(150, 16) - Me.ToolStripProgressBar1.Visible = False - ' - 'ToolStripStatusLabel1 - ' - Me.ToolStripStatusLabel1.Name = "ToolStripStatusLabel1" - Me.ToolStripStatusLabel1.Size = New System.Drawing.Size(39, 17) - Me.ToolStripStatusLabel1.Text = "Ready" - ' - 'form_ElemRoomsFromAreas - ' - Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!) - Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font - Me.ClientSize = New System.Drawing.Size(513, 512) - Me.Controls.Add(Me.StatusStrip1) - Me.Controls.Add(Me.groupBox1) - Me.Controls.Add(Me.groupBox2) - Me.Controls.Add(Me.buttonCreate) - Me.Controls.Add(Me.label4) - Me.Controls.Add(Me.buttonClose) - Me.Controls.Add(Me.listBoxAreas) - Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon) - Me.MaximizeBox = False - Me.MaximumSize = New System.Drawing.Size(529, 550) - Me.MinimizeBox = False - Me.MinimumSize = New System.Drawing.Size(529, 550) - Me.Name = "form_ElemRoomsFromAreas" - Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent - Me.Text = "Rooms From Areas" - Me.TopMost = True - Me.groupBox1.ResumeLayout(False) - Me.groupBox1.PerformLayout() - Me.groupBoxPlaced.ResumeLayout(False) - Me.groupBoxPlaced.PerformLayout() - Me.StatusStrip1.ResumeLayout(False) - Me.StatusStrip1.PerformLayout() - Me.ResumeLayout(False) - Me.PerformLayout() - - End Sub - Private WithEvents radioButtonPlaced As System.Windows.Forms.RadioButton - Private WithEvents groupBox1 As System.Windows.Forms.GroupBox - Private WithEvents checkBoxListReverse As System.Windows.Forms.CheckBox - Private WithEvents groupBoxPlaced As System.Windows.Forms.GroupBox - Private WithEvents radioButtonBoth As System.Windows.Forms.RadioButton - Private WithEvents radioButtonNotPlaced As System.Windows.Forms.RadioButton - Private WithEvents textBoxPad2 As System.Windows.Forms.TextBox - Private WithEvents textBoxPad1 As System.Windows.Forms.TextBox - Private WithEvents textBoxParameterList1 As System.Windows.Forms.TextBox - Private WithEvents label7 As System.Windows.Forms.Label - Private WithEvents textBoxParameterList2 As System.Windows.Forms.TextBox - Private WithEvents label8 As System.Windows.Forms.Label - Private WithEvents checkBoxPad1 As System.Windows.Forms.CheckBox - Private WithEvents checkBoxPad2 As System.Windows.Forms.CheckBox - Private WithEvents groupBox2 As System.Windows.Forms.GroupBox - Private WithEvents buttonCreate As System.Windows.Forms.Button - Private WithEvents label4 As System.Windows.Forms.Label - Private WithEvents buttonClose As System.Windows.Forms.Button - Private WithEvents listBoxAreas As System.Windows.Forms.ListBox - Friend WithEvents StatusStrip1 As System.Windows.Forms.StatusStrip - Friend WithEvents ToolStripProgressBar1 As System.Windows.Forms.ToolStripProgressBar - Friend WithEvents ToolStripStatusLabel1 As System.Windows.Forms.ToolStripStatusLabel -End Class diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSheetsFromViews.Designer.vb b/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSheetsFromViews.Designer.vb deleted file mode 100644 index ee41a71b..00000000 --- a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSheetsFromViews.Designer.vb +++ /dev/null @@ -1,227 +0,0 @@ - _ -Partial Class form_ElemSheetsFromViews - Inherits System.Windows.Forms.Form - - 'Form overrides dispose to clean up the component list. - _ - Protected Overrides Sub Dispose(ByVal disposing As Boolean) - Try - If disposing AndAlso components IsNot Nothing Then - components.Dispose() - End If - Finally - MyBase.Dispose(disposing) - End Try - End Sub - - 'Required by the Windows Form Designer - Private components As System.ComponentModel.IContainer - - 'NOTE: The following procedure is required by the Windows Form Designer - 'It can be modified using the Windows Form Designer. - 'Do not modify it using the code editor. - _ - Private Sub InitializeComponent() - Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(form_ElemSheetsFromViews)) - Me.buttonSelect = New System.Windows.Forms.Button() - Me.folderBrowserDialogImages = New System.Windows.Forms.FolderBrowserDialog() - Me.textBoxTitleblock = New System.Windows.Forms.TextBox() - Me.label1 = New System.Windows.Forms.Label() - Me.checkBoxIncludeExisting = New System.Windows.Forms.CheckBox() - Me.buttonClose = New System.Windows.Forms.Button() - Me.checkBoxRestrictPrefix = New System.Windows.Forms.CheckBox() - Me.textBoxRestrictPrefixValue = New System.Windows.Forms.TextBox() - Me.groupBox1 = New System.Windows.Forms.GroupBox() - Me.checkBoxListReverse = New System.Windows.Forms.CheckBox() - Me.buttonCreate = New System.Windows.Forms.Button() - Me.listBoxViews = New System.Windows.Forms.ListBox() - Me.label4 = New System.Windows.Forms.Label() - Me.StatusStrip1 = New System.Windows.Forms.StatusStrip() - Me.ToolStripProgressBar1 = New System.Windows.Forms.ToolStripProgressBar() - Me.ToolStripStatusLabel1 = New System.Windows.Forms.ToolStripStatusLabel() - Me.groupBox1.SuspendLayout() - Me.StatusStrip1.SuspendLayout() - Me.SuspendLayout() - ' - 'buttonSelect - ' - Me.buttonSelect.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) - Me.buttonSelect.Location = New System.Drawing.Point(474, 21) - Me.buttonSelect.Name = "buttonSelect" - Me.buttonSelect.Size = New System.Drawing.Size(29, 26) - Me.buttonSelect.TabIndex = 43 - Me.buttonSelect.Text = "..." - Me.buttonSelect.UseVisualStyleBackColor = True - ' - 'textBoxTitleblock - ' - Me.textBoxTitleblock.Location = New System.Drawing.Point(12, 25) - Me.textBoxTitleblock.Name = "textBoxTitleblock" - Me.textBoxTitleblock.Size = New System.Drawing.Size(456, 20) - Me.textBoxTitleblock.TabIndex = 41 - ' - 'label1 - ' - Me.label1.AutoSize = True - Me.label1.Location = New System.Drawing.Point(12, 9) - Me.label1.Name = "label1" - Me.label1.Size = New System.Drawing.Size(166, 13) - Me.label1.TabIndex = 42 - Me.label1.Text = "Titleblock to Use for New Sheets:" - ' - 'checkBoxIncludeExisting - ' - Me.checkBoxIncludeExisting.AutoSize = True - Me.checkBoxIncludeExisting.Location = New System.Drawing.Point(11, 22) - Me.checkBoxIncludeExisting.Name = "checkBoxIncludeExisting" - Me.checkBoxIncludeExisting.Size = New System.Drawing.Size(145, 17) - Me.checkBoxIncludeExisting.TabIndex = 31 - Me.checkBoxIncludeExisting.Text = "List and Replace Existing" - Me.checkBoxIncludeExisting.UseVisualStyleBackColor = True - ' - 'buttonClose - ' - Me.buttonClose.Location = New System.Drawing.Point(325, 445) - Me.buttonClose.Name = "buttonClose" - Me.buttonClose.Size = New System.Drawing.Size(178, 29) - Me.buttonClose.TabIndex = 37 - Me.buttonClose.Text = "Close" - Me.buttonClose.UseVisualStyleBackColor = True - ' - 'checkBoxRestrictPrefix - ' - Me.checkBoxRestrictPrefix.AutoSize = True - Me.checkBoxRestrictPrefix.Location = New System.Drawing.Point(11, 56) - Me.checkBoxRestrictPrefix.Name = "checkBoxRestrictPrefix" - Me.checkBoxRestrictPrefix.Size = New System.Drawing.Size(158, 17) - Me.checkBoxRestrictPrefix.TabIndex = 29 - Me.checkBoxRestrictPrefix.Text = "Restrict to Names w/ Prefix:" - Me.checkBoxRestrictPrefix.UseVisualStyleBackColor = True - ' - 'textBoxRestrictPrefixValue - ' - Me.textBoxRestrictPrefixValue.Location = New System.Drawing.Point(11, 74) - Me.textBoxRestrictPrefixValue.Name = "textBoxRestrictPrefixValue" - Me.textBoxRestrictPrefixValue.Size = New System.Drawing.Size(151, 20) - Me.textBoxRestrictPrefixValue.TabIndex = 28 - ' - 'groupBox1 - ' - Me.groupBox1.Controls.Add(Me.checkBoxIncludeExisting) - Me.groupBox1.Controls.Add(Me.checkBoxRestrictPrefix) - Me.groupBox1.Controls.Add(Me.textBoxRestrictPrefixValue) - Me.groupBox1.Controls.Add(Me.checkBoxListReverse) - Me.groupBox1.ForeColor = System.Drawing.SystemColors.ControlText - Me.groupBox1.Location = New System.Drawing.Point(325, 69) - Me.groupBox1.Name = "groupBox1" - Me.groupBox1.Size = New System.Drawing.Size(178, 149) - Me.groupBox1.TabIndex = 44 - Me.groupBox1.TabStop = False - Me.groupBox1.Text = "List Selection Options" - ' - 'checkBoxListReverse - ' - Me.checkBoxListReverse.AutoSize = True - Me.checkBoxListReverse.Location = New System.Drawing.Point(11, 114) - Me.checkBoxListReverse.Name = "checkBoxListReverse" - Me.checkBoxListReverse.Size = New System.Drawing.Size(114, 17) - Me.checkBoxListReverse.TabIndex = 24 - Me.checkBoxListReverse.Text = "Reverse List Order" - Me.checkBoxListReverse.UseVisualStyleBackColor = True - ' - 'buttonCreate - ' - Me.buttonCreate.Location = New System.Drawing.Point(12, 445) - Me.buttonCreate.Name = "buttonCreate" - Me.buttonCreate.Size = New System.Drawing.Size(178, 29) - Me.buttonCreate.TabIndex = 40 - Me.buttonCreate.Text = "Create Sheets" - Me.buttonCreate.UseVisualStyleBackColor = True - ' - 'listBoxViews - ' - Me.listBoxViews.FormattingEnabled = True - Me.listBoxViews.Location = New System.Drawing.Point(12, 75) - Me.listBoxViews.Name = "listBoxViews" - Me.listBoxViews.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended - Me.listBoxViews.Size = New System.Drawing.Size(300, 355) - Me.listBoxViews.TabIndex = 38 - ' - 'label4 - ' - Me.label4.AutoSize = True - Me.label4.Location = New System.Drawing.Point(12, 59) - Me.label4.Name = "label4" - Me.label4.Size = New System.Drawing.Size(216, 13) - Me.label4.TabIndex = 39 - Me.label4.Text = "Select Views For Which to Create an Image:" - ' - 'StatusStrip1 - ' - Me.StatusStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.ToolStripProgressBar1, Me.ToolStripStatusLabel1}) - Me.StatusStrip1.Location = New System.Drawing.Point(0, 485) - Me.StatusStrip1.Name = "StatusStrip1" - Me.StatusStrip1.Size = New System.Drawing.Size(515, 22) - Me.StatusStrip1.TabIndex = 45 - Me.StatusStrip1.Text = "StatusStrip1" - ' - 'ToolStripProgressBar1 - ' - Me.ToolStripProgressBar1.Name = "ToolStripProgressBar1" - Me.ToolStripProgressBar1.Size = New System.Drawing.Size(150, 16) - Me.ToolStripProgressBar1.Visible = False - ' - 'ToolStripStatusLabel1 - ' - Me.ToolStripStatusLabel1.Name = "ToolStripStatusLabel1" - Me.ToolStripStatusLabel1.Size = New System.Drawing.Size(39, 17) - Me.ToolStripStatusLabel1.Text = "Ready" - ' - 'form_ElemSheetsFromViews - ' - Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!) - Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font - Me.ClientSize = New System.Drawing.Size(515, 507) - Me.Controls.Add(Me.StatusStrip1) - Me.Controls.Add(Me.buttonSelect) - Me.Controls.Add(Me.textBoxTitleblock) - Me.Controls.Add(Me.label1) - Me.Controls.Add(Me.buttonClose) - Me.Controls.Add(Me.groupBox1) - Me.Controls.Add(Me.buttonCreate) - Me.Controls.Add(Me.listBoxViews) - Me.Controls.Add(Me.label4) - Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon) - Me.MaximizeBox = False - Me.MaximumSize = New System.Drawing.Size(531, 545) - Me.MinimizeBox = False - Me.MinimumSize = New System.Drawing.Size(531, 524) - Me.Name = "form_ElemSheetsFromViews" - Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent - Me.Text = "Sheets From Views" - Me.TopMost = True - Me.groupBox1.ResumeLayout(False) - Me.groupBox1.PerformLayout() - Me.StatusStrip1.ResumeLayout(False) - Me.StatusStrip1.PerformLayout() - Me.ResumeLayout(False) - Me.PerformLayout() - - End Sub - Private WithEvents buttonSelect As System.Windows.Forms.Button - Private WithEvents folderBrowserDialogImages As System.Windows.Forms.FolderBrowserDialog - Private WithEvents textBoxTitleblock As System.Windows.Forms.TextBox - Private WithEvents label1 As System.Windows.Forms.Label - Private WithEvents checkBoxIncludeExisting As System.Windows.Forms.CheckBox - Private WithEvents buttonClose As System.Windows.Forms.Button - Private WithEvents checkBoxRestrictPrefix As System.Windows.Forms.CheckBox - Private WithEvents textBoxRestrictPrefixValue As System.Windows.Forms.TextBox - Private WithEvents groupBox1 As System.Windows.Forms.GroupBox - Private WithEvents checkBoxListReverse As System.Windows.Forms.CheckBox - Private WithEvents buttonCreate As System.Windows.Forms.Button - Private WithEvents listBoxViews As System.Windows.Forms.ListBox - Private WithEvents label4 As System.Windows.Forms.Label - Friend WithEvents StatusStrip1 As System.Windows.Forms.StatusStrip - Friend WithEvents ToolStripProgressBar1 As System.Windows.Forms.ToolStripProgressBar - Friend WithEvents ToolStripStatusLabel1 As System.Windows.Forms.ToolStripStatusLabel -End Class diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemTagViews.Designer.vb b/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemTagViews.Designer.vb deleted file mode 100644 index 9de88fb9..00000000 --- a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemTagViews.Designer.vb +++ /dev/null @@ -1,312 +0,0 @@ - _ -Partial Class form_ElemTagViews - Inherits System.Windows.Forms.Form - - 'Form overrides dispose to clean up the component list. - _ - Protected Overrides Sub Dispose(ByVal disposing As Boolean) - Try - If disposing AndAlso components IsNot Nothing Then - components.Dispose() - End If - Finally - MyBase.Dispose(disposing) - End Try - End Sub - - 'Required by the Windows Form Designer - Private components As System.ComponentModel.IContainer - - 'NOTE: The following procedure is required by the Windows Form Designer - 'It can be modified using the Windows Form Designer. - 'Do not modify it using the code editor. - _ - Private Sub InitializeComponent() - Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(form_ElemTagViews)) - Me.groupBox2 = New System.Windows.Forms.GroupBox() - Me.checkBoxStripSuffix = New System.Windows.Forms.CheckBox() - Me.textBoxPrefixViewSource = New System.Windows.Forms.TextBox() - Me.label3 = New System.Windows.Forms.Label() - Me.textBoxParameterViewName = New System.Windows.Forms.TextBox() - Me.label2 = New System.Windows.Forms.Label() - Me.groupBox1 = New System.Windows.Forms.GroupBox() - Me.label5 = New System.Windows.Forms.Label() - Me.textBoxRestrictPrefixValue = New System.Windows.Forms.TextBox() - Me.checkBoxListReverse = New System.Windows.Forms.CheckBox() - Me.checkBoxRestrictPrefix = New System.Windows.Forms.CheckBox() - Me.checkBoxIncludeExisting = New System.Windows.Forms.CheckBox() - Me.buttonSelect = New System.Windows.Forms.Button() - Me.folderBrowserDialogImages = New System.Windows.Forms.FolderBrowserDialog() - Me.buttonAddTags = New System.Windows.Forms.Button() - Me.listBoxViews = New System.Windows.Forms.ListBox() - Me.label4 = New System.Windows.Forms.Label() - Me.textBoxRoomTag = New System.Windows.Forms.TextBox() - Me.label1 = New System.Windows.Forms.Label() - Me.buttonClose = New System.Windows.Forms.Button() - Me.StatusStrip1 = New System.Windows.Forms.StatusStrip() - Me.ToolStripProgressBar1 = New System.Windows.Forms.ToolStripProgressBar() - Me.ToolStripStatusLabel1 = New System.Windows.Forms.ToolStripStatusLabel() - Me.groupBox2.SuspendLayout() - Me.groupBox1.SuspendLayout() - Me.StatusStrip1.SuspendLayout() - Me.SuspendLayout() - ' - 'groupBox2 - ' - Me.groupBox2.Controls.Add(Me.checkBoxStripSuffix) - Me.groupBox2.Controls.Add(Me.textBoxPrefixViewSource) - Me.groupBox2.Controls.Add(Me.label3) - Me.groupBox2.Controls.Add(Me.textBoxParameterViewName) - Me.groupBox2.Controls.Add(Me.label2) - Me.groupBox2.ForeColor = System.Drawing.SystemColors.ControlText - Me.groupBox2.Location = New System.Drawing.Point(325, 243) - Me.groupBox2.Name = "groupBox2" - Me.groupBox2.Size = New System.Drawing.Size(178, 161) - Me.groupBox2.TabIndex = 47 - Me.groupBox2.TabStop = False - Me.groupBox2.Text = "Processing Options" - ' - 'checkBoxStripSuffix - ' - Me.checkBoxStripSuffix.AutoSize = True - Me.checkBoxStripSuffix.Location = New System.Drawing.Point(9, 128) - Me.checkBoxStripSuffix.Name = "checkBoxStripSuffix" - Me.checkBoxStripSuffix.Size = New System.Drawing.Size(102, 17) - Me.checkBoxStripSuffix.TabIndex = 38 - Me.checkBoxStripSuffix.Text = "Strip Suffix (-2D)" - Me.checkBoxStripSuffix.UseVisualStyleBackColor = True - ' - 'textBoxPrefixViewSource - ' - Me.textBoxPrefixViewSource.Location = New System.Drawing.Point(9, 93) - Me.textBoxPrefixViewSource.Name = "textBoxPrefixViewSource" - Me.textBoxPrefixViewSource.Size = New System.Drawing.Size(161, 20) - Me.textBoxPrefixViewSource.TabIndex = 37 - ' - 'label3 - ' - Me.label3.AutoSize = True - Me.label3.Location = New System.Drawing.Point(6, 76) - Me.label3.Name = "label3" - Me.label3.Size = New System.Drawing.Size(93, 13) - Me.label3.TabIndex = 0 - Me.label3.Text = "View Name Prefix:" - ' - 'textBoxParameterViewName - ' - Me.textBoxParameterViewName.Location = New System.Drawing.Point(9, 42) - Me.textBoxParameterViewName.Name = "textBoxParameterViewName" - Me.textBoxParameterViewName.Size = New System.Drawing.Size(161, 20) - Me.textBoxParameterViewName.TabIndex = 35 - ' - 'label2 - ' - Me.label2.AutoSize = True - Me.label2.Location = New System.Drawing.Point(9, 27) - Me.label2.Name = "label2" - Me.label2.Size = New System.Drawing.Size(149, 13) - Me.label2.TabIndex = 36 - Me.label2.Text = "Room Parameter - View Name" - ' - 'groupBox1 - ' - Me.groupBox1.Controls.Add(Me.label5) - Me.groupBox1.Controls.Add(Me.textBoxRestrictPrefixValue) - Me.groupBox1.Controls.Add(Me.checkBoxListReverse) - Me.groupBox1.Controls.Add(Me.checkBoxRestrictPrefix) - Me.groupBox1.Controls.Add(Me.checkBoxIncludeExisting) - Me.groupBox1.ForeColor = System.Drawing.SystemColors.ControlText - Me.groupBox1.Location = New System.Drawing.Point(325, 69) - Me.groupBox1.Name = "groupBox1" - Me.groupBox1.Size = New System.Drawing.Size(178, 168) - Me.groupBox1.TabIndex = 46 - Me.groupBox1.TabStop = False - Me.groupBox1.Text = "List Selection Options" - ' - 'label5 - ' - Me.label5.AutoSize = True - Me.label5.Location = New System.Drawing.Point(10, 128) - Me.label5.Name = "label5" - Me.label5.Size = New System.Drawing.Size(125, 26) - Me.label5.TabIndex = 32 - Me.label5.Text = "Note: Only 2D views are" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "supported at this time." - ' - 'textBoxRestrictPrefixValue - ' - Me.textBoxRestrictPrefixValue.Location = New System.Drawing.Point(12, 66) - Me.textBoxRestrictPrefixValue.Name = "textBoxRestrictPrefixValue" - Me.textBoxRestrictPrefixValue.Size = New System.Drawing.Size(158, 20) - Me.textBoxRestrictPrefixValue.TabIndex = 28 - ' - 'checkBoxListReverse - ' - Me.checkBoxListReverse.AutoSize = True - Me.checkBoxListReverse.Location = New System.Drawing.Point(12, 100) - Me.checkBoxListReverse.Name = "checkBoxListReverse" - Me.checkBoxListReverse.Size = New System.Drawing.Size(114, 17) - Me.checkBoxListReverse.TabIndex = 24 - Me.checkBoxListReverse.Text = "Reverse List Order" - Me.checkBoxListReverse.UseVisualStyleBackColor = True - ' - 'checkBoxRestrictPrefix - ' - Me.checkBoxRestrictPrefix.AutoSize = True - Me.checkBoxRestrictPrefix.Location = New System.Drawing.Point(12, 48) - Me.checkBoxRestrictPrefix.Name = "checkBoxRestrictPrefix" - Me.checkBoxRestrictPrefix.Size = New System.Drawing.Size(158, 17) - Me.checkBoxRestrictPrefix.TabIndex = 29 - Me.checkBoxRestrictPrefix.Text = "Restrict to Names w/ Prefix:" - Me.checkBoxRestrictPrefix.UseVisualStyleBackColor = True - ' - 'checkBoxIncludeExisting - ' - Me.checkBoxIncludeExisting.AutoSize = True - Me.checkBoxIncludeExisting.Location = New System.Drawing.Point(12, 19) - Me.checkBoxIncludeExisting.Name = "checkBoxIncludeExisting" - Me.checkBoxIncludeExisting.Size = New System.Drawing.Size(120, 17) - Me.checkBoxIncludeExisting.TabIndex = 31 - Me.checkBoxIncludeExisting.Text = "List Already Tagged" - Me.checkBoxIncludeExisting.UseVisualStyleBackColor = True - ' - 'buttonSelect - ' - Me.buttonSelect.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) - Me.buttonSelect.Location = New System.Drawing.Point(474, 21) - Me.buttonSelect.Name = "buttonSelect" - Me.buttonSelect.Size = New System.Drawing.Size(29, 26) - Me.buttonSelect.TabIndex = 45 - Me.buttonSelect.Text = "..." - Me.buttonSelect.UseVisualStyleBackColor = True - ' - 'buttonAddTags - ' - Me.buttonAddTags.Location = New System.Drawing.Point(12, 445) - Me.buttonAddTags.Name = "buttonAddTags" - Me.buttonAddTags.Size = New System.Drawing.Size(178, 29) - Me.buttonAddTags.TabIndex = 42 - Me.buttonAddTags.Text = "Add Tags" - Me.buttonAddTags.UseVisualStyleBackColor = True - ' - 'listBoxViews - ' - Me.listBoxViews.FormattingEnabled = True - Me.listBoxViews.Location = New System.Drawing.Point(12, 75) - Me.listBoxViews.Name = "listBoxViews" - Me.listBoxViews.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended - Me.listBoxViews.Size = New System.Drawing.Size(300, 355) - Me.listBoxViews.TabIndex = 40 - ' - 'label4 - ' - Me.label4.AutoSize = True - Me.label4.Location = New System.Drawing.Point(12, 59) - Me.label4.Name = "label4" - Me.label4.Size = New System.Drawing.Size(172, 13) - Me.label4.TabIndex = 41 - Me.label4.Text = "Select Views in Which to Add Tag:" - ' - 'textBoxRoomTag - ' - Me.textBoxRoomTag.Location = New System.Drawing.Point(12, 25) - Me.textBoxRoomTag.Name = "textBoxRoomTag" - Me.textBoxRoomTag.Size = New System.Drawing.Size(456, 20) - Me.textBoxRoomTag.TabIndex = 43 - ' - 'label1 - ' - Me.label1.AutoSize = True - Me.label1.Location = New System.Drawing.Point(12, 9) - Me.label1.Name = "label1" - Me.label1.Size = New System.Drawing.Size(142, 13) - Me.label1.TabIndex = 44 - Me.label1.Text = "Room Tag to Add to Rooms:" - ' - 'buttonClose - ' - Me.buttonClose.Location = New System.Drawing.Point(325, 445) - Me.buttonClose.Name = "buttonClose" - Me.buttonClose.Size = New System.Drawing.Size(178, 29) - Me.buttonClose.TabIndex = 39 - Me.buttonClose.Text = "Close" - Me.buttonClose.UseVisualStyleBackColor = True - ' - 'StatusStrip1 - ' - Me.StatusStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.ToolStripProgressBar1, Me.ToolStripStatusLabel1}) - Me.StatusStrip1.Location = New System.Drawing.Point(0, 485) - Me.StatusStrip1.Name = "StatusStrip1" - Me.StatusStrip1.Size = New System.Drawing.Size(514, 22) - Me.StatusStrip1.TabIndex = 48 - Me.StatusStrip1.Text = "StatusStrip1" - ' - 'ToolStripProgressBar1 - ' - Me.ToolStripProgressBar1.Name = "ToolStripProgressBar1" - Me.ToolStripProgressBar1.Size = New System.Drawing.Size(150, 16) - Me.ToolStripProgressBar1.Visible = False - ' - 'ToolStripStatusLabel1 - ' - Me.ToolStripStatusLabel1.Name = "ToolStripStatusLabel1" - Me.ToolStripStatusLabel1.Size = New System.Drawing.Size(39, 17) - Me.ToolStripStatusLabel1.Text = "Ready" - ' - 'form_ElemTagViews - ' - Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!) - Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font - Me.ClientSize = New System.Drawing.Size(514, 507) - Me.Controls.Add(Me.StatusStrip1) - Me.Controls.Add(Me.groupBox2) - Me.Controls.Add(Me.groupBox1) - Me.Controls.Add(Me.buttonSelect) - Me.Controls.Add(Me.buttonAddTags) - Me.Controls.Add(Me.listBoxViews) - Me.Controls.Add(Me.label4) - Me.Controls.Add(Me.textBoxRoomTag) - Me.Controls.Add(Me.label1) - Me.Controls.Add(Me.buttonClose) - Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon) - Me.MaximizeBox = False - Me.MaximumSize = New System.Drawing.Size(530, 545) - Me.MinimizeBox = False - Me.MinimumSize = New System.Drawing.Size(530, 524) - Me.Name = "form_ElemTagViews" - Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent - Me.Text = "Tag Views" - Me.TopMost = True - Me.groupBox2.ResumeLayout(False) - Me.groupBox2.PerformLayout() - Me.groupBox1.ResumeLayout(False) - Me.groupBox1.PerformLayout() - Me.StatusStrip1.ResumeLayout(False) - Me.StatusStrip1.PerformLayout() - Me.ResumeLayout(False) - Me.PerformLayout() - - End Sub - Private WithEvents groupBox2 As System.Windows.Forms.GroupBox - Private WithEvents checkBoxStripSuffix As System.Windows.Forms.CheckBox - Private WithEvents textBoxPrefixViewSource As System.Windows.Forms.TextBox - Private WithEvents label3 As System.Windows.Forms.Label - Private WithEvents textBoxParameterViewName As System.Windows.Forms.TextBox - Private WithEvents label2 As System.Windows.Forms.Label - Private WithEvents groupBox1 As System.Windows.Forms.GroupBox - Private WithEvents label5 As System.Windows.Forms.Label - Private WithEvents textBoxRestrictPrefixValue As System.Windows.Forms.TextBox - Private WithEvents checkBoxListReverse As System.Windows.Forms.CheckBox - Private WithEvents checkBoxRestrictPrefix As System.Windows.Forms.CheckBox - Private WithEvents checkBoxIncludeExisting As System.Windows.Forms.CheckBox - Private WithEvents buttonSelect As System.Windows.Forms.Button - Private WithEvents folderBrowserDialogImages As System.Windows.Forms.FolderBrowserDialog - Private WithEvents buttonAddTags As System.Windows.Forms.Button - Private WithEvents listBoxViews As System.Windows.Forms.ListBox - Private WithEvents label4 As System.Windows.Forms.Label - Private WithEvents textBoxRoomTag As System.Windows.Forms.TextBox - Private WithEvents label1 As System.Windows.Forms.Label - Private WithEvents buttonClose As System.Windows.Forms.Button - Friend WithEvents StatusStrip1 As System.Windows.Forms.StatusStrip - Friend WithEvents ToolStripProgressBar1 As System.Windows.Forms.ToolStripProgressBar - Friend WithEvents ToolStripStatusLabel1 As System.Windows.Forms.ToolStripStatusLabel -End Class diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemTagViewsArea.Designer.vb b/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemTagViewsArea.Designer.vb deleted file mode 100644 index 32043c96..00000000 --- a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemTagViewsArea.Designer.vb +++ /dev/null @@ -1,308 +0,0 @@ - _ -Partial Class form_ElemTagViewsArea - Inherits System.Windows.Forms.Form - - 'Form overrides dispose to clean up the component list. - _ - Protected Overrides Sub Dispose(ByVal disposing As Boolean) - Try - If disposing AndAlso components IsNot Nothing Then - components.Dispose() - End If - Finally - MyBase.Dispose(disposing) - End Try - End Sub - - 'Required by the Windows Form Designer - Private components As System.ComponentModel.IContainer - - 'NOTE: The following procedure is required by the Windows Form Designer - 'It can be modified using the Windows Form Designer. - 'Do not modify it using the code editor. - _ - Private Sub InitializeComponent() - Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(form_ElemTagViewsArea)) - Me.groupBox2 = New System.Windows.Forms.GroupBox() - Me.checkBoxStripSuffix = New System.Windows.Forms.CheckBox() - Me.textBoxPrefixViewSource = New System.Windows.Forms.TextBox() - Me.label3 = New System.Windows.Forms.Label() - Me.textBoxParameterViewName = New System.Windows.Forms.TextBox() - Me.label2 = New System.Windows.Forms.Label() - Me.groupBox1 = New System.Windows.Forms.GroupBox() - Me.label5 = New System.Windows.Forms.Label() - Me.textBoxRestrictPrefixValue = New System.Windows.Forms.TextBox() - Me.checkBoxListReverse = New System.Windows.Forms.CheckBox() - Me.checkBoxRestrictPrefix = New System.Windows.Forms.CheckBox() - Me.checkBoxIncludeExisting = New System.Windows.Forms.CheckBox() - Me.buttonSelect = New System.Windows.Forms.Button() - Me.buttonAddTags = New System.Windows.Forms.Button() - Me.listBoxViews = New System.Windows.Forms.ListBox() - Me.label4 = New System.Windows.Forms.Label() - Me.textBoxAreaTag = New System.Windows.Forms.TextBox() - Me.label1 = New System.Windows.Forms.Label() - Me.buttonClose = New System.Windows.Forms.Button() - Me.folderBrowserDialogImages = New System.Windows.Forms.FolderBrowserDialog() - Me.StatusStrip1 = New System.Windows.Forms.StatusStrip() - Me.ToolStripProgressBar1 = New System.Windows.Forms.ToolStripProgressBar() - Me.ToolStripStatusLabel1 = New System.Windows.Forms.ToolStripStatusLabel() - Me.groupBox2.SuspendLayout() - Me.groupBox1.SuspendLayout() - Me.StatusStrip1.SuspendLayout() - Me.SuspendLayout() - ' - 'groupBox2 - ' - Me.groupBox2.Controls.Add(Me.checkBoxStripSuffix) - Me.groupBox2.Controls.Add(Me.textBoxPrefixViewSource) - Me.groupBox2.Controls.Add(Me.label3) - Me.groupBox2.Controls.Add(Me.textBoxParameterViewName) - Me.groupBox2.Controls.Add(Me.label2) - Me.groupBox2.ForeColor = System.Drawing.SystemColors.ControlText - Me.groupBox2.Location = New System.Drawing.Point(325, 245) - Me.groupBox2.Name = "groupBox2" - Me.groupBox2.Size = New System.Drawing.Size(178, 161) - Me.groupBox2.TabIndex = 56 - Me.groupBox2.TabStop = False - Me.groupBox2.Text = "Processing Options" - ' - 'checkBoxStripSuffix - ' - Me.checkBoxStripSuffix.AutoSize = True - Me.checkBoxStripSuffix.Location = New System.Drawing.Point(9, 128) - Me.checkBoxStripSuffix.Name = "checkBoxStripSuffix" - Me.checkBoxStripSuffix.Size = New System.Drawing.Size(102, 17) - Me.checkBoxStripSuffix.TabIndex = 38 - Me.checkBoxStripSuffix.Text = "Strip Suffix (-2D)" - Me.checkBoxStripSuffix.UseVisualStyleBackColor = True - ' - 'textBoxPrefixViewSource - ' - Me.textBoxPrefixViewSource.Location = New System.Drawing.Point(9, 93) - Me.textBoxPrefixViewSource.Name = "textBoxPrefixViewSource" - Me.textBoxPrefixViewSource.Size = New System.Drawing.Size(161, 20) - Me.textBoxPrefixViewSource.TabIndex = 37 - ' - 'label3 - ' - Me.label3.AutoSize = True - Me.label3.Location = New System.Drawing.Point(6, 76) - Me.label3.Name = "label3" - Me.label3.Size = New System.Drawing.Size(93, 13) - Me.label3.TabIndex = 0 - Me.label3.Text = "View Name Prefix:" - ' - 'textBoxParameterViewName - ' - Me.textBoxParameterViewName.Location = New System.Drawing.Point(9, 42) - Me.textBoxParameterViewName.Name = "textBoxParameterViewName" - Me.textBoxParameterViewName.Size = New System.Drawing.Size(161, 20) - Me.textBoxParameterViewName.TabIndex = 35 - ' - 'label2 - ' - Me.label2.AutoSize = True - Me.label2.Location = New System.Drawing.Point(9, 27) - Me.label2.Name = "label2" - Me.label2.Size = New System.Drawing.Size(143, 13) - Me.label2.TabIndex = 36 - Me.label2.Text = "Area Parameter - View Name" - ' - 'groupBox1 - ' - Me.groupBox1.Controls.Add(Me.label5) - Me.groupBox1.Controls.Add(Me.textBoxRestrictPrefixValue) - Me.groupBox1.Controls.Add(Me.checkBoxListReverse) - Me.groupBox1.Controls.Add(Me.checkBoxRestrictPrefix) - Me.groupBox1.Controls.Add(Me.checkBoxIncludeExisting) - Me.groupBox1.ForeColor = System.Drawing.SystemColors.ControlText - Me.groupBox1.Location = New System.Drawing.Point(325, 71) - Me.groupBox1.Name = "groupBox1" - Me.groupBox1.Size = New System.Drawing.Size(178, 168) - Me.groupBox1.TabIndex = 55 - Me.groupBox1.TabStop = False - Me.groupBox1.Text = "List Selection Options" - ' - 'label5 - ' - Me.label5.AutoSize = True - Me.label5.Location = New System.Drawing.Point(10, 128) - Me.label5.Name = "label5" - Me.label5.Size = New System.Drawing.Size(125, 26) - Me.label5.TabIndex = 32 - Me.label5.Text = "Note: Only 2D views are" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "supported at this time." - ' - 'textBoxRestrictPrefixValue - ' - Me.textBoxRestrictPrefixValue.Location = New System.Drawing.Point(12, 66) - Me.textBoxRestrictPrefixValue.Name = "textBoxRestrictPrefixValue" - Me.textBoxRestrictPrefixValue.Size = New System.Drawing.Size(158, 20) - Me.textBoxRestrictPrefixValue.TabIndex = 28 - ' - 'checkBoxListReverse - ' - Me.checkBoxListReverse.AutoSize = True - Me.checkBoxListReverse.Location = New System.Drawing.Point(12, 100) - Me.checkBoxListReverse.Name = "checkBoxListReverse" - Me.checkBoxListReverse.Size = New System.Drawing.Size(114, 17) - Me.checkBoxListReverse.TabIndex = 24 - Me.checkBoxListReverse.Text = "Reverse List Order" - Me.checkBoxListReverse.UseVisualStyleBackColor = True - ' - 'checkBoxRestrictPrefix - ' - Me.checkBoxRestrictPrefix.AutoSize = True - Me.checkBoxRestrictPrefix.Location = New System.Drawing.Point(12, 48) - Me.checkBoxRestrictPrefix.Name = "checkBoxRestrictPrefix" - Me.checkBoxRestrictPrefix.Size = New System.Drawing.Size(158, 17) - Me.checkBoxRestrictPrefix.TabIndex = 29 - Me.checkBoxRestrictPrefix.Text = "Restrict to Names w/ Prefix:" - Me.checkBoxRestrictPrefix.UseVisualStyleBackColor = True - ' - 'checkBoxIncludeExisting - ' - Me.checkBoxIncludeExisting.AutoSize = True - Me.checkBoxIncludeExisting.Location = New System.Drawing.Point(12, 19) - Me.checkBoxIncludeExisting.Name = "checkBoxIncludeExisting" - Me.checkBoxIncludeExisting.Size = New System.Drawing.Size(120, 17) - Me.checkBoxIncludeExisting.TabIndex = 31 - Me.checkBoxIncludeExisting.Text = "List Already Tagged" - Me.checkBoxIncludeExisting.UseVisualStyleBackColor = True - ' - 'buttonSelect - ' - Me.buttonSelect.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) - Me.buttonSelect.Location = New System.Drawing.Point(474, 23) - Me.buttonSelect.Name = "buttonSelect" - Me.buttonSelect.Size = New System.Drawing.Size(29, 26) - Me.buttonSelect.TabIndex = 54 - Me.buttonSelect.Text = "..." - Me.buttonSelect.UseVisualStyleBackColor = True - ' - 'buttonAddTags - ' - Me.buttonAddTags.Location = New System.Drawing.Point(12, 447) - Me.buttonAddTags.Name = "buttonAddTags" - Me.buttonAddTags.Size = New System.Drawing.Size(178, 29) - Me.buttonAddTags.TabIndex = 51 - Me.buttonAddTags.Text = "Add Tags" - Me.buttonAddTags.UseVisualStyleBackColor = True - ' - 'listBoxViews - ' - Me.listBoxViews.FormattingEnabled = True - Me.listBoxViews.Location = New System.Drawing.Point(12, 77) - Me.listBoxViews.Name = "listBoxViews" - Me.listBoxViews.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended - Me.listBoxViews.Size = New System.Drawing.Size(300, 355) - Me.listBoxViews.TabIndex = 49 - ' - 'label4 - ' - Me.label4.AutoSize = True - Me.label4.Location = New System.Drawing.Point(12, 61) - Me.label4.Name = "label4" - Me.label4.Size = New System.Drawing.Size(172, 13) - Me.label4.TabIndex = 50 - Me.label4.Text = "Select Views in Which to Add Tag:" - ' - 'textBoxAreaTag - ' - Me.textBoxAreaTag.Location = New System.Drawing.Point(12, 27) - Me.textBoxAreaTag.Name = "textBoxAreaTag" - Me.textBoxAreaTag.Size = New System.Drawing.Size(456, 20) - Me.textBoxAreaTag.TabIndex = 52 - ' - 'label1 - ' - Me.label1.AutoSize = True - Me.label1.Location = New System.Drawing.Point(12, 11) - Me.label1.Name = "label1" - Me.label1.Size = New System.Drawing.Size(130, 13) - Me.label1.TabIndex = 53 - Me.label1.Text = "Area Tag to Add to Areas:" - ' - 'buttonClose - ' - Me.buttonClose.Location = New System.Drawing.Point(325, 447) - Me.buttonClose.Name = "buttonClose" - Me.buttonClose.Size = New System.Drawing.Size(178, 29) - Me.buttonClose.TabIndex = 48 - Me.buttonClose.Text = "Close" - Me.buttonClose.UseVisualStyleBackColor = True - ' - 'StatusStrip1 - ' - Me.StatusStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.ToolStripProgressBar1, Me.ToolStripStatusLabel1}) - Me.StatusStrip1.Location = New System.Drawing.Point(0, 485) - Me.StatusStrip1.Name = "StatusStrip1" - Me.StatusStrip1.Size = New System.Drawing.Size(514, 22) - Me.StatusStrip1.TabIndex = 57 - Me.StatusStrip1.Text = "StatusStrip1" - ' - 'ToolStripProgressBar1 - ' - Me.ToolStripProgressBar1.Name = "ToolStripProgressBar1" - Me.ToolStripProgressBar1.Size = New System.Drawing.Size(150, 16) - Me.ToolStripProgressBar1.Visible = False - ' - 'ToolStripStatusLabel1 - ' - Me.ToolStripStatusLabel1.Name = "ToolStripStatusLabel1" - Me.ToolStripStatusLabel1.Size = New System.Drawing.Size(39, 17) - Me.ToolStripStatusLabel1.Text = "Ready" - ' - 'form_ElemTagViewsArea - ' - Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!) - Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font - Me.ClientSize = New System.Drawing.Size(514, 507) - Me.Controls.Add(Me.StatusStrip1) - Me.Controls.Add(Me.groupBox2) - Me.Controls.Add(Me.groupBox1) - Me.Controls.Add(Me.buttonSelect) - Me.Controls.Add(Me.buttonAddTags) - Me.Controls.Add(Me.listBoxViews) - Me.Controls.Add(Me.label4) - Me.Controls.Add(Me.textBoxAreaTag) - Me.Controls.Add(Me.label1) - Me.Controls.Add(Me.buttonClose) - Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon) - Me.MaximumSize = New System.Drawing.Size(530, 545) - Me.MinimumSize = New System.Drawing.Size(530, 524) - Me.Name = "form_ElemTagViewsArea" - Me.Text = "Tag Views" - Me.groupBox2.ResumeLayout(False) - Me.groupBox2.PerformLayout() - Me.groupBox1.ResumeLayout(False) - Me.groupBox1.PerformLayout() - Me.StatusStrip1.ResumeLayout(False) - Me.StatusStrip1.PerformLayout() - Me.ResumeLayout(False) - Me.PerformLayout() - - End Sub - Private WithEvents groupBox2 As System.Windows.Forms.GroupBox - Private WithEvents checkBoxStripSuffix As System.Windows.Forms.CheckBox - Private WithEvents textBoxPrefixViewSource As System.Windows.Forms.TextBox - Private WithEvents label3 As System.Windows.Forms.Label - Private WithEvents textBoxParameterViewName As System.Windows.Forms.TextBox - Private WithEvents label2 As System.Windows.Forms.Label - Private WithEvents groupBox1 As System.Windows.Forms.GroupBox - Private WithEvents label5 As System.Windows.Forms.Label - Private WithEvents textBoxRestrictPrefixValue As System.Windows.Forms.TextBox - Private WithEvents checkBoxListReverse As System.Windows.Forms.CheckBox - Private WithEvents checkBoxRestrictPrefix As System.Windows.Forms.CheckBox - Private WithEvents checkBoxIncludeExisting As System.Windows.Forms.CheckBox - Private WithEvents buttonSelect As System.Windows.Forms.Button - Private WithEvents buttonAddTags As System.Windows.Forms.Button - Private WithEvents listBoxViews As System.Windows.Forms.ListBox - Private WithEvents label4 As System.Windows.Forms.Label - Private WithEvents textBoxAreaTag As System.Windows.Forms.TextBox - Private WithEvents label1 As System.Windows.Forms.Label - Private WithEvents buttonClose As System.Windows.Forms.Button - Private WithEvents folderBrowserDialogImages As System.Windows.Forms.FolderBrowserDialog - Friend WithEvents StatusStrip1 As System.Windows.Forms.StatusStrip - Friend WithEvents ToolStripProgressBar1 As System.Windows.Forms.ToolStripProgressBar - Friend WithEvents ToolStripStatusLabel1 As System.Windows.Forms.ToolStripStatusLabel -End Class diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemViewsFromAreas.Designer.vb b/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemViewsFromAreas.Designer.vb deleted file mode 100644 index e905d2c6..00000000 --- a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemViewsFromAreas.Designer.vb +++ /dev/null @@ -1,806 +0,0 @@ - _ -Partial Class form_ElemViewsFromAreas - Inherits System.Windows.Forms.Form - - 'Form overrides dispose to clean up the component list. - _ - Protected Overrides Sub Dispose(ByVal disposing As Boolean) - Try - If disposing AndAlso components IsNot Nothing Then - components.Dispose() - End If - Finally - MyBase.Dispose(disposing) - End Try - End Sub - - 'Required by the Windows Form Designer - Private components As System.ComponentModel.IContainer - - 'NOTE: The following procedure is required by the Windows Form Designer - 'It can be modified using the Windows Form Designer. - 'Do not modify it using the code editor. - _ - Private Sub InitializeComponent() - Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(form_ElemViewsFromAreas)) - Me.buttonClose = New System.Windows.Forms.Button() - Me.groupBoxSizeCrop = New System.Windows.Forms.GroupBox() - Me.checkBoxCropShow = New System.Windows.Forms.CheckBox() - Me.textBoxCropFixedY = New System.Windows.Forms.TextBox() - Me.textBoxCropFixedX = New System.Windows.Forms.TextBox() - Me.radioButtonSizeCropFixed = New System.Windows.Forms.RadioButton() - Me.radioButtonSizeCropDynamic = New System.Windows.Forms.RadioButton() - Me.textBoxCropSpace = New System.Windows.Forms.TextBox() - Me.label10 = New System.Windows.Forms.Label() - Me.label11 = New System.Windows.Forms.Label() - Me.groupBoxViewType = New System.Windows.Forms.GroupBox() - Me.checkBoxReplaceExisting = New System.Windows.Forms.CheckBox() - Me.radioButtonType3dBoxCrop = New System.Windows.Forms.RadioButton() - Me.textBoxVectorZ = New System.Windows.Forms.TextBox() - Me.textBoxVectorY = New System.Windows.Forms.TextBox() - Me.textBoxVectorX = New System.Windows.Forms.TextBox() - Me.label4 = New System.Windows.Forms.Label() - Me.radioButtonType3dCrop = New System.Windows.Forms.RadioButton() - Me.radioButtonType2d = New System.Windows.Forms.RadioButton() - Me.radioButtonType3dBox = New System.Windows.Forms.RadioButton() - Me.label14 = New System.Windows.Forms.Label() - Me.label15 = New System.Windows.Forms.Label() - Me.label16 = New System.Windows.Forms.Label() - Me.groupBoxSizeBox = New System.Windows.Forms.GroupBox() - Me.label20 = New System.Windows.Forms.Label() - Me.checkBoxBoxShow = New System.Windows.Forms.CheckBox() - Me.textBoxBoxFixedZ = New System.Windows.Forms.TextBox() - Me.textBoxBoxFixedY = New System.Windows.Forms.TextBox() - Me.textBoxBoxFixedX = New System.Windows.Forms.TextBox() - Me.radioButtonSizeBoxFixed = New System.Windows.Forms.RadioButton() - Me.radioButtonSizeBoxDynamic = New System.Windows.Forms.RadioButton() - Me.textBoxBoxSpace = New System.Windows.Forms.TextBox() - Me.label17 = New System.Windows.Forms.Label() - Me.label18 = New System.Windows.Forms.Label() - Me.label19 = New System.Windows.Forms.Label() - Me.groupBoxSelection = New System.Windows.Forms.GroupBox() - Me.textBoxParameterGroupBy = New System.Windows.Forms.TextBox() - Me.radioButtonGroupMultiple = New System.Windows.Forms.RadioButton() - Me.radioButtonGroupSingle = New System.Windows.Forms.RadioButton() - Me.checkBoxListExisting = New System.Windows.Forms.CheckBox() - Me.checkBoxListReverse = New System.Windows.Forms.CheckBox() - Me.textBoxPad2 = New System.Windows.Forms.TextBox() - Me.textBoxPad1 = New System.Windows.Forms.TextBox() - Me.checkBoxPad2 = New System.Windows.Forms.CheckBox() - Me.checkBoxPad1 = New System.Windows.Forms.CheckBox() - Me.textBoxParameterList2 = New System.Windows.Forms.TextBox() - Me.label7 = New System.Windows.Forms.Label() - Me.textBoxParameterList1 = New System.Windows.Forms.TextBox() - Me.label8 = New System.Windows.Forms.Label() - Me.groupBox2 = New System.Windows.Forms.GroupBox() - Me.textBoxScale = New System.Windows.Forms.TextBox() - Me.label5 = New System.Windows.Forms.Label() - Me.textBoxPrefixViewTarget = New System.Windows.Forms.TextBox() - Me.label6 = New System.Windows.Forms.Label() - Me.textBoxParameterAreaName = New System.Windows.Forms.TextBox() - Me.textBoxParameterViewName = New System.Windows.Forms.TextBox() - Me.label1 = New System.Windows.Forms.Label() - Me.label3 = New System.Windows.Forms.Label() - Me.label9 = New System.Windows.Forms.Label() - Me.buttonCreate = New System.Windows.Forms.Button() - Me.listBoxAreas = New System.Windows.Forms.ListBox() - Me.ProgressBar1 = New System.Windows.Forms.ProgressBar() - Me.labelListTitle = New System.Windows.Forms.Label() - Me.groupBoxSizeCrop.SuspendLayout() - Me.groupBoxViewType.SuspendLayout() - Me.groupBoxSizeBox.SuspendLayout() - Me.groupBoxSelection.SuspendLayout() - Me.groupBox2.SuspendLayout() - Me.SuspendLayout() - ' - 'buttonClose - ' - Me.buttonClose.Location = New System.Drawing.Point(484, 614) - Me.buttonClose.Name = "buttonClose" - Me.buttonClose.Size = New System.Drawing.Size(178, 29) - Me.buttonClose.TabIndex = 47 - Me.buttonClose.Text = "Close" - Me.buttonClose.UseVisualStyleBackColor = True - ' - 'groupBoxSizeCrop - ' - Me.groupBoxSizeCrop.Controls.Add(Me.checkBoxCropShow) - Me.groupBoxSizeCrop.Controls.Add(Me.textBoxCropFixedY) - Me.groupBoxSizeCrop.Controls.Add(Me.textBoxCropFixedX) - Me.groupBoxSizeCrop.Controls.Add(Me.radioButtonSizeCropFixed) - Me.groupBoxSizeCrop.Controls.Add(Me.radioButtonSizeCropDynamic) - Me.groupBoxSizeCrop.Controls.Add(Me.textBoxCropSpace) - Me.groupBoxSizeCrop.Controls.Add(Me.label10) - Me.groupBoxSizeCrop.Controls.Add(Me.label11) - Me.groupBoxSizeCrop.ForeColor = System.Drawing.SystemColors.ControlText - Me.groupBoxSizeCrop.Location = New System.Drawing.Point(328, 494) - Me.groupBoxSizeCrop.Name = "groupBoxSizeCrop" - Me.groupBoxSizeCrop.Size = New System.Drawing.Size(334, 107) - Me.groupBoxSizeCrop.TabIndex = 53 - Me.groupBoxSizeCrop.TabStop = False - Me.groupBoxSizeCrop.Text = "View Size" - ' - 'checkBoxCropShow - ' - Me.checkBoxCropShow.AutoSize = True - Me.checkBoxCropShow.Location = New System.Drawing.Point(10, 79) - Me.checkBoxCropShow.Name = "checkBoxCropShow" - Me.checkBoxCropShow.Size = New System.Drawing.Size(99, 17) - Me.checkBoxCropShow.TabIndex = 52 - Me.checkBoxCropShow.Text = "Show Crop Box" - Me.checkBoxCropShow.UseVisualStyleBackColor = True - ' - 'textBoxCropFixedY - ' - Me.textBoxCropFixedY.Location = New System.Drawing.Point(216, 46) - Me.textBoxCropFixedY.Name = "textBoxCropFixedY" - Me.textBoxCropFixedY.Size = New System.Drawing.Size(41, 20) - Me.textBoxCropFixedY.TabIndex = 49 - ' - 'textBoxCropFixedX - ' - Me.textBoxCropFixedX.Location = New System.Drawing.Point(147, 46) - Me.textBoxCropFixedX.Name = "textBoxCropFixedX" - Me.textBoxCropFixedX.Size = New System.Drawing.Size(40, 20) - Me.textBoxCropFixedX.TabIndex = 47 - ' - 'radioButtonSizeCropFixed - ' - Me.radioButtonSizeCropFixed.AutoSize = True - Me.radioButtonSizeCropFixed.Location = New System.Drawing.Point(10, 48) - Me.radioButtonSizeCropFixed.Name = "radioButtonSizeCropFixed" - Me.radioButtonSizeCropFixed.Size = New System.Drawing.Size(107, 17) - Me.radioButtonSizeCropFixed.TabIndex = 46 - Me.radioButtonSizeCropFixed.TabStop = True - Me.radioButtonSizeCropFixed.Text = "Fixed Dimensions" - Me.radioButtonSizeCropFixed.UseVisualStyleBackColor = True - ' - 'radioButtonSizeCropDynamic - ' - Me.radioButtonSizeCropDynamic.AutoSize = True - Me.radioButtonSizeCropDynamic.Location = New System.Drawing.Point(10, 19) - Me.radioButtonSizeCropDynamic.Name = "radioButtonSizeCropDynamic" - Me.radioButtonSizeCropDynamic.Size = New System.Drawing.Size(121, 17) - Me.radioButtonSizeCropDynamic.TabIndex = 45 - Me.radioButtonSizeCropDynamic.TabStop = True - Me.radioButtonSizeCropDynamic.Text = "Space Around Area:" - Me.radioButtonSizeCropDynamic.UseVisualStyleBackColor = True - ' - 'textBoxCropSpace - ' - Me.textBoxCropSpace.Location = New System.Drawing.Point(147, 18) - Me.textBoxCropSpace.Name = "textBoxCropSpace" - Me.textBoxCropSpace.Size = New System.Drawing.Size(41, 20) - Me.textBoxCropSpace.TabIndex = 28 - ' - 'label10 - ' - Me.label10.AutoSize = True - Me.label10.Location = New System.Drawing.Point(128, 51) - Me.label10.Name = "label10" - Me.label10.Size = New System.Drawing.Size(17, 13) - Me.label10.TabIndex = 48 - Me.label10.Text = "X:" - ' - 'label11 - ' - Me.label11.AutoSize = True - Me.label11.Location = New System.Drawing.Point(197, 51) - Me.label11.Name = "label11" - Me.label11.Size = New System.Drawing.Size(17, 13) - Me.label11.TabIndex = 50 - Me.label11.Text = "Y:" - ' - 'groupBoxViewType - ' - Me.groupBoxViewType.Controls.Add(Me.checkBoxReplaceExisting) - Me.groupBoxViewType.Controls.Add(Me.radioButtonType3dBoxCrop) - Me.groupBoxViewType.Controls.Add(Me.textBoxVectorZ) - Me.groupBoxViewType.Controls.Add(Me.textBoxVectorY) - Me.groupBoxViewType.Controls.Add(Me.textBoxVectorX) - Me.groupBoxViewType.Controls.Add(Me.label4) - Me.groupBoxViewType.Controls.Add(Me.radioButtonType3dCrop) - Me.groupBoxViewType.Controls.Add(Me.radioButtonType2d) - Me.groupBoxViewType.Controls.Add(Me.radioButtonType3dBox) - Me.groupBoxViewType.Controls.Add(Me.label14) - Me.groupBoxViewType.Controls.Add(Me.label15) - Me.groupBoxViewType.Controls.Add(Me.label16) - Me.groupBoxViewType.ForeColor = System.Drawing.SystemColors.ControlText - Me.groupBoxViewType.Location = New System.Drawing.Point(328, 281) - Me.groupBoxViewType.Name = "groupBoxViewType" - Me.groupBoxViewType.Size = New System.Drawing.Size(334, 99) - Me.groupBoxViewType.TabIndex = 52 - Me.groupBoxViewType.TabStop = False - Me.groupBoxViewType.Text = "View Type" - ' - 'checkBoxReplaceExisting - ' - Me.checkBoxReplaceExisting.AutoSize = True - Me.checkBoxReplaceExisting.Location = New System.Drawing.Point(11, 71) - Me.checkBoxReplaceExisting.Name = "checkBoxReplaceExisting" - Me.checkBoxReplaceExisting.Size = New System.Drawing.Size(105, 17) - Me.checkBoxReplaceExisting.TabIndex = 38 - Me.checkBoxReplaceExisting.Text = "Replace Existing" - Me.checkBoxReplaceExisting.UseVisualStyleBackColor = True - ' - 'radioButtonType3dBoxCrop - ' - Me.radioButtonType3dBoxCrop.AutoSize = True - Me.radioButtonType3dBoxCrop.Location = New System.Drawing.Point(243, 16) - Me.radioButtonType3dBoxCrop.Name = "radioButtonType3dBoxCrop" - Me.radioButtonType3dBoxCrop.Size = New System.Drawing.Size(85, 17) - Me.radioButtonType3dBoxCrop.TabIndex = 58 - Me.radioButtonType3dBoxCrop.TabStop = True - Me.radioButtonType3dBoxCrop.Text = "3D Box-Crop" - Me.radioButtonType3dBoxCrop.UseVisualStyleBackColor = True - ' - 'textBoxVectorZ - ' - Me.textBoxVectorZ.Location = New System.Drawing.Point(278, 41) - Me.textBoxVectorZ.Name = "textBoxVectorZ" - Me.textBoxVectorZ.Size = New System.Drawing.Size(40, 20) - Me.textBoxVectorZ.TabIndex = 56 - ' - 'textBoxVectorY - ' - Me.textBoxVectorY.Location = New System.Drawing.Point(215, 42) - Me.textBoxVectorY.Name = "textBoxVectorY" - Me.textBoxVectorY.Size = New System.Drawing.Size(40, 20) - Me.textBoxVectorY.TabIndex = 54 - ' - 'textBoxVectorX - ' - Me.textBoxVectorX.Location = New System.Drawing.Point(144, 42) - Me.textBoxVectorX.Name = "textBoxVectorX" - Me.textBoxVectorX.Size = New System.Drawing.Size(40, 20) - Me.textBoxVectorX.TabIndex = 52 - ' - 'label4 - ' - Me.label4.AutoSize = True - Me.label4.Location = New System.Drawing.Point(8, 45) - Me.label4.Name = "label4" - Me.label4.Size = New System.Drawing.Size(100, 13) - Me.label4.TabIndex = 47 - Me.label4.Text = "3D Direction Vector" - ' - 'radioButtonType3dCrop - ' - Me.radioButtonType3dCrop.AutoSize = True - Me.radioButtonType3dCrop.Location = New System.Drawing.Point(164, 16) - Me.radioButtonType3dCrop.Name = "radioButtonType3dCrop" - Me.radioButtonType3dCrop.Size = New System.Drawing.Size(64, 17) - Me.radioButtonType3dCrop.TabIndex = 46 - Me.radioButtonType3dCrop.TabStop = True - Me.radioButtonType3dCrop.Text = "3D Crop" - Me.radioButtonType3dCrop.UseVisualStyleBackColor = True - ' - 'radioButtonType2d - ' - Me.radioButtonType2d.AutoSize = True - Me.radioButtonType2d.Location = New System.Drawing.Point(10, 16) - Me.radioButtonType2d.Name = "radioButtonType2d" - Me.radioButtonType2d.Size = New System.Drawing.Size(39, 17) - Me.radioButtonType2d.TabIndex = 44 - Me.radioButtonType2d.TabStop = True - Me.radioButtonType2d.Text = "2D" - Me.radioButtonType2d.UseVisualStyleBackColor = True - ' - 'radioButtonType3dBox - ' - Me.radioButtonType3dBox.AutoSize = True - Me.radioButtonType3dBox.Location = New System.Drawing.Point(86, 16) - Me.radioButtonType3dBox.Name = "radioButtonType3dBox" - Me.radioButtonType3dBox.Size = New System.Drawing.Size(60, 17) - Me.radioButtonType3dBox.TabIndex = 45 - Me.radioButtonType3dBox.TabStop = True - Me.radioButtonType3dBox.Text = "3D Box" - Me.radioButtonType3dBox.UseVisualStyleBackColor = True - ' - 'label14 - ' - Me.label14.AutoSize = True - Me.label14.Location = New System.Drawing.Point(260, 45) - Me.label14.Name = "label14" - Me.label14.Size = New System.Drawing.Size(17, 13) - Me.label14.TabIndex = 57 - Me.label14.Text = "Z:" - ' - 'label15 - ' - Me.label15.AutoSize = True - Me.label15.Location = New System.Drawing.Point(196, 45) - Me.label15.Name = "label15" - Me.label15.Size = New System.Drawing.Size(17, 13) - Me.label15.TabIndex = 55 - Me.label15.Text = "Y:" - ' - 'label16 - ' - Me.label16.AutoSize = True - Me.label16.Location = New System.Drawing.Point(126, 45) - Me.label16.Name = "label16" - Me.label16.Size = New System.Drawing.Size(17, 13) - Me.label16.TabIndex = 53 - Me.label16.Text = "X:" - ' - 'groupBoxSizeBox - ' - Me.groupBoxSizeBox.Controls.Add(Me.label20) - Me.groupBoxSizeBox.Controls.Add(Me.checkBoxBoxShow) - Me.groupBoxSizeBox.Controls.Add(Me.textBoxBoxFixedZ) - Me.groupBoxSizeBox.Controls.Add(Me.textBoxBoxFixedY) - Me.groupBoxSizeBox.Controls.Add(Me.textBoxBoxFixedX) - Me.groupBoxSizeBox.Controls.Add(Me.radioButtonSizeBoxFixed) - Me.groupBoxSizeBox.Controls.Add(Me.radioButtonSizeBoxDynamic) - Me.groupBoxSizeBox.Controls.Add(Me.textBoxBoxSpace) - Me.groupBoxSizeBox.Controls.Add(Me.label17) - Me.groupBoxSizeBox.Controls.Add(Me.label18) - Me.groupBoxSizeBox.Controls.Add(Me.label19) - Me.groupBoxSizeBox.ForeColor = System.Drawing.SystemColors.ControlText - Me.groupBoxSizeBox.Location = New System.Drawing.Point(328, 386) - Me.groupBoxSizeBox.Name = "groupBoxSizeBox" - Me.groupBoxSizeBox.Size = New System.Drawing.Size(334, 102) - Me.groupBoxSizeBox.TabIndex = 54 - Me.groupBoxSizeBox.TabStop = False - Me.groupBoxSizeBox.Text = "Section Box Size" - ' - 'label20 - ' - Me.label20.AutoSize = True - Me.label20.Location = New System.Drawing.Point(214, 20) - Me.label20.Name = "label20" - Me.label20.Size = New System.Drawing.Size(73, 13) - Me.label20.TabIndex = 63 - Me.label20.Text = "( Z = .9 x HT )" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) - ' - 'checkBoxBoxShow - ' - Me.checkBoxBoxShow.AutoSize = True - Me.checkBoxBoxShow.Location = New System.Drawing.Point(13, 75) - Me.checkBoxBoxShow.Name = "checkBoxBoxShow" - Me.checkBoxBoxShow.Size = New System.Drawing.Size(113, 17) - Me.checkBoxBoxShow.TabIndex = 62 - Me.checkBoxBoxShow.Text = "Show Section Box" - Me.checkBoxBoxShow.UseVisualStyleBackColor = True - ' - 'textBoxBoxFixedZ - ' - Me.textBoxBoxFixedZ.Location = New System.Drawing.Point(281, 45) - Me.textBoxBoxFixedZ.Name = "textBoxBoxFixedZ" - Me.textBoxBoxFixedZ.Size = New System.Drawing.Size(41, 20) - Me.textBoxBoxFixedZ.TabIndex = 60 - ' - 'textBoxBoxFixedY - ' - Me.textBoxBoxFixedY.Location = New System.Drawing.Point(215, 45) - Me.textBoxBoxFixedY.Name = "textBoxBoxFixedY" - Me.textBoxBoxFixedY.Size = New System.Drawing.Size(41, 20) - Me.textBoxBoxFixedY.TabIndex = 58 - ' - 'textBoxBoxFixedX - ' - Me.textBoxBoxFixedX.Location = New System.Drawing.Point(147, 45) - Me.textBoxBoxFixedX.Name = "textBoxBoxFixedX" - Me.textBoxBoxFixedX.Size = New System.Drawing.Size(40, 20) - Me.textBoxBoxFixedX.TabIndex = 56 - ' - 'radioButtonSizeBoxFixed - ' - Me.radioButtonSizeBoxFixed.AutoSize = True - Me.radioButtonSizeBoxFixed.Location = New System.Drawing.Point(13, 47) - Me.radioButtonSizeBoxFixed.Name = "radioButtonSizeBoxFixed" - Me.radioButtonSizeBoxFixed.Size = New System.Drawing.Size(107, 17) - Me.radioButtonSizeBoxFixed.TabIndex = 55 - Me.radioButtonSizeBoxFixed.TabStop = True - Me.radioButtonSizeBoxFixed.Text = "Fixed Dimensions" - Me.radioButtonSizeBoxFixed.UseVisualStyleBackColor = True - ' - 'radioButtonSizeBoxDynamic - ' - Me.radioButtonSizeBoxDynamic.AutoSize = True - Me.radioButtonSizeBoxDynamic.Location = New System.Drawing.Point(13, 18) - Me.radioButtonSizeBoxDynamic.Name = "radioButtonSizeBoxDynamic" - Me.radioButtonSizeBoxDynamic.Size = New System.Drawing.Size(121, 17) - Me.radioButtonSizeBoxDynamic.TabIndex = 54 - Me.radioButtonSizeBoxDynamic.TabStop = True - Me.radioButtonSizeBoxDynamic.Text = "Space Around Area:" - Me.radioButtonSizeBoxDynamic.UseVisualStyleBackColor = True - ' - 'textBoxBoxSpace - ' - Me.textBoxBoxSpace.Location = New System.Drawing.Point(147, 17) - Me.textBoxBoxSpace.Name = "textBoxBoxSpace" - Me.textBoxBoxSpace.Size = New System.Drawing.Size(40, 20) - Me.textBoxBoxSpace.TabIndex = 52 - ' - 'label17 - ' - Me.label17.AutoSize = True - Me.label17.Location = New System.Drawing.Point(129, 50) - Me.label17.Name = "label17" - Me.label17.Size = New System.Drawing.Size(17, 13) - Me.label17.TabIndex = 57 - Me.label17.Text = "X:" - ' - 'label18 - ' - Me.label18.AutoSize = True - Me.label18.Location = New System.Drawing.Point(195, 50) - Me.label18.Name = "label18" - Me.label18.Size = New System.Drawing.Size(17, 13) - Me.label18.TabIndex = 59 - Me.label18.Text = "Y:" - ' - 'label19 - ' - Me.label19.AutoSize = True - Me.label19.Location = New System.Drawing.Point(263, 50) - Me.label19.Name = "label19" - Me.label19.Size = New System.Drawing.Size(17, 13) - Me.label19.TabIndex = 61 - Me.label19.Text = "Z:" - ' - 'groupBoxSelection - ' - Me.groupBoxSelection.Controls.Add(Me.textBoxParameterGroupBy) - Me.groupBoxSelection.Controls.Add(Me.radioButtonGroupMultiple) - Me.groupBoxSelection.Controls.Add(Me.radioButtonGroupSingle) - Me.groupBoxSelection.Controls.Add(Me.checkBoxListExisting) - Me.groupBoxSelection.Controls.Add(Me.checkBoxListReverse) - Me.groupBoxSelection.Controls.Add(Me.textBoxPad2) - Me.groupBoxSelection.Controls.Add(Me.textBoxPad1) - Me.groupBoxSelection.Controls.Add(Me.checkBoxPad2) - Me.groupBoxSelection.Controls.Add(Me.checkBoxPad1) - Me.groupBoxSelection.Controls.Add(Me.textBoxParameterList2) - Me.groupBoxSelection.Controls.Add(Me.label7) - Me.groupBoxSelection.Controls.Add(Me.textBoxParameterList1) - Me.groupBoxSelection.Controls.Add(Me.label8) - Me.groupBoxSelection.ForeColor = System.Drawing.SystemColors.ControlText - Me.groupBoxSelection.Location = New System.Drawing.Point(328, 17) - Me.groupBoxSelection.Name = "groupBoxSelection" - Me.groupBoxSelection.Size = New System.Drawing.Size(334, 161) - Me.groupBoxSelection.TabIndex = 50 - Me.groupBoxSelection.TabStop = False - Me.groupBoxSelection.Text = "Selection Options" - ' - 'textBoxParameterGroupBy - ' - Me.textBoxParameterGroupBy.Location = New System.Drawing.Point(180, 105) - Me.textBoxParameterGroupBy.Name = "textBoxParameterGroupBy" - Me.textBoxParameterGroupBy.Size = New System.Drawing.Size(139, 20) - Me.textBoxParameterGroupBy.TabIndex = 37 - ' - 'radioButtonGroupMultiple - ' - Me.radioButtonGroupMultiple.AutoSize = True - Me.radioButtonGroupMultiple.Location = New System.Drawing.Point(12, 105) - Me.radioButtonGroupMultiple.Name = "radioButtonGroupMultiple" - Me.radioButtonGroupMultiple.Size = New System.Drawing.Size(152, 17) - Me.radioButtonGroupMultiple.TabIndex = 36 - Me.radioButtonGroupMultiple.TabStop = True - Me.radioButtonGroupMultiple.Text = "Group Areas by Parameter:" - Me.radioButtonGroupMultiple.UseVisualStyleBackColor = True - ' - 'radioButtonGroupSingle - ' - Me.radioButtonGroupSingle.AutoSize = True - Me.radioButtonGroupSingle.Location = New System.Drawing.Point(11, 14) - Me.radioButtonGroupSingle.Name = "radioButtonGroupSingle" - Me.radioButtonGroupSingle.Size = New System.Drawing.Size(84, 17) - Me.radioButtonGroupSingle.TabIndex = 26 - Me.radioButtonGroupSingle.TabStop = True - Me.radioButtonGroupSingle.Text = "Single Areas" - Me.radioButtonGroupSingle.UseVisualStyleBackColor = True - ' - 'checkBoxListExisting - ' - Me.checkBoxListExisting.AutoSize = True - Me.checkBoxListExisting.Location = New System.Drawing.Point(11, 136) - Me.checkBoxListExisting.Name = "checkBoxListExisting" - Me.checkBoxListExisting.Size = New System.Drawing.Size(81, 17) - Me.checkBoxListExisting.TabIndex = 25 - Me.checkBoxListExisting.Text = "List Existing" - Me.checkBoxListExisting.UseVisualStyleBackColor = True - ' - 'checkBoxListReverse - ' - Me.checkBoxListReverse.AutoSize = True - Me.checkBoxListReverse.Location = New System.Drawing.Point(138, 136) - Me.checkBoxListReverse.Name = "checkBoxListReverse" - Me.checkBoxListReverse.Size = New System.Drawing.Size(85, 17) - Me.checkBoxListReverse.TabIndex = 24 - Me.checkBoxListReverse.Text = "Reverse List" - Me.checkBoxListReverse.UseVisualStyleBackColor = True - ' - 'textBoxPad2 - ' - Me.textBoxPad2.Location = New System.Drawing.Point(289, 71) - Me.textBoxPad2.Name = "textBoxPad2" - Me.textBoxPad2.Size = New System.Drawing.Size(31, 20) - Me.textBoxPad2.TabIndex = 23 - ' - 'textBoxPad1 - ' - Me.textBoxPad1.Location = New System.Drawing.Point(138, 72) - Me.textBoxPad1.Name = "textBoxPad1" - Me.textBoxPad1.Size = New System.Drawing.Size(31, 20) - Me.textBoxPad1.TabIndex = 22 - ' - 'checkBoxPad2 - ' - Me.checkBoxPad2.AutoSize = True - Me.checkBoxPad2.Location = New System.Drawing.Point(181, 74) - Me.checkBoxPad2.Name = "checkBoxPad2" - Me.checkBoxPad2.Size = New System.Drawing.Size(91, 17) - Me.checkBoxPad2.TabIndex = 21 - Me.checkBoxPad2.Text = "Pad w/ Zeros" - Me.checkBoxPad2.UseVisualStyleBackColor = True - ' - 'checkBoxPad1 - ' - Me.checkBoxPad1.AutoSize = True - Me.checkBoxPad1.Location = New System.Drawing.Point(30, 75) - Me.checkBoxPad1.Name = "checkBoxPad1" - Me.checkBoxPad1.Size = New System.Drawing.Size(91, 17) - Me.checkBoxPad1.TabIndex = 20 - Me.checkBoxPad1.Text = "Pad w/ Zeros" - Me.checkBoxPad1.UseVisualStyleBackColor = True - ' - 'textBoxParameterList2 - ' - Me.textBoxParameterList2.Location = New System.Drawing.Point(181, 49) - Me.textBoxParameterList2.Name = "textBoxParameterList2" - Me.textBoxParameterList2.Size = New System.Drawing.Size(139, 20) - Me.textBoxParameterList2.TabIndex = 16 - ' - 'label7 - ' - Me.label7.AutoSize = True - Me.label7.Location = New System.Drawing.Point(27, 33) - Me.label7.Name = "label7" - Me.label7.Size = New System.Drawing.Size(86, 13) - Me.label7.TabIndex = 15 - Me.label7.Text = "List Parameter 1:" - ' - 'textBoxParameterList1 - ' - Me.textBoxParameterList1.Location = New System.Drawing.Point(30, 50) - Me.textBoxParameterList1.Name = "textBoxParameterList1" - Me.textBoxParameterList1.Size = New System.Drawing.Size(139, 20) - Me.textBoxParameterList1.TabIndex = 14 - ' - 'label8 - ' - Me.label8.AutoSize = True - Me.label8.Location = New System.Drawing.Point(178, 33) - Me.label8.Name = "label8" - Me.label8.Size = New System.Drawing.Size(86, 13) - Me.label8.TabIndex = 17 - Me.label8.Text = "List Parameter 2:" - ' - 'groupBox2 - ' - Me.groupBox2.Controls.Add(Me.textBoxScale) - Me.groupBox2.Controls.Add(Me.label5) - Me.groupBox2.Controls.Add(Me.textBoxPrefixViewTarget) - Me.groupBox2.Controls.Add(Me.label6) - Me.groupBox2.Controls.Add(Me.textBoxParameterAreaName) - Me.groupBox2.Controls.Add(Me.textBoxParameterViewName) - Me.groupBox2.Controls.Add(Me.label1) - Me.groupBox2.Controls.Add(Me.label3) - Me.groupBox2.Controls.Add(Me.label9) - Me.groupBox2.ForeColor = System.Drawing.SystemColors.ControlText - Me.groupBox2.Location = New System.Drawing.Point(328, 184) - Me.groupBox2.Name = "groupBox2" - Me.groupBox2.Size = New System.Drawing.Size(334, 91) - Me.groupBox2.TabIndex = 51 - Me.groupBox2.TabStop = False - Me.groupBox2.Text = "Processing Options" - ' - 'textBoxScale - ' - Me.textBoxScale.Location = New System.Drawing.Point(87, 59) - Me.textBoxScale.Name = "textBoxScale" - Me.textBoxScale.Size = New System.Drawing.Size(56, 20) - Me.textBoxScale.TabIndex = 43 - ' - 'label5 - ' - Me.label5.AutoSize = True - Me.label5.Location = New System.Drawing.Point(9, 63) - Me.label5.Name = "label5" - Me.label5.Size = New System.Drawing.Size(63, 13) - Me.label5.TabIndex = 42 - Me.label5.Text = "Scale (ratio)" - ' - 'textBoxPrefixViewTarget - ' - Me.textBoxPrefixViewTarget.Location = New System.Drawing.Point(243, 59) - Me.textBoxPrefixViewTarget.Name = "textBoxPrefixViewTarget" - Me.textBoxPrefixViewTarget.Size = New System.Drawing.Size(77, 20) - Me.textBoxPrefixViewTarget.TabIndex = 41 - ' - 'label6 - ' - Me.label6.AutoSize = True - Me.label6.Location = New System.Drawing.Point(151, 62) - Me.label6.Name = "label6" - Me.label6.Size = New System.Drawing.Size(93, 13) - Me.label6.TabIndex = 39 - Me.label6.Text = "View Name Prefix:" - ' - 'textBoxParameterAreaName - ' - Me.textBoxParameterAreaName.Location = New System.Drawing.Point(170, 33) - Me.textBoxParameterAreaName.Name = "textBoxParameterAreaName" - Me.textBoxParameterAreaName.Size = New System.Drawing.Size(150, 20) - Me.textBoxParameterAreaName.TabIndex = 30 - ' - 'textBoxParameterViewName - ' - Me.textBoxParameterViewName.Location = New System.Drawing.Point(11, 33) - Me.textBoxParameterViewName.Name = "textBoxParameterViewName" - Me.textBoxParameterViewName.Size = New System.Drawing.Size(149, 20) - Me.textBoxParameterViewName.TabIndex = 26 - ' - 'label1 - ' - Me.label1.AutoSize = True - Me.label1.Location = New System.Drawing.Point(8, 18) - Me.label1.Name = "label1" - Me.label1.Size = New System.Drawing.Size(146, 13) - Me.label1.TabIndex = 27 - Me.label1.Text = "Area Parameter - View Name:" - ' - 'label3 - ' - Me.label3.AutoSize = True - Me.label3.Location = New System.Drawing.Point(168, 18) - Me.label3.Name = "label3" - Me.label3.Size = New System.Drawing.Size(145, 13) - Me.label3.TabIndex = 31 - Me.label3.Text = "Area Parameter - Area Name:" - ' - 'label9 - ' - Me.label9.AutoSize = True - Me.label9.Location = New System.Drawing.Point(72, 63) - Me.label9.Name = "label9" - Me.label9.Size = New System.Drawing.Size(16, 13) - Me.label9.TabIndex = 43 - Me.label9.Text = "1:" - ' - 'buttonCreate - ' - Me.buttonCreate.Location = New System.Drawing.Point(15, 614) - Me.buttonCreate.Name = "buttonCreate" - Me.buttonCreate.Size = New System.Drawing.Size(178, 29) - Me.buttonCreate.TabIndex = 49 - Me.buttonCreate.Text = "Create Views" - Me.buttonCreate.UseVisualStyleBackColor = True - ' - 'listBoxAreas - ' - Me.listBoxAreas.FormattingEnabled = True - Me.listBoxAreas.Location = New System.Drawing.Point(15, 24) - Me.listBoxAreas.Name = "listBoxAreas" - Me.listBoxAreas.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended - Me.listBoxAreas.Size = New System.Drawing.Size(300, 576) - Me.listBoxAreas.TabIndex = 48 - ' - 'ProgressBar1 - ' - Me.ProgressBar1.Location = New System.Drawing.Point(15, 614) - Me.ProgressBar1.Name = "ProgressBar1" - Me.ProgressBar1.Size = New System.Drawing.Size(647, 29) - Me.ProgressBar1.TabIndex = 55 - ' - 'labelListTitle - ' - Me.labelListTitle.AutoSize = True - Me.labelListTitle.Location = New System.Drawing.Point(15, 6) - Me.labelListTitle.Name = "labelListTitle" - Me.labelListTitle.Size = New System.Drawing.Size(203, 13) - Me.labelListTitle.TabIndex = 56 - Me.labelListTitle.Text = "Select Areas For Which to Create a View:" - ' - 'form_ElemViewsFromAreas - ' - Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!) - Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font - Me.ClientSize = New System.Drawing.Size(676, 654) - Me.Controls.Add(Me.labelListTitle) - Me.Controls.Add(Me.buttonClose) - Me.Controls.Add(Me.groupBoxSizeCrop) - Me.Controls.Add(Me.groupBoxViewType) - Me.Controls.Add(Me.groupBoxSizeBox) - Me.Controls.Add(Me.groupBoxSelection) - Me.Controls.Add(Me.groupBox2) - Me.Controls.Add(Me.buttonCreate) - Me.Controls.Add(Me.listBoxAreas) - Me.Controls.Add(Me.ProgressBar1) - Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon) - Me.MaximumSize = New System.Drawing.Size(692, 692) - Me.MinimumSize = New System.Drawing.Size(692, 692) - Me.Name = "form_ElemViewsFromAreas" - Me.Text = "Views From Areas" - Me.TopMost = True - Me.groupBoxSizeCrop.ResumeLayout(False) - Me.groupBoxSizeCrop.PerformLayout() - Me.groupBoxViewType.ResumeLayout(False) - Me.groupBoxViewType.PerformLayout() - Me.groupBoxSizeBox.ResumeLayout(False) - Me.groupBoxSizeBox.PerformLayout() - Me.groupBoxSelection.ResumeLayout(False) - Me.groupBoxSelection.PerformLayout() - Me.groupBox2.ResumeLayout(False) - Me.groupBox2.PerformLayout() - Me.ResumeLayout(False) - Me.PerformLayout() - - End Sub - Private WithEvents buttonClose As System.Windows.Forms.Button - Private WithEvents groupBoxSizeCrop As System.Windows.Forms.GroupBox - Private WithEvents checkBoxCropShow As System.Windows.Forms.CheckBox - Private WithEvents textBoxCropFixedY As System.Windows.Forms.TextBox - Private WithEvents textBoxCropFixedX As System.Windows.Forms.TextBox - Private WithEvents radioButtonSizeCropFixed As System.Windows.Forms.RadioButton - Private WithEvents radioButtonSizeCropDynamic As System.Windows.Forms.RadioButton - Private WithEvents textBoxCropSpace As System.Windows.Forms.TextBox - Private WithEvents label10 As System.Windows.Forms.Label - Private WithEvents label11 As System.Windows.Forms.Label - Private WithEvents groupBoxViewType As System.Windows.Forms.GroupBox - Private WithEvents checkBoxReplaceExisting As System.Windows.Forms.CheckBox - Private WithEvents radioButtonType3dBoxCrop As System.Windows.Forms.RadioButton - Private WithEvents textBoxVectorZ As System.Windows.Forms.TextBox - Private WithEvents textBoxVectorY As System.Windows.Forms.TextBox - Private WithEvents textBoxVectorX As System.Windows.Forms.TextBox - Private WithEvents label4 As System.Windows.Forms.Label - Private WithEvents radioButtonType3dCrop As System.Windows.Forms.RadioButton - Private WithEvents radioButtonType2d As System.Windows.Forms.RadioButton - Private WithEvents radioButtonType3dBox As System.Windows.Forms.RadioButton - Private WithEvents label14 As System.Windows.Forms.Label - Private WithEvents label15 As System.Windows.Forms.Label - Private WithEvents label16 As System.Windows.Forms.Label - Private WithEvents groupBoxSizeBox As System.Windows.Forms.GroupBox - Private WithEvents label20 As System.Windows.Forms.Label - Private WithEvents checkBoxBoxShow As System.Windows.Forms.CheckBox - Private WithEvents textBoxBoxFixedZ As System.Windows.Forms.TextBox - Private WithEvents textBoxBoxFixedY As System.Windows.Forms.TextBox - Private WithEvents textBoxBoxFixedX As System.Windows.Forms.TextBox - Private WithEvents radioButtonSizeBoxFixed As System.Windows.Forms.RadioButton - Private WithEvents radioButtonSizeBoxDynamic As System.Windows.Forms.RadioButton - Private WithEvents textBoxBoxSpace As System.Windows.Forms.TextBox - Private WithEvents label17 As System.Windows.Forms.Label - Private WithEvents label18 As System.Windows.Forms.Label - Private WithEvents label19 As System.Windows.Forms.Label - Private WithEvents groupBoxSelection As System.Windows.Forms.GroupBox - Private WithEvents textBoxParameterGroupBy As System.Windows.Forms.TextBox - Private WithEvents radioButtonGroupMultiple As System.Windows.Forms.RadioButton - Private WithEvents radioButtonGroupSingle As System.Windows.Forms.RadioButton - Private WithEvents checkBoxListExisting As System.Windows.Forms.CheckBox - Private WithEvents checkBoxListReverse As System.Windows.Forms.CheckBox - Private WithEvents textBoxPad2 As System.Windows.Forms.TextBox - Private WithEvents textBoxPad1 As System.Windows.Forms.TextBox - Private WithEvents checkBoxPad2 As System.Windows.Forms.CheckBox - Private WithEvents checkBoxPad1 As System.Windows.Forms.CheckBox - Private WithEvents textBoxParameterList2 As System.Windows.Forms.TextBox - Private WithEvents label7 As System.Windows.Forms.Label - Private WithEvents textBoxParameterList1 As System.Windows.Forms.TextBox - Private WithEvents label8 As System.Windows.Forms.Label - Private WithEvents groupBox2 As System.Windows.Forms.GroupBox - Private WithEvents textBoxScale As System.Windows.Forms.TextBox - Private WithEvents label5 As System.Windows.Forms.Label - Private WithEvents textBoxPrefixViewTarget As System.Windows.Forms.TextBox - Private WithEvents label6 As System.Windows.Forms.Label - Private WithEvents textBoxParameterAreaName As System.Windows.Forms.TextBox - Private WithEvents textBoxParameterViewName As System.Windows.Forms.TextBox - Private WithEvents label1 As System.Windows.Forms.Label - Private WithEvents label3 As System.Windows.Forms.Label - Private WithEvents label9 As System.Windows.Forms.Label - Private WithEvents buttonCreate As System.Windows.Forms.Button - Private WithEvents listBoxAreas As System.Windows.Forms.ListBox - Friend WithEvents ProgressBar1 As System.Windows.Forms.ProgressBar - Private WithEvents labelListTitle As System.Windows.Forms.Label -End Class diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemViewsFromRooms.Designer.vb b/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemViewsFromRooms.Designer.vb deleted file mode 100644 index bdaa10f3..00000000 --- a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemViewsFromRooms.Designer.vb +++ /dev/null @@ -1,846 +0,0 @@ - _ -Partial Class form_ElemViewsFromRooms - Inherits System.Windows.Forms.Form - - 'Form overrides dispose to clean up the component list. - _ - Protected Overrides Sub Dispose(ByVal disposing As Boolean) - Try - If disposing AndAlso components IsNot Nothing Then - components.Dispose() - End If - Finally - MyBase.Dispose(disposing) - End Try - End Sub - - 'Required by the Windows Form Designer - Private components As System.ComponentModel.IContainer - - 'NOTE: The following procedure is required by the Windows Form Designer - 'It can be modified using the Windows Form Designer. - 'Do not modify it using the code editor. - _ - Private Sub InitializeComponent() - Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(form_ElemViewsFromRooms)) - Me.checkBoxCropShow = New System.Windows.Forms.CheckBox() - Me.textBoxCropFixedY = New System.Windows.Forms.TextBox() - Me.textBoxCropFixedX = New System.Windows.Forms.TextBox() - Me.radioButtonSizeCropFixed = New System.Windows.Forms.RadioButton() - Me.radioButtonSizeCropDynamic = New System.Windows.Forms.RadioButton() - Me.textBoxCropSpace = New System.Windows.Forms.TextBox() - Me.buttonClose = New System.Windows.Forms.Button() - Me.label10 = New System.Windows.Forms.Label() - Me.groupBoxSizeCrop = New System.Windows.Forms.GroupBox() - Me.label11 = New System.Windows.Forms.Label() - Me.radioButtonGroupSingle = New System.Windows.Forms.RadioButton() - Me.checkBoxReplaceExisting = New System.Windows.Forms.CheckBox() - Me.radioButtonGroupMultiple = New System.Windows.Forms.RadioButton() - Me.groupBoxViewType = New System.Windows.Forms.GroupBox() - Me.ComboBoxViewTemplate = New System.Windows.Forms.ComboBox() - Me.Label2 = New System.Windows.Forms.Label() - Me.RadioButtonTypeElevation = New System.Windows.Forms.RadioButton() - Me.radioButtonType3dBoxCrop = New System.Windows.Forms.RadioButton() - Me.textBoxVectorZ = New System.Windows.Forms.TextBox() - Me.textBoxVectorY = New System.Windows.Forms.TextBox() - Me.textBoxVectorX = New System.Windows.Forms.TextBox() - Me.label4 = New System.Windows.Forms.Label() - Me.radioButtonType3dCrop = New System.Windows.Forms.RadioButton() - Me.radioButtonType2d = New System.Windows.Forms.RadioButton() - Me.radioButtonType3dBox = New System.Windows.Forms.RadioButton() - Me.label14 = New System.Windows.Forms.Label() - Me.label15 = New System.Windows.Forms.Label() - Me.label16 = New System.Windows.Forms.Label() - Me.label20 = New System.Windows.Forms.Label() - Me.textBoxBoxFixedZ = New System.Windows.Forms.TextBox() - Me.checkBoxBoxShow = New System.Windows.Forms.CheckBox() - Me.textBoxBoxFixedY = New System.Windows.Forms.TextBox() - Me.textBoxBoxFixedX = New System.Windows.Forms.TextBox() - Me.groupBoxSizeBox = New System.Windows.Forms.GroupBox() - Me.radioButtonSizeBoxFixed = New System.Windows.Forms.RadioButton() - Me.radioButtonSizeBoxDynamic = New System.Windows.Forms.RadioButton() - Me.textBoxBoxSpace = New System.Windows.Forms.TextBox() - Me.label17 = New System.Windows.Forms.Label() - Me.label18 = New System.Windows.Forms.Label() - Me.label19 = New System.Windows.Forms.Label() - Me.textBoxParameterGroupBy = New System.Windows.Forms.TextBox() - Me.groupBoxSelection = New System.Windows.Forms.GroupBox() - Me.checkBoxListExisting = New System.Windows.Forms.CheckBox() - Me.checkBoxListReverse = New System.Windows.Forms.CheckBox() - Me.textBoxPad2 = New System.Windows.Forms.TextBox() - Me.textBoxPad1 = New System.Windows.Forms.TextBox() - Me.checkBoxPad2 = New System.Windows.Forms.CheckBox() - Me.checkBoxPad1 = New System.Windows.Forms.CheckBox() - Me.textBoxParameterList2 = New System.Windows.Forms.TextBox() - Me.label7 = New System.Windows.Forms.Label() - Me.textBoxParameterList1 = New System.Windows.Forms.TextBox() - Me.label8 = New System.Windows.Forms.Label() - Me.textBoxScale = New System.Windows.Forms.TextBox() - Me.label5 = New System.Windows.Forms.Label() - Me.textBoxPrefixViewTarget = New System.Windows.Forms.TextBox() - Me.label6 = New System.Windows.Forms.Label() - Me.label9 = New System.Windows.Forms.Label() - Me.groupBox2 = New System.Windows.Forms.GroupBox() - Me.textBoxParameterRoomName = New System.Windows.Forms.TextBox() - Me.textBoxParameterViewName = New System.Windows.Forms.TextBox() - Me.label1 = New System.Windows.Forms.Label() - Me.label3 = New System.Windows.Forms.Label() - Me.buttonCreate = New System.Windows.Forms.Button() - Me.labelListTitle = New System.Windows.Forms.Label() - Me.listBoxRooms = New System.Windows.Forms.ListBox() - Me.ProgressBar1 = New System.Windows.Forms.ProgressBar() - Me.groupBoxSizeCrop.SuspendLayout() - Me.groupBoxViewType.SuspendLayout() - Me.groupBoxSizeBox.SuspendLayout() - Me.groupBoxSelection.SuspendLayout() - Me.groupBox2.SuspendLayout() - Me.SuspendLayout() - ' - 'checkBoxCropShow - ' - Me.checkBoxCropShow.AutoSize = True - Me.checkBoxCropShow.Location = New System.Drawing.Point(10, 79) - Me.checkBoxCropShow.Name = "checkBoxCropShow" - Me.checkBoxCropShow.Size = New System.Drawing.Size(99, 17) - Me.checkBoxCropShow.TabIndex = 52 - Me.checkBoxCropShow.Text = "Show Crop Box" - Me.checkBoxCropShow.UseVisualStyleBackColor = True - ' - 'textBoxCropFixedY - ' - Me.textBoxCropFixedY.Location = New System.Drawing.Point(216, 46) - Me.textBoxCropFixedY.Name = "textBoxCropFixedY" - Me.textBoxCropFixedY.Size = New System.Drawing.Size(41, 20) - Me.textBoxCropFixedY.TabIndex = 49 - ' - 'textBoxCropFixedX - ' - Me.textBoxCropFixedX.Location = New System.Drawing.Point(147, 46) - Me.textBoxCropFixedX.Name = "textBoxCropFixedX" - Me.textBoxCropFixedX.Size = New System.Drawing.Size(40, 20) - Me.textBoxCropFixedX.TabIndex = 47 - ' - 'radioButtonSizeCropFixed - ' - Me.radioButtonSizeCropFixed.AutoSize = True - Me.radioButtonSizeCropFixed.Location = New System.Drawing.Point(10, 48) - Me.radioButtonSizeCropFixed.Name = "radioButtonSizeCropFixed" - Me.radioButtonSizeCropFixed.Size = New System.Drawing.Size(107, 17) - Me.radioButtonSizeCropFixed.TabIndex = 46 - Me.radioButtonSizeCropFixed.TabStop = True - Me.radioButtonSizeCropFixed.Text = "Fixed Dimensions" - Me.radioButtonSizeCropFixed.UseVisualStyleBackColor = True - ' - 'radioButtonSizeCropDynamic - ' - Me.radioButtonSizeCropDynamic.AutoSize = True - Me.radioButtonSizeCropDynamic.Location = New System.Drawing.Point(10, 19) - Me.radioButtonSizeCropDynamic.Name = "radioButtonSizeCropDynamic" - Me.radioButtonSizeCropDynamic.Size = New System.Drawing.Size(127, 17) - Me.radioButtonSizeCropDynamic.TabIndex = 45 - Me.radioButtonSizeCropDynamic.TabStop = True - Me.radioButtonSizeCropDynamic.Text = "Space Around Room:" - Me.radioButtonSizeCropDynamic.UseVisualStyleBackColor = True - ' - 'textBoxCropSpace - ' - Me.textBoxCropSpace.Location = New System.Drawing.Point(147, 18) - Me.textBoxCropSpace.Name = "textBoxCropSpace" - Me.textBoxCropSpace.Size = New System.Drawing.Size(41, 20) - Me.textBoxCropSpace.TabIndex = 28 - ' - 'buttonClose - ' - Me.buttonClose.Location = New System.Drawing.Point(502, 671) - Me.buttonClose.Name = "buttonClose" - Me.buttonClose.Size = New System.Drawing.Size(178, 29) - Me.buttonClose.TabIndex = 37 - Me.buttonClose.Text = "Close" - Me.buttonClose.UseVisualStyleBackColor = True - ' - 'label10 - ' - Me.label10.AutoSize = True - Me.label10.Location = New System.Drawing.Point(128, 51) - Me.label10.Name = "label10" - Me.label10.Size = New System.Drawing.Size(17, 13) - Me.label10.TabIndex = 48 - Me.label10.Text = "X:" - ' - 'groupBoxSizeCrop - ' - Me.groupBoxSizeCrop.Controls.Add(Me.checkBoxCropShow) - Me.groupBoxSizeCrop.Controls.Add(Me.textBoxCropFixedY) - Me.groupBoxSizeCrop.Controls.Add(Me.textBoxCropFixedX) - Me.groupBoxSizeCrop.Controls.Add(Me.radioButtonSizeCropFixed) - Me.groupBoxSizeCrop.Controls.Add(Me.radioButtonSizeCropDynamic) - Me.groupBoxSizeCrop.Controls.Add(Me.textBoxCropSpace) - Me.groupBoxSizeCrop.Controls.Add(Me.label10) - Me.groupBoxSizeCrop.Controls.Add(Me.label11) - Me.groupBoxSizeCrop.ForeColor = System.Drawing.SystemColors.ControlText - Me.groupBoxSizeCrop.Location = New System.Drawing.Point(346, 547) - Me.groupBoxSizeCrop.Name = "groupBoxSizeCrop" - Me.groupBoxSizeCrop.Size = New System.Drawing.Size(334, 107) - Me.groupBoxSizeCrop.TabIndex = 44 - Me.groupBoxSizeCrop.TabStop = False - Me.groupBoxSizeCrop.Text = "View Size" - ' - 'label11 - ' - Me.label11.AutoSize = True - Me.label11.Location = New System.Drawing.Point(197, 51) - Me.label11.Name = "label11" - Me.label11.Size = New System.Drawing.Size(17, 13) - Me.label11.TabIndex = 50 - Me.label11.Text = "Y:" - ' - 'radioButtonGroupSingle - ' - Me.radioButtonGroupSingle.AutoSize = True - Me.radioButtonGroupSingle.Location = New System.Drawing.Point(11, 14) - Me.radioButtonGroupSingle.Name = "radioButtonGroupSingle" - Me.radioButtonGroupSingle.Size = New System.Drawing.Size(90, 17) - Me.radioButtonGroupSingle.TabIndex = 26 - Me.radioButtonGroupSingle.TabStop = True - Me.radioButtonGroupSingle.Text = "Single Rooms" - Me.radioButtonGroupSingle.UseVisualStyleBackColor = True - ' - 'checkBoxReplaceExisting - ' - Me.checkBoxReplaceExisting.AutoSize = True - Me.checkBoxReplaceExisting.Location = New System.Drawing.Point(10, 127) - Me.checkBoxReplaceExisting.Name = "checkBoxReplaceExisting" - Me.checkBoxReplaceExisting.Size = New System.Drawing.Size(105, 17) - Me.checkBoxReplaceExisting.TabIndex = 38 - Me.checkBoxReplaceExisting.Text = "Replace Existing" - Me.checkBoxReplaceExisting.UseVisualStyleBackColor = True - ' - 'radioButtonGroupMultiple - ' - Me.radioButtonGroupMultiple.AutoSize = True - Me.radioButtonGroupMultiple.Location = New System.Drawing.Point(12, 105) - Me.radioButtonGroupMultiple.Name = "radioButtonGroupMultiple" - Me.radioButtonGroupMultiple.Size = New System.Drawing.Size(158, 17) - Me.radioButtonGroupMultiple.TabIndex = 36 - Me.radioButtonGroupMultiple.TabStop = True - Me.radioButtonGroupMultiple.Text = "Group Rooms by Parameter:" - Me.radioButtonGroupMultiple.UseVisualStyleBackColor = True - ' - 'groupBoxViewType - ' - Me.groupBoxViewType.Controls.Add(Me.ComboBoxViewTemplate) - Me.groupBoxViewType.Controls.Add(Me.Label2) - Me.groupBoxViewType.Controls.Add(Me.RadioButtonTypeElevation) - Me.groupBoxViewType.Controls.Add(Me.checkBoxReplaceExisting) - Me.groupBoxViewType.Controls.Add(Me.radioButtonType3dBoxCrop) - Me.groupBoxViewType.Controls.Add(Me.textBoxVectorZ) - Me.groupBoxViewType.Controls.Add(Me.textBoxVectorY) - Me.groupBoxViewType.Controls.Add(Me.textBoxVectorX) - Me.groupBoxViewType.Controls.Add(Me.label4) - Me.groupBoxViewType.Controls.Add(Me.radioButtonType3dCrop) - Me.groupBoxViewType.Controls.Add(Me.radioButtonType2d) - Me.groupBoxViewType.Controls.Add(Me.radioButtonType3dBox) - Me.groupBoxViewType.Controls.Add(Me.label14) - Me.groupBoxViewType.Controls.Add(Me.label15) - Me.groupBoxViewType.Controls.Add(Me.label16) - Me.groupBoxViewType.ForeColor = System.Drawing.SystemColors.ControlText - Me.groupBoxViewType.Location = New System.Drawing.Point(346, 283) - Me.groupBoxViewType.Name = "groupBoxViewType" - Me.groupBoxViewType.Size = New System.Drawing.Size(334, 150) - Me.groupBoxViewType.TabIndex = 43 - Me.groupBoxViewType.TabStop = False - Me.groupBoxViewType.Text = "View Type" - ' - 'ComboBoxViewTemplate - ' - Me.ComboBoxViewTemplate.FormattingEnabled = True - Me.ComboBoxViewTemplate.Location = New System.Drawing.Point(130, 68) - Me.ComboBoxViewTemplate.Name = "ComboBoxViewTemplate" - Me.ComboBoxViewTemplate.Size = New System.Drawing.Size(189, 21) - Me.ComboBoxViewTemplate.TabIndex = 61 - ' - 'Label2 - ' - Me.Label2.AutoSize = True - Me.Label2.Location = New System.Drawing.Point(26, 71) - Me.Label2.Name = "Label2" - Me.Label2.Size = New System.Drawing.Size(83, 13) - Me.Label2.TabIndex = 60 - Me.Label2.Text = "View Template: " - ' - 'RadioButtonTypeElevation - ' - Me.RadioButtonTypeElevation.AutoSize = True - Me.RadioButtonTypeElevation.Location = New System.Drawing.Point(87, 15) - Me.RadioButtonTypeElevation.Name = "RadioButtonTypeElevation" - Me.RadioButtonTypeElevation.Size = New System.Drawing.Size(69, 17) - Me.RadioButtonTypeElevation.TabIndex = 59 - Me.RadioButtonTypeElevation.TabStop = True - Me.RadioButtonTypeElevation.Text = "Elevation" - Me.RadioButtonTypeElevation.UseVisualStyleBackColor = True - ' - 'radioButtonType3dBoxCrop - ' - Me.radioButtonType3dBoxCrop.AutoSize = True - Me.radioButtonType3dBoxCrop.Location = New System.Drawing.Point(167, 38) - Me.radioButtonType3dBoxCrop.Name = "radioButtonType3dBoxCrop" - Me.radioButtonType3dBoxCrop.Size = New System.Drawing.Size(85, 17) - Me.radioButtonType3dBoxCrop.TabIndex = 58 - Me.radioButtonType3dBoxCrop.TabStop = True - Me.radioButtonType3dBoxCrop.Text = "3D Box-Crop" - Me.radioButtonType3dBoxCrop.UseVisualStyleBackColor = True - ' - 'textBoxVectorZ - ' - Me.textBoxVectorZ.Location = New System.Drawing.Point(279, 98) - Me.textBoxVectorZ.Name = "textBoxVectorZ" - Me.textBoxVectorZ.Size = New System.Drawing.Size(40, 20) - Me.textBoxVectorZ.TabIndex = 56 - ' - 'textBoxVectorY - ' - Me.textBoxVectorY.Location = New System.Drawing.Point(216, 99) - Me.textBoxVectorY.Name = "textBoxVectorY" - Me.textBoxVectorY.Size = New System.Drawing.Size(40, 20) - Me.textBoxVectorY.TabIndex = 54 - ' - 'textBoxVectorX - ' - Me.textBoxVectorX.Location = New System.Drawing.Point(145, 99) - Me.textBoxVectorX.Name = "textBoxVectorX" - Me.textBoxVectorX.Size = New System.Drawing.Size(40, 20) - Me.textBoxVectorX.TabIndex = 52 - ' - 'label4 - ' - Me.label4.AutoSize = True - Me.label4.Location = New System.Drawing.Point(7, 101) - Me.label4.Name = "label4" - Me.label4.Size = New System.Drawing.Size(100, 13) - Me.label4.TabIndex = 47 - Me.label4.Text = "3D Direction Vector" - ' - 'radioButtonType3dCrop - ' - Me.radioButtonType3dCrop.AutoSize = True - Me.radioButtonType3dCrop.Location = New System.Drawing.Point(88, 38) - Me.radioButtonType3dCrop.Name = "radioButtonType3dCrop" - Me.radioButtonType3dCrop.Size = New System.Drawing.Size(64, 17) - Me.radioButtonType3dCrop.TabIndex = 46 - Me.radioButtonType3dCrop.TabStop = True - Me.radioButtonType3dCrop.Text = "3D Crop" - Me.radioButtonType3dCrop.UseVisualStyleBackColor = True - ' - 'radioButtonType2d - ' - Me.radioButtonType2d.AutoSize = True - Me.radioButtonType2d.Location = New System.Drawing.Point(10, 16) - Me.radioButtonType2d.Name = "radioButtonType2d" - Me.radioButtonType2d.Size = New System.Drawing.Size(39, 17) - Me.radioButtonType2d.TabIndex = 44 - Me.radioButtonType2d.TabStop = True - Me.radioButtonType2d.Text = "2D" - Me.radioButtonType2d.UseVisualStyleBackColor = True - ' - 'radioButtonType3dBox - ' - Me.radioButtonType3dBox.AutoSize = True - Me.radioButtonType3dBox.Location = New System.Drawing.Point(10, 38) - Me.radioButtonType3dBox.Name = "radioButtonType3dBox" - Me.radioButtonType3dBox.Size = New System.Drawing.Size(60, 17) - Me.radioButtonType3dBox.TabIndex = 45 - Me.radioButtonType3dBox.TabStop = True - Me.radioButtonType3dBox.Text = "3D Box" - Me.radioButtonType3dBox.UseVisualStyleBackColor = True - ' - 'label14 - ' - Me.label14.AutoSize = True - Me.label14.Location = New System.Drawing.Point(261, 102) - Me.label14.Name = "label14" - Me.label14.Size = New System.Drawing.Size(17, 13) - Me.label14.TabIndex = 57 - Me.label14.Text = "Z:" - ' - 'label15 - ' - Me.label15.AutoSize = True - Me.label15.Location = New System.Drawing.Point(197, 102) - Me.label15.Name = "label15" - Me.label15.Size = New System.Drawing.Size(17, 13) - Me.label15.TabIndex = 55 - Me.label15.Text = "Y:" - ' - 'label16 - ' - Me.label16.AutoSize = True - Me.label16.Location = New System.Drawing.Point(127, 102) - Me.label16.Name = "label16" - Me.label16.Size = New System.Drawing.Size(17, 13) - Me.label16.TabIndex = 53 - Me.label16.Text = "X:" - ' - 'label20 - ' - Me.label20.AutoSize = True - Me.label20.Location = New System.Drawing.Point(214, 20) - Me.label20.Name = "label20" - Me.label20.Size = New System.Drawing.Size(73, 13) - Me.label20.TabIndex = 63 - Me.label20.Text = "( Z = .9 x HT )" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) - ' - 'textBoxBoxFixedZ - ' - Me.textBoxBoxFixedZ.Location = New System.Drawing.Point(281, 45) - Me.textBoxBoxFixedZ.Name = "textBoxBoxFixedZ" - Me.textBoxBoxFixedZ.Size = New System.Drawing.Size(41, 20) - Me.textBoxBoxFixedZ.TabIndex = 60 - ' - 'checkBoxBoxShow - ' - Me.checkBoxBoxShow.AutoSize = True - Me.checkBoxBoxShow.Location = New System.Drawing.Point(13, 75) - Me.checkBoxBoxShow.Name = "checkBoxBoxShow" - Me.checkBoxBoxShow.Size = New System.Drawing.Size(113, 17) - Me.checkBoxBoxShow.TabIndex = 62 - Me.checkBoxBoxShow.Text = "Show Section Box" - Me.checkBoxBoxShow.UseVisualStyleBackColor = True - ' - 'textBoxBoxFixedY - ' - Me.textBoxBoxFixedY.Location = New System.Drawing.Point(215, 45) - Me.textBoxBoxFixedY.Name = "textBoxBoxFixedY" - Me.textBoxBoxFixedY.Size = New System.Drawing.Size(41, 20) - Me.textBoxBoxFixedY.TabIndex = 58 - ' - 'textBoxBoxFixedX - ' - Me.textBoxBoxFixedX.Location = New System.Drawing.Point(147, 45) - Me.textBoxBoxFixedX.Name = "textBoxBoxFixedX" - Me.textBoxBoxFixedX.Size = New System.Drawing.Size(40, 20) - Me.textBoxBoxFixedX.TabIndex = 56 - ' - 'groupBoxSizeBox - ' - Me.groupBoxSizeBox.Controls.Add(Me.label20) - Me.groupBoxSizeBox.Controls.Add(Me.checkBoxBoxShow) - Me.groupBoxSizeBox.Controls.Add(Me.textBoxBoxFixedZ) - Me.groupBoxSizeBox.Controls.Add(Me.textBoxBoxFixedY) - Me.groupBoxSizeBox.Controls.Add(Me.textBoxBoxFixedX) - Me.groupBoxSizeBox.Controls.Add(Me.radioButtonSizeBoxFixed) - Me.groupBoxSizeBox.Controls.Add(Me.radioButtonSizeBoxDynamic) - Me.groupBoxSizeBox.Controls.Add(Me.textBoxBoxSpace) - Me.groupBoxSizeBox.Controls.Add(Me.label17) - Me.groupBoxSizeBox.Controls.Add(Me.label18) - Me.groupBoxSizeBox.Controls.Add(Me.label19) - Me.groupBoxSizeBox.ForeColor = System.Drawing.SystemColors.ControlText - Me.groupBoxSizeBox.Location = New System.Drawing.Point(346, 439) - Me.groupBoxSizeBox.Name = "groupBoxSizeBox" - Me.groupBoxSizeBox.Size = New System.Drawing.Size(334, 102) - Me.groupBoxSizeBox.TabIndex = 45 - Me.groupBoxSizeBox.TabStop = False - Me.groupBoxSizeBox.Text = "Section Box Size" - ' - 'radioButtonSizeBoxFixed - ' - Me.radioButtonSizeBoxFixed.AutoSize = True - Me.radioButtonSizeBoxFixed.Location = New System.Drawing.Point(13, 47) - Me.radioButtonSizeBoxFixed.Name = "radioButtonSizeBoxFixed" - Me.radioButtonSizeBoxFixed.Size = New System.Drawing.Size(107, 17) - Me.radioButtonSizeBoxFixed.TabIndex = 55 - Me.radioButtonSizeBoxFixed.TabStop = True - Me.radioButtonSizeBoxFixed.Text = "Fixed Dimensions" - Me.radioButtonSizeBoxFixed.UseVisualStyleBackColor = True - ' - 'radioButtonSizeBoxDynamic - ' - Me.radioButtonSizeBoxDynamic.AutoSize = True - Me.radioButtonSizeBoxDynamic.Location = New System.Drawing.Point(13, 18) - Me.radioButtonSizeBoxDynamic.Name = "radioButtonSizeBoxDynamic" - Me.radioButtonSizeBoxDynamic.Size = New System.Drawing.Size(127, 17) - Me.radioButtonSizeBoxDynamic.TabIndex = 54 - Me.radioButtonSizeBoxDynamic.TabStop = True - Me.radioButtonSizeBoxDynamic.Text = "Space Around Room:" - Me.radioButtonSizeBoxDynamic.UseVisualStyleBackColor = True - ' - 'textBoxBoxSpace - ' - Me.textBoxBoxSpace.Location = New System.Drawing.Point(147, 17) - Me.textBoxBoxSpace.Name = "textBoxBoxSpace" - Me.textBoxBoxSpace.Size = New System.Drawing.Size(40, 20) - Me.textBoxBoxSpace.TabIndex = 52 - ' - 'label17 - ' - Me.label17.AutoSize = True - Me.label17.Location = New System.Drawing.Point(129, 50) - Me.label17.Name = "label17" - Me.label17.Size = New System.Drawing.Size(17, 13) - Me.label17.TabIndex = 57 - Me.label17.Text = "X:" - ' - 'label18 - ' - Me.label18.AutoSize = True - Me.label18.Location = New System.Drawing.Point(195, 50) - Me.label18.Name = "label18" - Me.label18.Size = New System.Drawing.Size(17, 13) - Me.label18.TabIndex = 59 - Me.label18.Text = "Y:" - ' - 'label19 - ' - Me.label19.AutoSize = True - Me.label19.Location = New System.Drawing.Point(263, 50) - Me.label19.Name = "label19" - Me.label19.Size = New System.Drawing.Size(17, 13) - Me.label19.TabIndex = 61 - Me.label19.Text = "Z:" - ' - 'textBoxParameterGroupBy - ' - Me.textBoxParameterGroupBy.Location = New System.Drawing.Point(181, 104) - Me.textBoxParameterGroupBy.Name = "textBoxParameterGroupBy" - Me.textBoxParameterGroupBy.Size = New System.Drawing.Size(139, 20) - Me.textBoxParameterGroupBy.TabIndex = 37 - ' - 'groupBoxSelection - ' - Me.groupBoxSelection.Controls.Add(Me.textBoxParameterGroupBy) - Me.groupBoxSelection.Controls.Add(Me.radioButtonGroupMultiple) - Me.groupBoxSelection.Controls.Add(Me.radioButtonGroupSingle) - Me.groupBoxSelection.Controls.Add(Me.checkBoxListExisting) - Me.groupBoxSelection.Controls.Add(Me.checkBoxListReverse) - Me.groupBoxSelection.Controls.Add(Me.textBoxPad2) - Me.groupBoxSelection.Controls.Add(Me.textBoxPad1) - Me.groupBoxSelection.Controls.Add(Me.checkBoxPad2) - Me.groupBoxSelection.Controls.Add(Me.checkBoxPad1) - Me.groupBoxSelection.Controls.Add(Me.textBoxParameterList2) - Me.groupBoxSelection.Controls.Add(Me.label7) - Me.groupBoxSelection.Controls.Add(Me.textBoxParameterList1) - Me.groupBoxSelection.Controls.Add(Me.label8) - Me.groupBoxSelection.ForeColor = System.Drawing.SystemColors.ControlText - Me.groupBoxSelection.Location = New System.Drawing.Point(346, 19) - Me.groupBoxSelection.Name = "groupBoxSelection" - Me.groupBoxSelection.Size = New System.Drawing.Size(334, 161) - Me.groupBoxSelection.TabIndex = 41 - Me.groupBoxSelection.TabStop = False - Me.groupBoxSelection.Text = "Selection Options" - ' - 'checkBoxListExisting - ' - Me.checkBoxListExisting.AutoSize = True - Me.checkBoxListExisting.Location = New System.Drawing.Point(11, 136) - Me.checkBoxListExisting.Name = "checkBoxListExisting" - Me.checkBoxListExisting.Size = New System.Drawing.Size(81, 17) - Me.checkBoxListExisting.TabIndex = 25 - Me.checkBoxListExisting.Text = "List Existing" - Me.checkBoxListExisting.UseVisualStyleBackColor = True - ' - 'checkBoxListReverse - ' - Me.checkBoxListReverse.AutoSize = True - Me.checkBoxListReverse.Location = New System.Drawing.Point(138, 136) - Me.checkBoxListReverse.Name = "checkBoxListReverse" - Me.checkBoxListReverse.Size = New System.Drawing.Size(85, 17) - Me.checkBoxListReverse.TabIndex = 24 - Me.checkBoxListReverse.Text = "Reverse List" - Me.checkBoxListReverse.UseVisualStyleBackColor = True - ' - 'textBoxPad2 - ' - Me.textBoxPad2.Location = New System.Drawing.Point(289, 71) - Me.textBoxPad2.Name = "textBoxPad2" - Me.textBoxPad2.Size = New System.Drawing.Size(31, 20) - Me.textBoxPad2.TabIndex = 23 - ' - 'textBoxPad1 - ' - Me.textBoxPad1.Location = New System.Drawing.Point(138, 72) - Me.textBoxPad1.Name = "textBoxPad1" - Me.textBoxPad1.Size = New System.Drawing.Size(31, 20) - Me.textBoxPad1.TabIndex = 22 - ' - 'checkBoxPad2 - ' - Me.checkBoxPad2.AutoSize = True - Me.checkBoxPad2.Location = New System.Drawing.Point(181, 74) - Me.checkBoxPad2.Name = "checkBoxPad2" - Me.checkBoxPad2.Size = New System.Drawing.Size(91, 17) - Me.checkBoxPad2.TabIndex = 21 - Me.checkBoxPad2.Text = "Pad w/ Zeros" - Me.checkBoxPad2.UseVisualStyleBackColor = True - ' - 'checkBoxPad1 - ' - Me.checkBoxPad1.AutoSize = True - Me.checkBoxPad1.Location = New System.Drawing.Point(30, 75) - Me.checkBoxPad1.Name = "checkBoxPad1" - Me.checkBoxPad1.Size = New System.Drawing.Size(91, 17) - Me.checkBoxPad1.TabIndex = 20 - Me.checkBoxPad1.Text = "Pad w/ Zeros" - Me.checkBoxPad1.UseVisualStyleBackColor = True - ' - 'textBoxParameterList2 - ' - Me.textBoxParameterList2.Location = New System.Drawing.Point(181, 49) - Me.textBoxParameterList2.Name = "textBoxParameterList2" - Me.textBoxParameterList2.Size = New System.Drawing.Size(139, 20) - Me.textBoxParameterList2.TabIndex = 16 - ' - 'label7 - ' - Me.label7.AutoSize = True - Me.label7.Location = New System.Drawing.Point(27, 33) - Me.label7.Name = "label7" - Me.label7.Size = New System.Drawing.Size(86, 13) - Me.label7.TabIndex = 15 - Me.label7.Text = "List Parameter 1:" - ' - 'textBoxParameterList1 - ' - Me.textBoxParameterList1.Location = New System.Drawing.Point(30, 50) - Me.textBoxParameterList1.Name = "textBoxParameterList1" - Me.textBoxParameterList1.Size = New System.Drawing.Size(139, 20) - Me.textBoxParameterList1.TabIndex = 14 - ' - 'label8 - ' - Me.label8.AutoSize = True - Me.label8.Location = New System.Drawing.Point(178, 33) - Me.label8.Name = "label8" - Me.label8.Size = New System.Drawing.Size(86, 13) - Me.label8.TabIndex = 17 - Me.label8.Text = "List Parameter 2:" - ' - 'textBoxScale - ' - Me.textBoxScale.Location = New System.Drawing.Point(87, 59) - Me.textBoxScale.Name = "textBoxScale" - Me.textBoxScale.Size = New System.Drawing.Size(56, 20) - Me.textBoxScale.TabIndex = 43 - ' - 'label5 - ' - Me.label5.AutoSize = True - Me.label5.Location = New System.Drawing.Point(9, 63) - Me.label5.Name = "label5" - Me.label5.Size = New System.Drawing.Size(63, 13) - Me.label5.TabIndex = 42 - Me.label5.Text = "Scale (ratio)" - ' - 'textBoxPrefixViewTarget - ' - Me.textBoxPrefixViewTarget.Location = New System.Drawing.Point(243, 59) - Me.textBoxPrefixViewTarget.Name = "textBoxPrefixViewTarget" - Me.textBoxPrefixViewTarget.Size = New System.Drawing.Size(77, 20) - Me.textBoxPrefixViewTarget.TabIndex = 41 - ' - 'label6 - ' - Me.label6.AutoSize = True - Me.label6.Location = New System.Drawing.Point(151, 62) - Me.label6.Name = "label6" - Me.label6.Size = New System.Drawing.Size(93, 13) - Me.label6.TabIndex = 39 - Me.label6.Text = "View Name Prefix:" - ' - 'label9 - ' - Me.label9.AutoSize = True - Me.label9.Location = New System.Drawing.Point(72, 63) - Me.label9.Name = "label9" - Me.label9.Size = New System.Drawing.Size(16, 13) - Me.label9.TabIndex = 43 - Me.label9.Text = "1:" - ' - 'groupBox2 - ' - Me.groupBox2.Controls.Add(Me.textBoxScale) - Me.groupBox2.Controls.Add(Me.label5) - Me.groupBox2.Controls.Add(Me.textBoxPrefixViewTarget) - Me.groupBox2.Controls.Add(Me.label6) - Me.groupBox2.Controls.Add(Me.textBoxParameterRoomName) - Me.groupBox2.Controls.Add(Me.textBoxParameterViewName) - Me.groupBox2.Controls.Add(Me.label1) - Me.groupBox2.Controls.Add(Me.label3) - Me.groupBox2.Controls.Add(Me.label9) - Me.groupBox2.ForeColor = System.Drawing.SystemColors.ControlText - Me.groupBox2.Location = New System.Drawing.Point(346, 186) - Me.groupBox2.Name = "groupBox2" - Me.groupBox2.Size = New System.Drawing.Size(334, 91) - Me.groupBox2.TabIndex = 42 - Me.groupBox2.TabStop = False - Me.groupBox2.Text = "Processing Options" - ' - 'textBoxParameterRoomName - ' - Me.textBoxParameterRoomName.Location = New System.Drawing.Point(170, 33) - Me.textBoxParameterRoomName.Name = "textBoxParameterRoomName" - Me.textBoxParameterRoomName.Size = New System.Drawing.Size(150, 20) - Me.textBoxParameterRoomName.TabIndex = 30 - ' - 'textBoxParameterViewName - ' - Me.textBoxParameterViewName.Location = New System.Drawing.Point(11, 33) - Me.textBoxParameterViewName.Name = "textBoxParameterViewName" - Me.textBoxParameterViewName.Size = New System.Drawing.Size(149, 20) - Me.textBoxParameterViewName.TabIndex = 26 - ' - 'label1 - ' - Me.label1.AutoSize = True - Me.label1.Location = New System.Drawing.Point(8, 18) - Me.label1.Name = "label1" - Me.label1.Size = New System.Drawing.Size(152, 13) - Me.label1.TabIndex = 27 - Me.label1.Text = "Room Parameter - View Name:" - ' - 'label3 - ' - Me.label3.AutoSize = True - Me.label3.Location = New System.Drawing.Point(168, 18) - Me.label3.Name = "label3" - Me.label3.Size = New System.Drawing.Size(157, 13) - Me.label3.TabIndex = 31 - Me.label3.Text = "Room Parameter - Room Name:" - ' - 'buttonCreate - ' - Me.buttonCreate.Location = New System.Drawing.Point(13, 671) - Me.buttonCreate.Name = "buttonCreate" - Me.buttonCreate.Size = New System.Drawing.Size(178, 29) - Me.buttonCreate.TabIndex = 40 - Me.buttonCreate.Text = "Create Views" - Me.buttonCreate.UseVisualStyleBackColor = True - ' - 'labelListTitle - ' - Me.labelListTitle.AutoSize = True - Me.labelListTitle.Location = New System.Drawing.Point(12, 9) - Me.labelListTitle.Name = "labelListTitle" - Me.labelListTitle.Size = New System.Drawing.Size(209, 13) - Me.labelListTitle.TabIndex = 39 - Me.labelListTitle.Text = "Select Rooms For Which to Create a View:" - ' - 'listBoxRooms - ' - Me.listBoxRooms.FormattingEnabled = True - Me.listBoxRooms.Location = New System.Drawing.Point(13, 26) - Me.listBoxRooms.Name = "listBoxRooms" - Me.listBoxRooms.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended - Me.listBoxRooms.Size = New System.Drawing.Size(320, 628) - Me.listBoxRooms.TabIndex = 38 - ' - 'ProgressBar1 - ' - Me.ProgressBar1.Location = New System.Drawing.Point(13, 671) - Me.ProgressBar1.Name = "ProgressBar1" - Me.ProgressBar1.Size = New System.Drawing.Size(667, 29) - Me.ProgressBar1.TabIndex = 46 - ' - 'form_ElemViewsFromRooms - ' - Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!) - Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font - Me.ClientSize = New System.Drawing.Size(694, 722) - Me.Controls.Add(Me.buttonClose) - Me.Controls.Add(Me.groupBoxSizeCrop) - Me.Controls.Add(Me.groupBoxViewType) - Me.Controls.Add(Me.groupBoxSizeBox) - Me.Controls.Add(Me.groupBoxSelection) - Me.Controls.Add(Me.groupBox2) - Me.Controls.Add(Me.buttonCreate) - Me.Controls.Add(Me.labelListTitle) - Me.Controls.Add(Me.listBoxRooms) - Me.Controls.Add(Me.ProgressBar1) - Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon) - Me.MaximizeBox = False - Me.MaximumSize = New System.Drawing.Size(710, 760) - Me.MinimizeBox = False - Me.MinimumSize = New System.Drawing.Size(710, 760) - Me.Name = "form_ElemViewsFromRooms" - Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent - Me.Text = "Views From Rooms" - Me.TopMost = True - Me.groupBoxSizeCrop.ResumeLayout(False) - Me.groupBoxSizeCrop.PerformLayout() - Me.groupBoxViewType.ResumeLayout(False) - Me.groupBoxViewType.PerformLayout() - Me.groupBoxSizeBox.ResumeLayout(False) - Me.groupBoxSizeBox.PerformLayout() - Me.groupBoxSelection.ResumeLayout(False) - Me.groupBoxSelection.PerformLayout() - Me.groupBox2.ResumeLayout(False) - Me.groupBox2.PerformLayout() - Me.ResumeLayout(False) - Me.PerformLayout() - - End Sub - Private WithEvents checkBoxCropShow As System.Windows.Forms.CheckBox - Private WithEvents textBoxCropFixedY As System.Windows.Forms.TextBox - Private WithEvents textBoxCropFixedX As System.Windows.Forms.TextBox - Private WithEvents radioButtonSizeCropFixed As System.Windows.Forms.RadioButton - Private WithEvents radioButtonSizeCropDynamic As System.Windows.Forms.RadioButton - Private WithEvents textBoxCropSpace As System.Windows.Forms.TextBox - Private WithEvents buttonClose As System.Windows.Forms.Button - Private WithEvents label10 As System.Windows.Forms.Label - Private WithEvents groupBoxSizeCrop As System.Windows.Forms.GroupBox - Private WithEvents label11 As System.Windows.Forms.Label - Private WithEvents radioButtonGroupSingle As System.Windows.Forms.RadioButton - Private WithEvents checkBoxReplaceExisting As System.Windows.Forms.CheckBox - Private WithEvents radioButtonGroupMultiple As System.Windows.Forms.RadioButton - Private WithEvents groupBoxViewType As System.Windows.Forms.GroupBox - Private WithEvents radioButtonType3dBoxCrop As System.Windows.Forms.RadioButton - Private WithEvents textBoxVectorZ As System.Windows.Forms.TextBox - Private WithEvents textBoxVectorY As System.Windows.Forms.TextBox - Private WithEvents textBoxVectorX As System.Windows.Forms.TextBox - Private WithEvents label4 As System.Windows.Forms.Label - Private WithEvents radioButtonType3dCrop As System.Windows.Forms.RadioButton - Private WithEvents radioButtonType2d As System.Windows.Forms.RadioButton - Private WithEvents radioButtonType3dBox As System.Windows.Forms.RadioButton - Private WithEvents label14 As System.Windows.Forms.Label - Private WithEvents label15 As System.Windows.Forms.Label - Private WithEvents label16 As System.Windows.Forms.Label - Private WithEvents label20 As System.Windows.Forms.Label - Private WithEvents textBoxBoxFixedZ As System.Windows.Forms.TextBox - Private WithEvents checkBoxBoxShow As System.Windows.Forms.CheckBox - Private WithEvents textBoxBoxFixedY As System.Windows.Forms.TextBox - Private WithEvents textBoxBoxFixedX As System.Windows.Forms.TextBox - Private WithEvents groupBoxSizeBox As System.Windows.Forms.GroupBox - Private WithEvents radioButtonSizeBoxFixed As System.Windows.Forms.RadioButton - Private WithEvents radioButtonSizeBoxDynamic As System.Windows.Forms.RadioButton - Private WithEvents textBoxBoxSpace As System.Windows.Forms.TextBox - Private WithEvents label17 As System.Windows.Forms.Label - Private WithEvents label18 As System.Windows.Forms.Label - Private WithEvents label19 As System.Windows.Forms.Label - Private WithEvents textBoxParameterGroupBy As System.Windows.Forms.TextBox - Private WithEvents groupBoxSelection As System.Windows.Forms.GroupBox - Private WithEvents checkBoxListExisting As System.Windows.Forms.CheckBox - Private WithEvents checkBoxListReverse As System.Windows.Forms.CheckBox - Private WithEvents textBoxPad2 As System.Windows.Forms.TextBox - Private WithEvents textBoxPad1 As System.Windows.Forms.TextBox - Private WithEvents checkBoxPad2 As System.Windows.Forms.CheckBox - Private WithEvents checkBoxPad1 As System.Windows.Forms.CheckBox - Private WithEvents textBoxParameterList2 As System.Windows.Forms.TextBox - Private WithEvents label7 As System.Windows.Forms.Label - Private WithEvents textBoxParameterList1 As System.Windows.Forms.TextBox - Private WithEvents label8 As System.Windows.Forms.Label - Private WithEvents textBoxScale As System.Windows.Forms.TextBox - Private WithEvents label5 As System.Windows.Forms.Label - Private WithEvents textBoxPrefixViewTarget As System.Windows.Forms.TextBox - Private WithEvents label6 As System.Windows.Forms.Label - Private WithEvents label9 As System.Windows.Forms.Label - Private WithEvents groupBox2 As System.Windows.Forms.GroupBox - Private WithEvents textBoxParameterRoomName As System.Windows.Forms.TextBox - Private WithEvents textBoxParameterViewName As System.Windows.Forms.TextBox - Private WithEvents label1 As System.Windows.Forms.Label - Private WithEvents label3 As System.Windows.Forms.Label - Private WithEvents buttonCreate As System.Windows.Forms.Button - Private WithEvents labelListTitle As System.Windows.Forms.Label - Private WithEvents listBoxRooms As System.Windows.Forms.ListBox - Friend WithEvents ProgressBar1 As System.Windows.Forms.ProgressBar - Friend WithEvents ComboBoxViewTemplate As System.Windows.Forms.ComboBox - Friend WithEvents Label2 As System.Windows.Forms.Label - Friend WithEvents RadioButtonTypeElevation As System.Windows.Forms.RadioButton -End Class diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/HOK.ElementTools.vbproj b/Element Tools/src/HOK.ElementTools/HOK.ElementTools/HOK.ElementTools.vbproj deleted file mode 100644 index a466f367..00000000 --- a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/HOK.ElementTools.vbproj +++ /dev/null @@ -1,425 +0,0 @@ - - - - Debug - x64 - 9.0.30729 - 2.0 - {5E2C8756-742E-4726-8736-F150469B6C3A} - Library - HOK.ElementTools - HOK.ElementTools - 512 - Windows - On - Binary - Off - On - - - - - 3.5 - publish\ - true - Disk - false - Foreground - 7 - Days - false - false - true - 0 - 1.0.0.%2a - false - false - true - - - - true - full - true - true - bin\Debug\ - HOK.ElementTools.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355 - AllRules.ruleset - false - 2023 - v4.8 - - - pdbonly - false - true - true - bin\Release\ - HOK.ElementTools.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355 - AllRules.ruleset - false - 2023 - v4.8 - - - true - true - true - bin\2018\ - RELEASE2018 - HOK.ElementTools.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355 - full - x64 - AllRules.ruleset - 2018 - v4.5.2 - - - true - true - true - bin\2019\ - RELEASE2019 - HOK.ElementTools.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355 - full - x64 - AllRules.ruleset - 2019 - v4.7.1 - - - true - true - true - bin\2020\ - RELEASE2020 - HOK.ElementTools.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355 - full - x64 - AllRules.ruleset - 2020 - v4.7.2 - - - true - true - true - bin\2021\ - RELEASE2021 - HOK.ElementTools.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355 - full - x64 - AllRules.ruleset - 2021 - v4.8 - - - true - true - true - bin\2022\ - RELEASE2022 - HOK.ElementTools.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355 - full - x64 - AllRules.ruleset - 2022 - v4.8 - - - true - true - true - bin\2023\ - RELEASE2023 - HOK.ElementTools.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355 - full - x64 - AllRules.ruleset - 2023 - v4.8 - - - true - true - true - bin\2024\ - RELEASE2024 - HOK.ElementTools.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355 - full - x64 - AllRules.ruleset - 2024 - v4.8 - - - - ..\..\..\..\HOK.Core\HOK.Core\bin\$(RevitVersion)\HOK.Core.dll - - - ..\..\..\..\HOK.MissionControl\HOK.MissionControl.Core\bin\$(RevitVersion)\HOK.MissionControl.Core.dll - - - C:\Program Files\Autodesk\Revit $(RevitVersion)\RevitAPIUI.dll - $(HOKDepsDirectory)\HOK Addins Deps\Revit\$(RevitVersion)\RevitAPIUI.dll - False - - - C:\Program Files\Autodesk\Revit $(RevitVersion)\RevitAPI.dll - $(HOKDepsDirectory)\HOK Addins Deps\Revit\$(RevitVersion)\RevitAPI.dll - False - - - - - - - - - 3.5 - - - 3.5 - - - 3.5 - - - - - - - - - - - - - - - - - - form_ElemAttachmentManager.vb - - - Form - - - - form_ElemImagesFromViews.vb - - - Form - - - form_ElemMenu.vb - - - Form - - - form_ElemSelectAreaTag.vb - - - Form - - - form_ElemTagViewsArea.vb - - - Form - - - form_ElemViewsFromAreas.vb - - - Form - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - form_ElemPlaceUnplacedAreas.vb - - - Form - - - form_ElemPlaceUnplacedRooms.vb - - - Form - - - form_ElemProgress.vb - - - Form - - - form_ElemRoomsFromAreas.vb - - - Form - - - form_ElemSelectRoomTag.vb - - - Form - - - form_ElemSelectTitleblock.vb - - - Form - - - - form_ElemSheetsFromViews.vb - - - Form - - - form_ElemTagViews.vb - - - Form - - - - form_ElemViewsFromRooms.vb - - - Form - - - - - form_ElemAttachmentManager.vb - Designer - - - form_ElemImagesFromViews.vb - Designer - - - form_ElemMenu.vb - - - form_ElemSelectAreaTag.vb - - - form_ElemTagViewsArea.vb - - - form_ElemViewsFromAreas.vb - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - form_ElemPlaceUnplacedAreas.vb - - - form_ElemPlaceUnplacedRooms.vb - - - form_ElemProgress.vb - - - form_ElemRoomsFromAreas.vb - - - form_ElemSelectRoomTag.vb - - - form_ElemSelectTitleblock.vb - - - form_ElemSheetsFromViews.vb - - - form_ElemTagViews.vb - - - form_ElemViewsFromRooms.vb - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - My - Settings.Designer.vb - - - - - False - .NET Framework 3.5 SP1 Client Profile - false - - - False - .NET Framework 3.5 SP1 - true - - - False - Windows Installer 3.1 - true - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/My Project/AssemblyInfo.vb b/Element Tools/src/HOK.ElementTools/HOK.ElementTools/My Project/AssemblyInfo.vb deleted file mode 100644 index 0d1bee04..00000000 --- a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,35 +0,0 @@ -Imports System -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/HOK.AddInManager/HOK.AddInManager.sln b/HOK.AddInManager/HOK.AddInManager.sln index 1c194a0e..f3bc963b 100644 --- a/HOK.AddInManager/HOK.AddInManager.sln +++ b/HOK.AddInManager/HOK.AddInManager.sln @@ -9,53 +9,78 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HOK.DesktopConnectorLaunche EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution - 2018|x64 = 2018|x64 - 2019|x64 = 2019|x64 - 2020|x64 = 2020|x64 - 2021|x64 = 2021|x64 - 2022|x64 = 2022|x64 - 2023|x64 = 2023|x64 - 2024|x64 = 2024|x64 - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 + Debug R19|x64 = Debug R19|x64 + Debug R20|x64 = Debug R20|x64 + Debug R21|x64 = Debug R21|x64 + Debug R22|x64 = Debug R22|x64 + Debug R23|x64 = Debug R23|x64 + Debug R24|x64 = Debug R24|x64 + Debug R25|x64 = Debug R25|x64 + Release R19|x64 = Release R19|x64 + Release R20|x64 = Release R20|x64 + Release R21|x64 = Release R21|x64 + Release R22|x64 = Release R22|x64 + Release R23|x64 = Release R23|x64 + Release R24|x64 = Release R24|x64 + Release R25|x64 = Release R25|x64 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.2018|x64.ActiveCfg = 2018|x64 - {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.2018|x64.Build.0 = 2018|x64 - {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.2019|x64.ActiveCfg = 2019|x64 - {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.2019|x64.Build.0 = 2019|x64 - {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.2020|x64.ActiveCfg = 2020|x64 - {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.2020|x64.Build.0 = 2020|x64 - {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.2021|x64.ActiveCfg = 2021|x64 - {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.2021|x64.Build.0 = 2021|x64 - {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.2022|x64.ActiveCfg = 2022|x64 - {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.2022|x64.Build.0 = 2022|x64 - {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.2023|x64.ActiveCfg = 2023|x64 - {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.2023|x64.Build.0 = 2023|x64 - {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.2024|x64.ActiveCfg = 2024|x64 - {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.2024|x64.Build.0 = 2024|x64 - {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.Debug|x64.ActiveCfg = Debug|x64 - {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.Debug|x64.Build.0 = Debug|x64 - {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.Release|x64.ActiveCfg = Release|x64 - {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.Release|x64.Build.0 = Release|x64 - {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.2018|x64.ActiveCfg = 2018|x64 - {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.2018|x64.Build.0 = 2018|x64 - {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.2019|x64.ActiveCfg = 2019|x64 - {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.2019|x64.Build.0 = 2019|x64 - {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.2020|x64.ActiveCfg = 2020|x64 - {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.2020|x64.Build.0 = 2020|x64 - {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.2021|x64.ActiveCfg = 2021|x64 - {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.2021|x64.Build.0 = 2021|x64 - {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.2022|x64.ActiveCfg = 2022|x64 - {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.2022|x64.Build.0 = 2022|x64 - {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.2023|x64.ActiveCfg = 2023|x64 - {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.2023|x64.Build.0 = 2023|x64 - {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.2024|x64.ActiveCfg = 2024|x64 - {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.2024|x64.Build.0 = 2024|x64 - {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.Debug|x64.ActiveCfg = Debug|x64 - {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.Debug|x64.Build.0 = Debug|x64 - {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.Release|x64.ActiveCfg = Release|x64 - {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.Release|x64.Build.0 = Release|x64 + {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.Debug R19|x64.ActiveCfg = Debug R19|x64 + {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.Debug R19|x64.Build.0 = Debug R19|x64 + {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.Debug R20|x64.ActiveCfg = Debug R20|x64 + {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.Debug R20|x64.Build.0 = Debug R20|x64 + {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.Debug R21|x64.ActiveCfg = Debug R21|x64 + {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.Debug R21|x64.Build.0 = Debug R21|x64 + {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.Debug R22|x64.ActiveCfg = Debug R22|x64 + {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.Debug R22|x64.Build.0 = Debug R22|x64 + {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.Debug R23|x64.ActiveCfg = Debug R23|x64 + {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.Debug R23|x64.Build.0 = Debug R23|x64 + {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.Debug R24|x64.ActiveCfg = Debug R24|x64 + {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.Debug R24|x64.Build.0 = Debug R24|x64 + {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.Debug R25|x64.ActiveCfg = Debug R25|x64 + {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.Debug R25|x64.Build.0 = Debug R25|x64 + {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.Release R19|x64.ActiveCfg = Release R19|x64 + {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.Release R19|x64.Build.0 = Release R19|x64 + {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.Release R20|x64.ActiveCfg = Release R20|x64 + {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.Release R20|x64.Build.0 = Release R20|x64 + {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.Release R21|x64.ActiveCfg = Release R21|x64 + {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.Release R21|x64.Build.0 = Release R21|x64 + {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.Release R22|x64.ActiveCfg = Release R22|x64 + {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.Release R22|x64.Build.0 = Release R22|x64 + {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.Release R23|x64.ActiveCfg = Release R23|x64 + {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.Release R23|x64.Build.0 = Release R23|x64 + {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.Release R24|x64.ActiveCfg = Release R24|x64 + {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.Release R24|x64.Build.0 = Release R24|x64 + {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.Release R25|x64.ActiveCfg = Release R25|x64 + {7CE0B057-4D66-4955-AE4C-993CABF9AA9E}.Release R25|x64.Build.0 = Release R25|x64 + {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.Debug R19|x64.ActiveCfg = Debug R19|Any CPU + {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.Debug R19|x64.Build.0 = Debug R19|Any CPU + {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.Debug R20|x64.ActiveCfg = Debug R20|x64 + {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.Debug R20|x64.Build.0 = Debug R20|x64 + {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.Debug R21|x64.ActiveCfg = Debug R21|x64 + {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.Debug R21|x64.Build.0 = Debug R21|x64 + {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.Debug R22|x64.ActiveCfg = Debug R22|x64 + {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.Debug R22|x64.Build.0 = Debug R22|x64 + {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.Debug R23|x64.ActiveCfg = Debug R23|x64 + {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.Debug R23|x64.Build.0 = Debug R23|x64 + {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.Debug R24|x64.ActiveCfg = Debug R24|x64 + {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.Debug R24|x64.Build.0 = Debug R24|x64 + {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.Debug R25|x64.ActiveCfg = Debug R25|x64 + {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.Debug R25|x64.Build.0 = Debug R25|x64 + {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.Release R19|x64.ActiveCfg = Release R19|x64 + {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.Release R19|x64.Build.0 = Release R19|x64 + {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.Release R20|x64.ActiveCfg = Release R20|x64 + {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.Release R20|x64.Build.0 = Release R20|x64 + {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.Release R21|x64.ActiveCfg = Release R21|x64 + {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.Release R21|x64.Build.0 = Release R21|x64 + {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.Release R22|x64.ActiveCfg = Release R22|x64 + {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.Release R22|x64.Build.0 = Release R22|x64 + {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.Release R23|x64.ActiveCfg = Release R23|x64 + {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.Release R23|x64.Build.0 = Release R23|x64 + {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.Release R24|x64.ActiveCfg = Release R24|x64 + {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.Release R24|x64.Build.0 = Release R24|x64 + {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.Release R25|x64.ActiveCfg = Release R25|x64 + {73F980B7-AA1F-4B42-8A59-0E52F5F513F8}.Release R25|x64.Build.0 = Release R25|x64 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/HOK.AddInManager/HOK.AddInManager/AppCommand.cs b/HOK.AddInManager/HOK.AddInManager/AppCommand.cs index 2cafa826..486f0a5c 100644 --- a/HOK.AddInManager/HOK.AddInManager/AppCommand.cs +++ b/HOK.AddInManager/HOK.AddInManager/AppCommand.cs @@ -8,10 +8,11 @@ using HOK.AddInManager.Classes; using HOK.AddInManager.Utils; using HOK.Core.Utilities; +using Nice3point.Revit.Toolkit.External; namespace HOK.AddInManager { - public class AppCommand : IExternalApplication + public class AppCommand : ExternalApplication { internal static AppCommand thisApp; private UIControlledApplication m_app; @@ -27,10 +28,10 @@ public class AppCommand : IExternalApplication private const string settingFile = "HOKAddinSettings.xml"; public string settingPath = ""; - public Result OnStartup(UIControlledApplication application) + public override void OnStartup() { thisApp = this; - m_app = application; + m_app = Application; try { try @@ -47,8 +48,8 @@ public Result OnStartup(UIControlledApplication application) installDirectory = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\Autodesk\\REVIT\\Addins\\" + versionNumber; addinResources = Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData) + "\\Autodesk\\REVIT\\Addins\\" + versionNumber + "\\HOK-Addin.bundle\\Contents\\Resources"; - application.ControlledApplication.ApplicationInitialized += ReadAddinSettingsOnInitialized; - application.ApplicationClosing += ApplicationOnClosing; + Application.ControlledApplication.ApplicationInitialized += async (source, args) => { await ReadAddinSettingsOnInitialized(source, args); }; + Application.ApplicationClosing += ApplicationOnClosing; //ribbon panel var toolTipText = Path.Combine(addinResources, "HOK.Tooltip.txt"); @@ -69,20 +70,18 @@ public Result OnStartup(UIControlledApplication application) { Log.AppendLog(LogMessageType.EXCEPTION, ex.Message); } - return Result.Succeeded; } - public Result OnShutdown(UIControlledApplication application) + public override void OnShutdown() { - application.ControlledApplication.ApplicationInitialized -= ReadAddinSettingsOnInitialized; - application.ApplicationClosing -= ApplicationOnClosing; - return Result.Succeeded; + Application.ControlledApplication.ApplicationInitialized -= async (source, args) => { await ReadAddinSettingsOnInitialized(source, args); }; + Application.ApplicationClosing -= ApplicationOnClosing; } /// /// Reads in the XML Settings file. /// - private void ReadAddinSettingsOnInitialized(object source, ApplicationInitializedEventArgs args) + private async Task ReadAddinSettingsOnInitialized(object source, ApplicationInitializedEventArgs args) { try { @@ -99,7 +98,23 @@ private void ReadAddinSettingsOnInitialized(object source, ApplicationInitialize SettingUtil.ReadConfig(settingPath, ref addins); //add addins - addins.AddinCollection.Where(x => x.ToolLoadType == LoadType.Always).ToList().ForEach(AddPlugin); + addins.AddinCollection.Where(x => x.ToolLoadType == LoadType.Always && x.DropdownOptionsFlag == 1).ToList().ForEach(AddPlugin); + var addinsToLoad = addins.AddinCollection.Where(x => x.ToolLoadType == LoadType.Always && x.DropdownOptionsFlag == 2).ToList(); + foreach (var addin in addinsToLoad) + { + foreach (var addinPath in addin.AddInPaths) + { + try + { + await Task.Delay(2500); + m_app.LoadAddIn(addinPath); + } + catch (Exception e) + { + Log.AppendLog(LogMessageType.EXCEPTION, e.Message); + } + } + } } catch (Exception ex) { @@ -136,7 +151,21 @@ public void ProcessPlugins() } break; case LoadType.Always: - AddPlugin(addin); + if (addin.DropdownOptionsFlag == 2) { + foreach (var addinPath in addin.AddInPaths) + { + try + { + m_app.LoadAddIn(addinPath); + } + catch (Exception e) + { + Log.AppendLog(LogMessageType.EXCEPTION, e.Message); + } + } + } else { + AddPlugin(addin); // Copy to user profile method + } break; } } diff --git a/HOK.AddInManager/HOK.AddInManager/Classes/AddinInfo.cs b/HOK.AddInManager/HOK.AddInManager/Classes/AddinInfo.cs index 9521e372..84134527 100644 --- a/HOK.AddInManager/HOK.AddInManager/Classes/AddinInfo.cs +++ b/HOK.AddInManager/HOK.AddInManager/Classes/AddinInfo.cs @@ -153,12 +153,12 @@ public LoadType[] LoadTypes set { _loadTypes = value; NotifyPropertyChanged("LoadTypes"); } } - private bool _requiresRestart; + private int _dropdownOptionsFlag; [XmlIgnore] - public bool RequiresRestart + public int DropdownOptionsFlag { - get { return _requiresRestart; } - set { _requiresRestart = value; NotifyPropertyChanged("RequiresRestart"); } + get { return _dropdownOptionsFlag; } + set { _dropdownOptionsFlag = value; NotifyPropertyChanged("DropdownOptionsFlag"); } } #region Utilities diff --git a/HOK.AddInManager/HOK.AddInManager/Command.cs b/HOK.AddInManager/HOK.AddInManager/Command.cs index 2e076918..36fc4057 100644 --- a/HOK.AddInManager/HOK.AddInManager/Command.cs +++ b/HOK.AddInManager/HOK.AddInManager/Command.cs @@ -9,17 +9,18 @@ using HOK.Core.Utilities; using HOK.MissionControl.Core.Schemas; using HOK.MissionControl.Core.Utils; +using Nice3point.Revit.Toolkit.External; namespace HOK.AddInManager { [Transaction(TransactionMode.Manual)] [Regeneration(RegenerationOption.Manual)] [Journaling(JournalingMode.NoCommandData)] - public class Command : IExternalCommand + public class Command : ExternalCommand { private readonly Dictionary tempSettings = new Dictionary(); - public Result Execute(ExternalCommandData commandData, ref string message, Autodesk.Revit.DB.ElementSet elements) + public override void Execute() { Log.AppendLog(LogMessageType.INFO, "Started"); @@ -37,7 +38,7 @@ public Result Execute(ExternalCommandData commandData, ref string message, Autod // (Konrad) We are gathering information about the addin use. This allows us to // better maintain the most used plug-ins or discontiue the unused ones. // If Window was closed using the OK button we can collect more details about the app to publish. - var log = new AddinLog("AddinManager", commandData.Application.Application.VersionNumber) + var log = new AddinLog("AddinManager", Application.VersionNumber) { DetailInfo = vm.AddinsObj.AddinCollection .Select(x => new InfoItem { Name = x.ToolName, Value = x.ToolLoadType.ToString() }) @@ -57,7 +58,7 @@ public Result Execute(ExternalCommandData commandData, ref string message, Autod else { // If user cancelled out of this window, we don't need to log all the details, other than that it was opened. - AddinUtilities.PublishAddinLog(new AddinLog("AddinManager", commandData.Application.Application.VersionNumber)); + AddinUtilities.PublishAddinLog(new AddinLog("AddinManager", Application.VersionNumber)); OverrideTempSettings(); } @@ -68,7 +69,6 @@ public Result Execute(ExternalCommandData commandData, ref string message, Autod } Log.AppendLog(LogMessageType.INFO, "Ended"); - return Result.Succeeded; } /// diff --git a/HOK.AddInManager/HOK.AddInManager/HOK.AddInManager.csproj b/HOK.AddInManager/HOK.AddInManager/HOK.AddInManager.csproj index 5ab0a5f9..fb1e0182 100644 --- a/HOK.AddInManager/HOK.AddInManager/HOK.AddInManager.csproj +++ b/HOK.AddInManager/HOK.AddInManager/HOK.AddInManager.csproj @@ -1,157 +1,81 @@ - - - + + - Debug - x64 - {7CE0B057-4D66-4955-AE4C-993CABF9AA9E} - Library - Properties - HOK.AddInManager - HOK.AddInManager - 512 - - - - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - 2023 - v4.8 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - 2023 - v4.8 - - - true - bin\2018\ - TRACE;DEBUG;RELEASE2018 - full + true + latest + net8.0-windows x64 - prompt - MinimumRecommendedRules.ruleset - 2018 - v4.5.2 + AnyCPU;x64 + true + disable + true + en-US + Debug R19; Debug R20;Debug R21;Debug R22;Debug R23;Debug R24;Debug R25 + $(Configurations);Release R19; Release R20;Release R21;Release R22;Release R23;Release R24;Release R25 + x64 + HOK Revit Add-ins + HOK Group + Copyright © HOK Group 2024 + https://github.com/HOKGroup/HOK-Revit-Addins + https://github.com/HOKGroup/HOK-Revit-Addins + 0.1.0.24 - - true - bin\2019\ - TRACE;DEBUG;RELEASE2019 - full - x64 - prompt - MinimumRecommendedRules.ruleset + + 2019 - v4.7.1 + net471 - - true - bin\2020\ - TRACE;DEBUG;RELEASE2020 - full - x64 - prompt - MinimumRecommendedRules.ruleset + 2020 - v4.7.2 + net472 - - true - bin\2021\ - TRACE;DEBUG;RELEASE2021 - full - x64 - prompt - MinimumRecommendedRules.ruleset + 2021 - v4.8 + net48 - - true - bin\2022\ - TRACE;DEBUG;RELEASE2022 - full - x64 - prompt - MinimumRecommendedRules.ruleset + 2022 - v4.8 + net48 - - true - bin\2023\ - TRACE;DEBUG;RELEASE2023 - full - x64 - prompt - MinimumRecommendedRules.ruleset + 2023 - v4.8 - - true - bin\2024\ - TRACE;DEBUG;RELEASE2024 - full - x64 - prompt - MinimumRecommendedRules.ruleset + net48 + + 2024 - v4.8 + net48 + + + 2025 + net8.0-windows + + + + + + - - ..\packages\MvvmLightLibs.5.3.0.0\lib\net45\GalaSoft.MvvmLight.dll - - ..\..\HOK.Core\HOK.Core\bin\$(RevitVersion)\HOK.Core.dll - False - False + $(SOURCE_DIR)\_artifacts\$(RevitVersion)\HOK.Core.dll + ..\..\HOK.Core\HOK.Core\bin\x64\$(Configuration)\HOK.Core.dll - ..\..\HOK.Feedback\HOK.Feedback\bin\$(RevitVersion)\HOK.Feedback.dll - False - False + $(SOURCE_DIR)\_artifacts\$(RevitVersion)\HOK.Feedback.dll + ..\..\HOK.Feedback\HOK.Feedback\bin\x64\$(Configuration)\HOK.Feedback.dll - ..\..\HOK.MissionControl\HOK.MissionControl.Core\bin\$(RevitVersion)\HOK.MissionControl.Core.dll - False - False - - - ..\packages\CommonServiceLocator.1.3\lib\portable-net4+sl5+netcore45+wpa81+wp8\Microsoft.Practices.ServiceLocation.dll - - - C:\Program Files\Autodesk\Revit $(RevitVersion)\RevitAPI.dll - $(HOKDepsDirectory)\HOK Addins Deps\Revit\$(RevitVersion)\RevitAPI.dll - False - - - C:\Program Files\Autodesk\Revit $(RevitVersion)\RevitAPIUI.dll - $(HOKDepsDirectory)\HOK Addins Deps\Revit\$(RevitVersion)\RevitAPIUI.dll - False + $(SOURCE_DIR)\_artifacts\$(RevitVersion)\HOK.MissionControl.Core.dll + ..\..\HOK.MissionControl\HOK.MissionControl.Core\bin\x64\$(Configuration)\HOK.MissionControl.Core.dll + + - - ..\packages\Expression.Blend.Sdk.1.0.2\lib\net45\System.Windows.Interactivity.dll - @@ -161,70 +85,38 @@ - - - - - - MainWindow.xaml - - - - True - True - Resources.resx - - - AddInPanel.xaml - - - - - - - - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - + + + PreserveNewest - Designer - - - + - - ResXFileCodeGenerator - Resources.Designer.cs - + + + + + + - + + + + + + + - + - + "powershell.exe" '$(ProjectDir)..\..\_postBuild\codeSigning.ps1' $(TargetPath) - - - - - - - - + diff --git a/HOK.AddInManager/HOK.AddInManager/MainWindow.xaml b/HOK.AddInManager/HOK.AddInManager/MainWindow.xaml index 283895bd..bd5ad86a 100644 --- a/HOK.AddInManager/HOK.AddInManager/MainWindow.xaml +++ b/HOK.AddInManager/HOK.AddInManager/MainWindow.xaml @@ -5,15 +5,15 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:uc ="clr-namespace:HOK.AddInManager.UserControls" - xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" + xmlns:Behaviors="http://schemas.microsoft.com/xaml/behaviors" mc:Ignorable="d" Height="700" Width="500" MinHeight="300" MinWidth="500" Icon="Resources/hoklogo.ico" Title="{Binding Title}" WindowStartupLocation="CenterScreen" BorderThickness="0,5,0,0" BorderBrush="#C45C44"> - - - - - + + + + + diff --git a/HOK.AddInManager/HOK.AddInManager/Properties/AssemblyInfo.cs b/HOK.AddInManager/HOK.AddInManager/Properties/AssemblyInfo.cs deleted file mode 100644 index 65df8302..00000000 --- a/HOK.AddInManager/HOK.AddInManager/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System.Reflection; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("HOK.AddInManager")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("HOK Group")] -[assembly: AssemblyProduct("HOK.AddInManager")] -[assembly: AssemblyCopyright("Copyright © HOK Group 2021")] -[assembly: AssemblyTrademark("Jinsol Kim, Konrad K Sobon")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("ccc20ea3-7d31-45d4-83db-f961b8b93cfb")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2024.1.0.22")] -[assembly: AssemblyFileVersion("2024.1.0.22")] diff --git a/HOK.AddInManager/HOK.AddInManager/UserControls/AddInPanel.xaml.cs b/HOK.AddInManager/HOK.AddInManager/UserControls/AddInPanel.xaml.cs index a9fb4f60..5f6eaf74 100644 --- a/HOK.AddInManager/HOK.AddInManager/UserControls/AddInPanel.xaml.cs +++ b/HOK.AddInManager/HOK.AddInManager/UserControls/AddInPanel.xaml.cs @@ -1,6 +1,7 @@ using System; using System.Windows; using System.Windows.Controls; +using System.Windows.Media; using HOK.AddInManager.Classes; using HOK.Core.Utilities; using HOK.Core.WpfUtilities; @@ -31,10 +32,11 @@ private void comboBoxLoadType_SelectionChanged(object sender, SelectionChangedEv { foreach (AddinInfo info in dataGridAddins.SelectedItems) { - if (info.RequiresRestart && selectedValue == LoadType.Always) + if (info.DropdownOptionsFlag == 1 && selectedValue == LoadType.Always) { StatusBarManager.StatusLabel.Text = "One/more selected Addins will need Revit restart."; + StatusBarManager.StatusLabel.Foreground = new SolidColorBrush(Colors.Red); } } @@ -44,7 +46,7 @@ private void comboBoxLoadType_SelectionChanged(object sender, SelectionChangedEv _userSelection = false; foreach (AddinInfo info in dataGridAddins.SelectedItems) { - if (info.RequiresRestart && selectedValue == LoadType.Always) postMessage = true; + if (info.DropdownOptionsFlag == 1 && selectedValue == LoadType.Always) postMessage = true; var rowIndex = dataGridAddins.Items.IndexOf(info); var row = (DataGridRow)dataGridAddins.ItemContainerGenerator.ContainerFromIndex(rowIndex); var rowComboBox = DataGridUtilities.FindVisualChild(row); @@ -64,6 +66,9 @@ private void comboBoxLoadType_SelectionChanged(object sender, SelectionChangedEv StatusBarManager.StatusLabel.Text = postMessage ? "One/more selected Addins will need Revit restart." : "Ready"; + StatusBarManager.StatusLabel.Foreground = postMessage + ? new SolidColorBrush(Colors.Red) + : new SolidColorBrush(System.Windows.Media.Color.FromArgb(255, 118, 116, 116)); } catch (Exception ex) { diff --git a/HOK.AddInManager/HOK.AddInManager/UserControls/AddInViewModel.cs b/HOK.AddInManager/HOK.AddInManager/UserControls/AddInViewModel.cs index f5e176b5..103a7e00 100644 --- a/HOK.AddInManager/HOK.AddInManager/UserControls/AddInViewModel.cs +++ b/HOK.AddInManager/HOK.AddInManager/UserControls/AddInViewModel.cs @@ -8,17 +8,17 @@ using System.Windows.Interop; using HOK.AddInManager.Classes; using HOK.Core.Utilities; -using GalaSoft.MvvmLight; -using GalaSoft.MvvmLight.Command; +using CommunityToolkit.Mvvm; +using CommunityToolkit.Mvvm.Input; using HOK.Core.WpfUtilities; using HOK.Feedback; -using RelayCommand = GalaSoft.MvvmLight.Command.RelayCommand; +using RelayCommand = CommunityToolkit.Mvvm.Input.RelayCommand; #endregion namespace HOK.AddInManager.UserControls { - public class AddInViewModel : ViewModelBase + public class AddInViewModel : ObservableRecipient { #region Properties @@ -36,14 +36,14 @@ public class AddInViewModel : ViewModelBase public Addins AddinsObj { get { return _addins; } - set { _addins = value; RaisePropertyChanged(() => AddinsObj); } + set { _addins = value; OnPropertyChanged(nameof(AddinsObj)); } } private ObservableCollection _selectedAddins = new ObservableCollection(); public ObservableCollection SelectedAddins { get { return _selectedAddins; } - set { _selectedAddins = value; RaisePropertyChanged(() => SelectedAddins); } + set { _selectedAddins = value; OnPropertyChanged(nameof(SelectedAddins)); } } #endregion @@ -101,7 +101,7 @@ private static void OnHelp() var ttt = AppCommand.thisApp.addinManagerToolTip; if (!string.IsNullOrEmpty(ttt.HelpUrl)) { - Process.Start(ttt.HelpUrl); + Process.Start(new ProcessStartInfo(ttt.HelpUrl) { UseShellExecute = true }); } } catch (Exception ex) diff --git a/HOK.AddInManager/HOK.AddInManager/Utils/CsvUtil.cs b/HOK.AddInManager/HOK.AddInManager/Utils/CsvUtil.cs index 8948ff6e..1af2b4de 100644 --- a/HOK.AddInManager/HOK.AddInManager/Utils/CsvUtil.cs +++ b/HOK.AddInManager/HOK.AddInManager/Utils/CsvUtil.cs @@ -12,7 +12,7 @@ public static class CsvUtil { public static string[] ColumnNames = { - "icon", "name", "addin", "order", "tooltip", "url", "requiresRestart" + "icon", "name", "addin", "order", "tooltip", "url", "dropdownOptionsFlag" }; /// @@ -53,7 +53,7 @@ public static ObservableCollection ReadAddInList(string csvFile, stri } else if (formatMatched) { - var restart = bool.Parse(fields[6]); + var restart = int.Parse(fields[6]); var addinInfo = new AddinInfo { IconName = fields[0], @@ -61,9 +61,9 @@ public static ObservableCollection ReadAddInList(string csvFile, stri Index = int.Parse(fields[3]), Tooltip = fields[4], Url = fields[5], - RequiresRestart = restart, - LoadTypes = restart - ? new[]{LoadType.Always, LoadType.Never} + DropdownOptionsFlag = restart, + LoadTypes = restart == 1 + ? new[]{LoadType.Never, LoadType.Always } : new[]{LoadType.Never, LoadType.Always, LoadType.ThisSessionOnly} }; diff --git a/HOK.AddInManager/HOK.AddInManager/packages.config b/HOK.AddInManager/HOK.AddInManager/packages.config deleted file mode 100644 index c04d9f20..00000000 --- a/HOK.AddInManager/HOK.AddInManager/packages.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/HOK.AddInManager/HOK.DesktopConnectorLauncher/AppCommand.cs b/HOK.AddInManager/HOK.DesktopConnectorLauncher/AppCommand.cs index beade66d..76b4d8e6 100644 --- a/HOK.AddInManager/HOK.DesktopConnectorLauncher/AppCommand.cs +++ b/HOK.AddInManager/HOK.DesktopConnectorLauncher/AppCommand.cs @@ -6,10 +6,11 @@ using Autodesk.Revit.DB.Events; using HOK.Core.Utilities; using Microsoft.Win32; +using Nice3point.Revit.Toolkit.External; namespace HOK.DesktopConnectorLauncher { - public class AppCommand : IExternalApplication + public class AppCommand : ExternalApplication { private UIControlledApplication m_app; private string tabName = ""; @@ -17,22 +18,18 @@ public class AppCommand : IExternalApplication public PushButton helpButton; public PushButton desktopConnectorButton; - public Result OnStartup(UIControlledApplication application) + public override void OnStartup() { - m_app = application; + m_app = Application; tabName = " HOK "; currentAssembly = Assembly.GetAssembly(GetType()).Location; - application.ControlledApplication.ApplicationInitialized += EventAppInitialize; - - return Result.Succeeded; + Application.ControlledApplication.ApplicationInitialized += EventAppInitialize; } - public Result OnShutdown(UIControlledApplication application) + public override void OnShutdown() { - application.ControlledApplication.ApplicationInitialized -= EventAppInitialize; - - return Result.Succeeded; + Application.ControlledApplication.ApplicationInitialized -= EventAppInitialize; } private void EventAppInitialize(object sender, ApplicationInitializedEventArgs arg) diff --git a/HOK.AddInManager/HOK.DesktopConnectorLauncher/DesktopConnectorCommand.cs b/HOK.AddInManager/HOK.DesktopConnectorLauncher/DesktopConnectorCommand.cs index a76f7dc9..ea5c6515 100644 --- a/HOK.AddInManager/HOK.DesktopConnectorLauncher/DesktopConnectorCommand.cs +++ b/HOK.AddInManager/HOK.DesktopConnectorLauncher/DesktopConnectorCommand.cs @@ -6,15 +6,16 @@ using HOK.MissionControl.Core.Utils; using System.Diagnostics; using Microsoft.Win32; +using Nice3point.Revit.Toolkit.External; namespace HOK.DesktopConnectorLauncher { [Transaction(TransactionMode.Manual)] [Regeneration(RegenerationOption.Manual)] [Journaling(JournalingMode.NoCommandData)] - public class DesktopConnectorCommand : IExternalCommand + public class DesktopConnectorCommand : ExternalCommand { - public Result Execute(ExternalCommandData commandData, ref string message, Autodesk.Revit.DB.ElementSet elements) + public override void Execute() { Log.AppendLog(LogMessageType.INFO, "Started"); @@ -37,7 +38,6 @@ public Result Execute(ExternalCommandData commandData, ref string message, Autod } Log.AppendLog(LogMessageType.INFO, "Ended"); - return Result.Succeeded; } } } diff --git a/HOK.AddInManager/HOK.DesktopConnectorLauncher/HOK.DesktopConnectorLauncher.csproj b/HOK.AddInManager/HOK.DesktopConnectorLauncher/HOK.DesktopConnectorLauncher.csproj index b3b5aae5..db94539b 100644 --- a/HOK.AddInManager/HOK.DesktopConnectorLauncher/HOK.DesktopConnectorLauncher.csproj +++ b/HOK.AddInManager/HOK.DesktopConnectorLauncher/HOK.DesktopConnectorLauncher.csproj @@ -1,137 +1,70 @@ - - + + - Debug - x64 - 8.0.30703 - 2.0 - {73F980B7-AA1F-4B42-8A59-0E52F5F513F8} - Library - Properties - HOK.DesktopConnectorLauncher - HOK.DesktopConnectorLauncher - 512 - + latest + net8.0-windows + x64 + AnyCPU;x64 + true + disable + true + en-US + Debug R19; Debug R20;Debug R21;Debug R22;Debug R23;Debug R24;Debug R25 + $(Configurations);Release R19; Release R20;Release R21;Release R22;Release R23;Release R24;Release R25 + x64 + HOK Revit Add-ins + HOK Group + Copyright © HOK Group 2024 + https://github.com/HOKGroup/HOK-Revit-Addins + https://github.com/HOKGroup/HOK-Revit-Addins + 0.1.0.24 - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - false - 2023 - v4.8 + + + 2019 + net471 - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - false - 2023 - v4.8 + + 2020 + net472 - - true - bin\2018\ - TRACE;DEBUG;RELEASE2018 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2018 - v4.5.2 + + 2021 + net48 - - true - bin\2019\ - TRACE;DEBUG;RELEASE2019 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2019 - v4.7.1 + + 2022 + net48 - - true - bin\2020\ - TRACE;DEBUG;RELEASE2020 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2020 - v4.7.2 + + 2023 + net48 - - true - bin\2021\ - TRACE;DEBUG;RELEASE2021 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2021 - v4.8 + + 2024 + net48 - - true - bin\2022\ - TRACE;DEBUG;RELEASE2022 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2022 - v4.8 - - - true - bin\2023\ - TRACE;DEBUG;RELEASE2023 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2023 - v4.8 - - true - bin\2024\ - TRACE;DEBUG;RELEASE2024 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2024 - v4.8 + + 2025 + net8.0-windows + - ..\..\HOK.Core\HOK.Core\bin\$(RevitVersion)\HOK.Core.dll - False - False + $(SOURCE_DIR)\_artifacts\$(RevitVersion)\HOK.Core.dll + ..\..\HOK.Core\HOK.Core\bin\x64\$(Configuration)\HOK.Core.dll - - ..\..\HOK.MissionControl\HOK.MissionControl.Core\bin\$(RevitVersion)\HOK.MissionControl.Core.dll - False - - - C:\Program Files\Autodesk\Revit $(RevitVersion)\RevitAPIUI.dll - $(HOKDepsDirectory)\HOK Addins Deps\Revit\$(RevitVersion)\RevitAPIUI.dll - False + + $(SOURCE_DIR)\_artifacts\$(RevitVersion)\HOK.Feedback.dll + ..\..\HOK.Feedback\HOK.Feedback\bin\x64\$(Configuration)\HOK.Feedback.dll - - C:\Program Files\Autodesk\Revit $(RevitVersion)\RevitAPI.dll - $(HOKDepsDirectory)\HOK Addins Deps\Revit\$(RevitVersion)\RevitAPI.dll - False + + $(SOURCE_DIR)\_artifacts\$(RevitVersion)\HOK.MissionControl.Core.dll + ..\..\HOK.MissionControl\HOK.MissionControl.Core\bin\x64\$(Configuration)\HOK.MissionControl.Core.dll + + + @@ -143,11 +76,6 @@ - - - - - @@ -156,25 +84,22 @@ PreserveNewest - + + + + + + + + + + + + - + "powershell.exe" '$(ProjectDir)..\..\_postBuild\codeSigning.ps1' $(TargetPath) - - - - - - - - - - + + diff --git a/HOK.AddInManager/HOK.DesktopConnectorLauncher/Properties/AssemblyInfo.cs b/HOK.AddInManager/HOK.DesktopConnectorLauncher/Properties/AssemblyInfo.cs deleted file mode 100644 index e0ffdfd9..00000000 --- a/HOK.AddInManager/HOK.DesktopConnectorLauncher/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System.Reflection; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("HOK Desktop Connector Launcher")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("HOK Group")] -[assembly: AssemblyProduct("HOK.DesktopConnectorLauncher")] -[assembly: AssemblyCopyright("Copyright © HOK Group 2021")] -[assembly: AssemblyTrademark("Dan Siroky")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("ecb9fc27-0b76-4642-b64b-5fa8b1f77f2a")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2024.1.0.22")] -[assembly: AssemblyFileVersion("2024.1.0.22")] diff --git a/HOK.AddInManager/_resources/2018/HOK2018Addins.csv b/HOK.AddInManager/_resources/2018/HOK2018Addins.csv index a1f22360..625fe6a6 100644 --- a/HOK.AddInManager/_resources/2018/HOK2018Addins.csv +++ b/HOK.AddInManager/_resources/2018/HOK2018Addins.csv @@ -1,37 +1,37 @@ -icon,name,addin,order,tooltip,url,requiresRestart -Ideate.png,Ideate Tools,IdeateSoftwareISW.addin,1,"The entire suite of Ideate tools: Apps, BIMLink, Explorer, Sticky & StyleManager",https://ideatesoftware.com,TRUE -eTransmit.png,eTransmit,Autodesk.eTransmitApplication.addin,2,Prepare models to be archived or transmitted to outside team members,https://hub.hok.com/designtech/educationwiki/revit-addin-eTransmit.aspx,FALSE -TransferSingle.png,TransferSingle,TransferSingle2018.addin,3,Use this tool to Transfer Project Standards on a single item instead of an entire category,https://apps.autodesk.com/RVT/en/Detail/Index?id=1090472181312958476&appLang=en&os=Win64,FALSE -ScopeBoxSync.png,Scope Box Synchronizer,ScopeBoxSynchronizer.addin,4,Keep scope boxes in linked models synchronized with those in the host model,https://apps.autodesk.com/RVT/en/Detail/Index?id=6897465823377340538&appLang=en&os=Win64,FALSE -RTVxporterPro.png,RTV Xporter Pro,RTVTools_2018.addin,5,"A powerful tool for batch exporting, printing and revision control",https://www.rtvtools.com/rtv-xporter-pro/,FALSE -CTC_BIMmanS.png,CTC BIM Manager Suite,CTC-BIM-Manager-Suite.addin,6,A collection of powerful tools for BIM Managers and Coordinators,https://hub.hok.com/designtech/educationwiki/revit-express-tools.aspx,FALSE -CTC_BIMprojS.png,CTC BIM Project Suite,CTC-BIM-Project-Suite.addin,7,A collection of powerful tools for BIM Managers and Coordinators,https://hub.hok.com/designtech/educationwiki/revit-express-tools.aspx,FALSE -CTC_BIMbatchS.png,CTC BIM Batch Suite,CTC-BIM-Batch-Suite.addin,8,"A collection of powerful batching tools for exporting, family loading, upgrading and plotting",https://hub.hok.com/designtech/educationwiki/revit-express-tools.aspx,FALSE -autoLink.png,autoLink,workFlow.addin,9,"Extend Revit updating behavior to view references in schedules, tags and text so these stay in sync when changes occur",https://hub.hok.com/designtech/educationwiki/revolution-design-autolink.aspx,FALSE -Dynamo.png,Dynamo,Dynamo.addin,10,A powerful visual scripting tool for computational design and daily task automation,http://dynamobim.org/,FALSE -BCFmanager.png,BCF Manager,BCF_Manager.addin,11,Communicate issues with all team members such as collisions between trades via the open-source BCF schema,http://www.bimcollab.com/en/BCF-Manager/BCF-Manager,TRUE -Clarity.png,Clarity,IMAGINiT.ClarityClient.addin,12,For HOK projects hosted on rs.hok.com that require external collaboration,http://s3.amazonaws.com/IMAGINiTSoftware/Documentation/Clarity/2018.1/index.htm#t=User_Guide%2FClarity_Revit_Add-in.htm,FALSE -Collab4Revit.png,BIM 360 Design (C4R),"Autodesk.Collaborate.addin, Communicator.addin, ExportViewSelectorApp.addin",13,Set up a project to be workshared with team members outside of HOK (subscription required - project expense),http://autode.sk/2ey71Y0,FALSE -VRay.png,V-Ray for Revit,VRay4Revit2018.addin,14,Render using V-Ray for Revit and take advantage of the Swarm efficiency (distributed rendering),https://docs.chaosgroup.com/display/VRAYREVIT/V-Ray+for+Revit+QuickStart+-+Intro,FALSE -IsolateWarnings.png,Isolate Warnings,ARCHISOFT_warnings.addin,15,Maintain and audit your model by creating 3D views that isolate elements with associated warnings,https://apps.autodesk.com/RVT/en/Detail/Index?id=5064956227128897660&appLang=en&os=Win32_64,FALSE -Coins.png,COINS Auto-Section Box,CoinsSectionBoxApp2018.addin,16,Create a 3D view with a section box around selected elements (note that a similar tool is now available ootb),http://revitlink.blogspot.com/2016/01/revit-selection-box-vs-coins-auto.html,FALSE -Revizto.png,Revizto,revizto_v4_2014.addin,17,"Export your models for cloud-based collaboration: markups, issue tracking, visualization and more",https://hub.hok.com/workspace/designSMART/Documents/Revizto%20User%20Guide.pdf,FALSE -ColorSplasher.png,Color Splasher,ColorSplasher.addin,18,"Filter, select & color elements based on parameter values to visualise and audit model data",http://bimone.com/UserGuide/Color%20Splasher%20-%20User%20Guide.pdf,FALSE -Insight360.png,Insight,Insight.addin,19,Energy performance analysis via Autodesk Cloud Services (use your HOK Autodesk Account),https://insight360.autodesk.com/oneenergy,FALSE -COBieExt.png,COBie Extension,COBie Extension.addin,20,Capture COBie data and export to a COBie compliant spreadsheet,http://www.biminteroperabilitytools.com/cobieextension/index.html,FALSE -Align.png,Align,AlignTag.addin,21,"Align, distribute or organize selected tags and text along the specified axis",https://apps.autodesk.com/RVT/en/Detail/Index?id=2903508825431715905&appLang=en&os=Win32_64,FALSE -ModelReview.png,Model Review,Autodesk.ModelReview.addin,22,Validate the accuracy and consistency of your projects by running various checks,http://autode.sk/2eKAcE3,FALSE -BIM360Glue.png,BIM 360 Glue,BIM360GlueRevitAddin.addin,23,Clash detection in the cloud (subscription required - project expense or contractor provided),http://www.autodesk.com/products/bim-360-glue/overview,FALSE -SiteDesigner.png,Site Designer,Autodesk.SiteDesignerExtension.addinZZZ,24,Site planning tools to shape the terrain for building sites within Revit,http://autode.sk/2eh46BB,FALSE -pyRevit.png,pyRevit,pyRevit.addin,25,A set of valuable open-source tools written in Python (currently distributing only Make Pattern for fill/hatch patterns),https://www.youtube.com/watch?v=H7b8hjHbauE,FALSE -StructCope.png,Structural Cope Tool,SSFT.StrucCope.addin,26,Automatically cope selected beams/columns with any number of intersecting members,https://apps.autodesk.com/RVT/en/Detail/Index?id=662680847725051942&appLang=en&os=Win32_64,FALSE -StructWebStiff.png,Web Stiffener,AddStiffenerApp.addin,27,Quickly add web stiffeners on one or more W-beams,https://apps.autodesk.com/RVT/en/Detail/Index?id=3707897859546303803&appLang=en&os=Win32_64,FALSE -StructColSplit.png,Column Splitter,Ssft.Column-Splitter.addin,28,"Split columns by point (now available ootb), by levels or by reference planes",https://apps.autodesk.com/RVT/en/Detail/Index?id=5528791458580677035&appLang=en&os=Win32_64,FALSE -SteelConnections.png,Steel Connections,RvtSteelConnectionsUI.addin,29,View detailed structural connector geometry and modify additional parameters,http://autode.sk/2dg3JFH,FALSE -ETABSexport.png,Export to ETABS,NM.Revit.addin,30,Export a structural Revit model to Etabs for analysis and member sizing,http://www.nassermarafi.com/,FALSE -FabExtension.png,Fabrication Extension,RevitFabricationExtension.addin,31,Export a fabrication layout from Revit to a fabrication job (MEP),http://autode.sk/2eKCSBt,FALSE -Formit360.png,FormIt 360 Converter,FormItConverter.addinZZZ,32,Convert FormIt files to the Revit file format,http://autode.sk/2dD2l3I,FALSE -dbLink.png,Revit DB Link,Autodesk.RevitDBLink.addinZZZ,33,"Export Revit project data to a database, make changes and re-import",http://autode.sk/2dPFkcm,FALSE -Lumion.png,Lumion Exporter,RevitToLumionBridge.addin,34,Export to Lumion,https://www.youtube.com/watch?v=3Lsn-QssVkY,FALSE -NBS.png,NBS Plugin,NBS2018.addin,35,Coordinate element data with the NBS Specification & access the National BIM Library,https://www.nationalbimlibrary.com/nbs-plug-in-for-autodesk-revit,FALSE -TrimbleConnect.png,Trimble Connect Uploader,RVT2BSQPlugin2018.addin,36,"Export to Trimble Connect to visualize the model in a browser, markup, and create To Dos",https://community.trimble.com/docs/DOC-10018-trimble-connect-for-revit,FALSE +icon,name,addin,order,tooltip,url,dropdownOptionsFlag +Ideate.png,Ideate Tools,IdeateSoftwareISW.addin,1,"The entire suite of Ideate tools: Apps, BIMLink, Explorer, Sticky & StyleManager",https://ideatesoftware.com,1 +eTransmit.png,eTransmit,Autodesk.eTransmitApplication.addin,2,Prepare models to be archived or transmitted to outside team members,https://hub.hok.com/designtech/educationwiki/revit-addin-eTransmit.aspx,0 +TransferSingle.png,TransferSingle,TransferSingle2018.addin,3,Use this tool to Transfer Project Standards on a single item instead of an entire category,https://apps.autodesk.com/RVT/en/Detail/Index?id=1090472181312958476&appLang=en&os=Win64,0 +ScopeBoxSync.png,Scope Box Synchronizer,ScopeBoxSynchronizer.addin,4,Keep scope boxes in linked models synchronized with those in the host model,https://apps.autodesk.com/RVT/en/Detail/Index?id=6897465823377340538&appLang=en&os=Win64,0 +RTVxporterPro.png,RTV Xporter Pro,RTVTools_2018.addin,5,"A powerful tool for batch exporting, printing and revision control",https://www.rtvtools.com/rtv-xporter-pro/,0 +CTC_BIMmanS.png,CTC BIM Manager Suite,CTC-BIM-Manager-Suite.addin,6,A collection of powerful tools for BIM Managers and Coordinators,https://hub.hok.com/designtech/educationwiki/revit-express-tools.aspx,2 +CTC_BIMprojS.png,CTC BIM Project Suite,CTC-BIM-Project-Suite.addin,7,A collection of powerful tools for BIM Managers and Coordinators,https://hub.hok.com/designtech/educationwiki/revit-express-tools.aspx,2 +CTC_BIMbatchS.png,CTC BIM Batch Suite,CTC-BIM-Batch-Suite.addin,8,"A collection of powerful batching tools for exporting, family loading, upgrading and plotting",https://hub.hok.com/designtech/educationwiki/revit-express-tools.aspx,2 +autoLink.png,autoLink,workFlow.addin,9,"Extend Revit updating behavior to view references in schedules, tags and text so these stay in sync when changes occur",https://hub.hok.com/designtech/educationwiki/revolution-design-autolink.aspx,0 +Dynamo.png,Dynamo,Dynamo.addin,10,A powerful visual scripting tool for computational design and daily task automation,http://dynamobim.org/,0 +BCFmanager.png,BCF Manager,BCF_Manager.addin,11,Communicate issues with all team members such as collisions between trades via the open-source BCF schema,http://www.bimcollab.com/en/BCF-Manager/BCF-Manager,1 +Clarity.png,Clarity,IMAGINiT.ClarityClient.addin,12,For HOK projects hosted on rs.hok.com that require external collaboration,http://s3.amazonaws.com/IMAGINiTSoftware/Documentation/Clarity/2018.1/index.htm#t=User_Guide%2FClarity_Revit_Add-in.htm,0 +Collab4Revit.png,BIM 360 Design (C4R),"Autodesk.Collaborate.addin, Communicator.addin, ExportViewSelectorApp.addin",13,Set up a project to be workshared with team members outside of HOK (subscription required - project expense),http://autode.sk/2ey71Y0,0 +VRay.png,V-Ray for Revit,VRay4Revit2018.addin,14,Render using V-Ray for Revit and take advantage of the Swarm efficiency (distributed rendering),https://docs.chaosgroup.com/display/VRAYREVIT/V-Ray+for+Revit+QuickStart+-+Intro,0 +IsolateWarnings.png,Isolate Warnings,ARCHISOFT_warnings.addin,15,Maintain and audit your model by creating 3D views that isolate elements with associated warnings,https://apps.autodesk.com/RVT/en/Detail/Index?id=5064956227128897660&appLang=en&os=Win32_64,0 +Coins.png,COINS Auto-Section Box,CoinsSectionBoxApp2018.addin,16,Create a 3D view with a section box around selected elements (note that a similar tool is now available ootb),http://revitlink.blogspot.com/2016/01/revit-selection-box-vs-coins-auto.html,0 +Revizto.png,Revizto,revizto_v4_2014.addin,17,"Export your models for cloud-based collaboration: markups, issue tracking, visualization and more",https://hub.hok.com/workspace/designSMART/Documents/Revizto%20User%20Guide.pdf,0 +ColorSplasher.png,Color Splasher,ColorSplasher.addin,18,"Filter, select & color elements based on parameter values to visualise and audit model data",http://bimone.com/UserGuide/Color%20Splasher%20-%20User%20Guide.pdf,0 +Insight360.png,Insight,Insight.addin,19,Energy performance analysis via Autodesk Cloud Services (use your HOK Autodesk Account),https://insight360.autodesk.com/oneenergy,0 +COBieExt.png,COBie Extension,COBie Extension.addin,20,Capture COBie data and export to a COBie compliant spreadsheet,http://www.biminteroperabilitytools.com/cobieextension/index.html,0 +Align.png,Align,AlignTag.addin,21,"Align, distribute or organize selected tags and text along the specified axis",https://apps.autodesk.com/RVT/en/Detail/Index?id=2903508825431715905&appLang=en&os=Win32_64,0 +ModelReview.png,Model Review,Autodesk.ModelReview.addin,22,Validate the accuracy and consistency of your projects by running various checks,http://autode.sk/2eKAcE3,0 +BIM360Glue.png,BIM 360 Glue,BIM360GlueRevitAddin.addin,23,Clash detection in the cloud (subscription required - project expense or contractor provided),http://www.autodesk.com/products/bim-360-glue/overview,0 +SiteDesigner.png,Site Designer,Autodesk.SiteDesignerExtension.addinZZZ,24,Site planning tools to shape the terrain for building sites within Revit,http://autode.sk/2eh46BB,0 +pyRevit.png,pyRevit,pyRevit.addin,25,A set of valuable open-source tools written in Python (currently distributing only Make Pattern for fill/hatch patterns),https://www.youtube.com/watch?v=H7b8hjHbauE,0 +StructCope.png,Structural Cope Tool,SSFT.StrucCope.addin,26,Automatically cope selected beams/columns with any number of intersecting members,https://apps.autodesk.com/RVT/en/Detail/Index?id=662680847725051942&appLang=en&os=Win32_64,0 +StructWebStiff.png,Web Stiffener,AddStiffenerApp.addin,27,Quickly add web stiffeners on one or more W-beams,https://apps.autodesk.com/RVT/en/Detail/Index?id=3707897859546303803&appLang=en&os=Win32_64,0 +StructColSplit.png,Column Splitter,Ssft.Column-Splitter.addin,28,"Split columns by point (now available ootb), by levels or by reference planes",https://apps.autodesk.com/RVT/en/Detail/Index?id=5528791458580677035&appLang=en&os=Win32_64,0 +SteelConnections.png,Steel Connections,RvtSteelConnectionsUI.addin,29,View detailed structural connector geometry and modify additional parameters,http://autode.sk/2dg3JFH,0 +ETABSexport.png,Export to ETABS,NM.Revit.addin,30,Export a structural Revit model to Etabs for analysis and member sizing,http://www.nassermarafi.com/,0 +FabExtension.png,Fabrication Extension,RevitFabricationExtension.addin,31,Export a fabrication layout from Revit to a fabrication job (MEP),http://autode.sk/2eKCSBt,0 +Formit360.png,FormIt 360 Converter,FormItConverter.addinZZZ,32,Convert FormIt files to the Revit file format,http://autode.sk/2dD2l3I,0 +dbLink.png,Revit DB Link,Autodesk.RevitDBLink.addinZZZ,33,"Export Revit project data to a database, make changes and re-import",http://autode.sk/2dPFkcm,0 +Lumion.png,Lumion Exporter,RevitToLumionBridge.addin,34,Export to Lumion,https://www.youtube.com/watch?v=3Lsn-QssVkY,0 +NBS.png,NBS Plugin,NBS2018.addin,35,Coordinate element data with the NBS Specification & access the National BIM Library,https://www.nationalbimlibrary.com/nbs-plug-in-for-autodesk-revit,0 +TrimbleConnect.png,Trimble Connect Uploader,RVT2BSQPlugin2018.addin,36,"Export to Trimble Connect to visualize the model in a browser, markup, and create To Dos",https://community.trimble.com/docs/DOC-10018-trimble-connect-for-revit,0 diff --git a/HOK.AddInManager/_resources/2019/HOK2019Addins.csv b/HOK.AddInManager/_resources/2019/HOK2019Addins.csv index f6dc2df8..cee80abe 100644 --- a/HOK.AddInManager/_resources/2019/HOK2019Addins.csv +++ b/HOK.AddInManager/_resources/2019/HOK2019Addins.csv @@ -1,37 +1,37 @@ -icon,name,addin,order,tooltip,url,requiresRestart -Ideate.png,Ideate Tools,IdeateSoftwareISW.addin,1,"The entire suite of Ideate tools: Apps, BIMLink, Explorer, Sticky & StyleManager",https://ideatesoftware.com,TRUE -eTransmit.png,eTransmit,Autodesk.eTransmitApplication.addin,2,Prepare models to be archived or transmitted to outside team members,https://hub.hok.com/designtech/educationwiki/revit-addin-eTransmit.aspx,FALSE -TransferSingle.png,TransferSingle,TransferSingle2019.addin,3,Use this tool to Transfer Project Standards on a single item instead of an entire category,https://apps.autodesk.com/RVT/en/Detail/Index?id=1090472181312958476&appLang=en&os=Win64,FALSE -ScopeBoxSync.png,Scope Box Synchronizer,ScopeBoxSynchronizer.addin,4,Keep scope boxes in linked models synchronized with those in the host model,https://apps.autodesk.com/RVT/en/Detail/Index?id=6897465823377340538&appLang=en&os=Win64,FALSE -RTVxporterPro.png,RTV Xporter Pro,RTVTools_2019.addin,5,"A powerful tool for batch exporting, printing and revision control",https://www.rtvtools.com/rtv-xporter-pro/,FALSE -CTC_BIMmanS.png,CTC BIM Manager Suite,CTC-BIM-Manager-Suite.addin,6,A collection of powerful tools for BIM Managers and Coordinators,https://hub.hok.com/designtech/educationwiki/revit-express-tools.aspx,FALSE -CTC_BIMprojS.png,CTC BIM Project Suite,CTC-BIM-Project-Suite.addin,7,A collection of powerful tools for BIM Managers and Coordinators,https://hub.hok.com/designtech/educationwiki/revit-express-tools.aspx,FALSE -CTC_BIMbatchS.png,CTC BIM Batch Suite,CTC-BIM-Batch-Suite.addin,8,"A collection of powerful batching tools for exporting, family loading, upgrading and plotting",https://hub.hok.com/designtech/educationwiki/revit-express-tools.aspx,FALSE -autoLink.png,autoLink,workFlow.addin,9,"Extend Revit updating behavior to view references in schedules, tags and text so these stay in sync when changes occur",https://hub.hok.com/designtech/educationwiki/revolution-design-autolink.aspx,FALSE -Dynamo.png,Dynamo,Dynamo.addin,10,A powerful visual scripting tool for computational design and daily task automation,http://dynamobim.org/,FALSE -BCFmanager.png,BCF Manager,BCF_Manager.addin,11,Communicate issues with all team members such as collisions between trades via the open-source BCF schema,http://www.bimcollab.com/en/BCF-Manager/BCF-Manager,TRUE -Clarity.png,Clarity,IMAGINiT.ClarityClient.addin,12,For HOK projects hosted on rs.hok.com that require external collaboration,http://s3.amazonaws.com/IMAGINiTSoftware/Documentation/Clarity/2018.1/index.htm#t=User_Guide%2FClarity_Revit_Add-in.htm,FALSE -Collab4Revit.png,BIM 360 Design (C4R),"Autodesk.Collaborate.addin, ExportViewSelectorApp.addin",13,Set up a project to be workshared with team members outside of HOK (subscription required - project expense),http://autode.sk/2ey71Y0,FALSE -VRay.png,V-Ray for Revit,VRay4Revit2019.addin,14,Render using V-Ray for Revit and take advantage of the Swarm efficiency (distributed rendering),https://docs.chaosgroup.com/display/VRAYREVIT/V-Ray+for+Revit+QuickStart+-+Intro,FALSE -IsolateWarnings.png,Isolate Warnings,ARCHISOFT_warnings.addin,15,Maintain and audit your model by creating 3D views that isolate elements with associated warnings,https://apps.autodesk.com/RVT/en/Detail/Index?id=5064956227128897660&appLang=en&os=Win32_64,FALSE -Coins.png,COINS Auto-Section Box,CoinsSectionBoxApp2019.addin,16,Create a 3D view with a section box around selected elements (note that a similar tool is now available ootb),http://revitlink.blogspot.com/2016/01/revit-selection-box-vs-coins-auto.html,FALSE -Revizto.png,Revizto,revizto_v4_2014.addin,17,"Export your models for cloud-based collaboration: markups, issue tracking, visualization and more",https://hub.hok.com/workspace/designSMART/Documents/Revizto%20User%20Guide.pdf,FALSE -ColorSplasher.png,Color Splasher,ColorSplasher.addin,18,"Filter, select & color elements based on parameter values to visualise and audit model data",http://bimone.com/UserGuide/Color%20Splasher%20-%20User%20Guide.pdf,FALSE -Insight360.png,Insight,Insight.addin,19,Energy performance analysis via Autodesk Cloud Services (use your HOK Autodesk Account),https://insight360.autodesk.com/oneenergy,FALSE -COBieExt.png,COBie Extension,COBie Extension.addin,20,Capture COBie data and export to a COBie compliant spreadsheet,http://www.biminteroperabilitytools.com/cobieextension/index.html,FALSE -Align.png,Align,AlignTag.addin,21,"Align, distribute or organize selected tags and text along the specified axis",https://apps.autodesk.com/RVT/en/Detail/Index?id=2903508825431715905&appLang=en&os=Win32_64,FALSE -ModelReview.png,Model Review,Autodesk.ModelReview.addin,22,Validate the accuracy and consistency of your projects by running various checks,http://autode.sk/2eKAcE3,FALSE -BIM360Glue.png,BIM 360 Glue,BIM360GlueRevitAddin.addin,23,Clash detection in the cloud (subscription required - project expense or contractor provided),http://www.autodesk.com/products/bim-360-glue/overview,FALSE -SiteDesigner.png,Site Designer,Autodesk.SiteDesignerExtension.addinZZZ,24,Site planning tools to shape the terrain for building sites within Revit,http://autode.sk/2eh46BB,FALSE -pyRevit.png,pyRevit,pyRevit.addin,25,A set of valuable open-source tools written in Python (currently distributing only Make Pattern for fill/hatch patterns),https://www.youtube.com/watch?v=H7b8hjHbauE,FALSE -StructCope.png,Structural Cope Tool,SSFT.StrucCope.addin,26,Automatically cope selected beams/columns with any number of intersecting members,https://apps.autodesk.com/RVT/en/Detail/Index?id=662680847725051942&appLang=en&os=Win32_64,FALSE -StructWebStiff.png,Web Stiffener,AddStiffenerApp.addin,27,Quickly add web stiffeners on one or more W-beams,https://apps.autodesk.com/RVT/en/Detail/Index?id=3707897859546303803&appLang=en&os=Win32_64,FALSE -StructColSplit.png,Column Splitter,Ssft.Column-Splitter.addin,28,"Split columns by point (now available ootb), by levels or by reference planes",https://apps.autodesk.com/RVT/en/Detail/Index?id=5528791458580677035&appLang=en&os=Win32_64,FALSE -SteelConnections.png,Steel Connections,RvtSteelConnectionsUI.addin,29,View detailed structural connector geometry and modify additional parameters,http://autode.sk/2dg3JFH,FALSE -ETABSexport.png,Export to ETABS,NM.Revit.addin,30,Export a structural Revit model to Etabs for analysis and member sizing,http://www.nassermarafi.com/,FALSE -FabExtension.png,Fabrication Extension,RevitFabricationExtension.addin,31,Export a fabrication layout from Revit to a fabrication job (MEP),http://autode.sk/2eKCSBt,FALSE -Formit360.png,FormIt 360 Converter,FormItConverter.addinZZZ,32,Convert FormIt files to the Revit file format,http://autode.sk/2dD2l3I,FALSE -dbLink.png,Revit DB Link,Autodesk.RevitDBLink.addinZZZ,33,"Export Revit project data to a database, make changes and re-import",http://autode.sk/2dPFkcm,FALSE -Lumion.png,Lumion Exporter,RevitToLumionBridge.addin,34,Export to Lumion,https://www.youtube.com/watch?v=3Lsn-QssVkY,FALSE -NBS.png,NBS Plugin,NBS2018.addin,35,Coordinate element data with the NBS Specification & access the National BIM Library,https://www.nationalbimlibrary.com/nbs-plug-in-for-autodesk-revit,FALSE -TrimbleConnect.png,Trimble Connect Uploader,RVT2BSQPlugin2019.addin,36,"Export to Trimble Connect to visualize the model in a browser, markup, and create To Dos",https://community.trimble.com/docs/DOC-10018-trimble-connect-for-revit,FALSE +icon,name,addin,order,tooltip,url,dropdownOptionsFlag +Ideate.png,Ideate Tools,IdeateSoftwareISW.addin,1,"The entire suite of Ideate tools: Apps, BIMLink, Explorer, Sticky & StyleManager",https://ideatesoftware.com,1 +eTransmit.png,eTransmit,Autodesk.eTransmitApplication.addin,2,Prepare models to be archived or transmitted to outside team members,https://hub.hok.com/designtech/educationwiki/revit-addin-eTransmit.aspx,0 +TransferSingle.png,TransferSingle,TransferSingle2019.addin,3,Use this tool to Transfer Project Standards on a single item instead of an entire category,https://apps.autodesk.com/RVT/en/Detail/Index?id=1090472181312958476&appLang=en&os=Win64,0 +ScopeBoxSync.png,Scope Box Synchronizer,ScopeBoxSynchronizer.addin,4,Keep scope boxes in linked models synchronized with those in the host model,https://apps.autodesk.com/RVT/en/Detail/Index?id=6897465823377340538&appLang=en&os=Win64,0 +RTVxporterPro.png,RTV Xporter Pro,RTVTools_2019.addin,5,"A powerful tool for batch exporting, printing and revision control",https://www.rtvtools.com/rtv-xporter-pro/,0 +CTC_BIMmanS.png,CTC BIM Manager Suite,CTC-BIM-Manager-Suite.addin,6,A collection of powerful tools for BIM Managers and Coordinators,https://hub.hok.com/designtech/educationwiki/revit-express-tools.aspx,2 +CTC_BIMprojS.png,CTC BIM Project Suite,CTC-BIM-Project-Suite.addin,7,A collection of powerful tools for BIM Managers and Coordinators,https://hub.hok.com/designtech/educationwiki/revit-express-tools.aspx,2 +CTC_BIMbatchS.png,CTC BIM Batch Suite,CTC-BIM-Batch-Suite.addin,8,"A collection of powerful batching tools for exporting, family loading, upgrading and plotting",https://hub.hok.com/designtech/educationwiki/revit-express-tools.aspx,2 +autoLink.png,autoLink,workFlow.addin,9,"Extend Revit updating behavior to view references in schedules, tags and text so these stay in sync when changes occur",https://hub.hok.com/designtech/educationwiki/revolution-design-autolink.aspx,0 +Dynamo.png,Dynamo,Dynamo.addin,10,A powerful visual scripting tool for computational design and daily task automation,http://dynamobim.org/,0 +BCFmanager.png,BCF Manager,BCF_Manager.addin,11,Communicate issues with all team members such as collisions between trades via the open-source BCF schema,http://www.bimcollab.com/en/BCF-Manager/BCF-Manager,1 +Clarity.png,Clarity,IMAGINiT.ClarityClient.addin,12,For HOK projects hosted on rs.hok.com that require external collaboration,http://s3.amazonaws.com/IMAGINiTSoftware/Documentation/Clarity/2018.1/index.htm#t=User_Guide%2FClarity_Revit_Add-in.htm,0 +Collab4Revit.png,BIM 360 Design (C4R),"Autodesk.Collaborate.addin, ExportViewSelectorApp.addin",13,Set up a project to be workshared with team members outside of HOK (subscription required - project expense),http://autode.sk/2ey71Y0,0 +VRay.png,V-Ray for Revit,VRay4Revit2019.addin,14,Render using V-Ray for Revit and take advantage of the Swarm efficiency (distributed rendering),https://docs.chaosgroup.com/display/VRAYREVIT/V-Ray+for+Revit+QuickStart+-+Intro,0 +IsolateWarnings.png,Isolate Warnings,ARCHISOFT_warnings.addin,15,Maintain and audit your model by creating 3D views that isolate elements with associated warnings,https://apps.autodesk.com/RVT/en/Detail/Index?id=5064956227128897660&appLang=en&os=Win32_64,0 +Coins.png,COINS Auto-Section Box,CoinsSectionBoxApp2019.addin,16,Create a 3D view with a section box around selected elements (note that a similar tool is now available ootb),http://revitlink.blogspot.com/2016/01/revit-selection-box-vs-coins-auto.html,0 +Revizto.png,Revizto,revizto_v4_2014.addin,17,"Export your models for cloud-based collaboration: markups, issue tracking, visualization and more",https://hub.hok.com/workspace/designSMART/Documents/Revizto%20User%20Guide.pdf,0 +ColorSplasher.png,Color Splasher,ColorSplasher.addin,18,"Filter, select & color elements based on parameter values to visualise and audit model data",http://bimone.com/UserGuide/Color%20Splasher%20-%20User%20Guide.pdf,0 +Insight360.png,Insight,Insight.addin,19,Energy performance analysis via Autodesk Cloud Services (use your HOK Autodesk Account),https://insight360.autodesk.com/oneenergy,0 +COBieExt.png,COBie Extension,COBie Extension.addin,20,Capture COBie data and export to a COBie compliant spreadsheet,http://www.biminteroperabilitytools.com/cobieextension/index.html,0 +Align.png,Align,AlignTag.addin,21,"Align, distribute or organize selected tags and text along the specified axis",https://apps.autodesk.com/RVT/en/Detail/Index?id=2903508825431715905&appLang=en&os=Win32_64,0 +ModelReview.png,Model Review,Autodesk.ModelReview.addin,22,Validate the accuracy and consistency of your projects by running various checks,http://autode.sk/2eKAcE3,0 +BIM360Glue.png,BIM 360 Glue,BIM360GlueRevitAddin.addin,23,Clash detection in the cloud (subscription required - project expense or contractor provided),http://www.autodesk.com/products/bim-360-glue/overview,0 +SiteDesigner.png,Site Designer,Autodesk.SiteDesignerExtension.addinZZZ,24,Site planning tools to shape the terrain for building sites within Revit,http://autode.sk/2eh46BB,0 +pyRevit.png,pyRevit,pyRevit.addin,25,A set of valuable open-source tools written in Python (currently distributing only Make Pattern for fill/hatch patterns),https://www.youtube.com/watch?v=H7b8hjHbauE,0 +StructCope.png,Structural Cope Tool,SSFT.StrucCope.addin,26,Automatically cope selected beams/columns with any number of intersecting members,https://apps.autodesk.com/RVT/en/Detail/Index?id=662680847725051942&appLang=en&os=Win32_64,0 +StructWebStiff.png,Web Stiffener,AddStiffenerApp.addin,27,Quickly add web stiffeners on one or more W-beams,https://apps.autodesk.com/RVT/en/Detail/Index?id=3707897859546303803&appLang=en&os=Win32_64,0 +StructColSplit.png,Column Splitter,Ssft.Column-Splitter.addin,28,"Split columns by point (now available ootb), by levels or by reference planes",https://apps.autodesk.com/RVT/en/Detail/Index?id=5528791458580677035&appLang=en&os=Win32_64,0 +SteelConnections.png,Steel Connections,RvtSteelConnectionsUI.addin,29,View detailed structural connector geometry and modify additional parameters,http://autode.sk/2dg3JFH,0 +ETABSexport.png,Export to ETABS,NM.Revit.addin,30,Export a structural Revit model to Etabs for analysis and member sizing,http://www.nassermarafi.com/,0 +FabExtension.png,Fabrication Extension,RevitFabricationExtension.addin,31,Export a fabrication layout from Revit to a fabrication job (MEP),http://autode.sk/2eKCSBt,0 +Formit360.png,FormIt 360 Converter,FormItConverter.addinZZZ,32,Convert FormIt files to the Revit file format,http://autode.sk/2dD2l3I,0 +dbLink.png,Revit DB Link,Autodesk.RevitDBLink.addinZZZ,33,"Export Revit project data to a database, make changes and re-import",http://autode.sk/2dPFkcm,0 +Lumion.png,Lumion Exporter,RevitToLumionBridge.addin,34,Export to Lumion,https://www.youtube.com/watch?v=3Lsn-QssVkY,0 +NBS.png,NBS Plugin,NBS2018.addin,35,Coordinate element data with the NBS Specification & access the National BIM Library,https://www.nationalbimlibrary.com/nbs-plug-in-for-autodesk-revit,0 +TrimbleConnect.png,Trimble Connect Uploader,RVT2BSQPlugin2019.addin,36,"Export to Trimble Connect to visualize the model in a browser, markup, and create To Dos",https://community.trimble.com/docs/DOC-10018-trimble-connect-for-revit,0 diff --git a/HOK.AddInManager/_resources/2020/HOK2020Addins.csv b/HOK.AddInManager/_resources/2020/HOK2020Addins.csv index ce18ef13..f7da560b 100644 --- a/HOK.AddInManager/_resources/2020/HOK2020Addins.csv +++ b/HOK.AddInManager/_resources/2020/HOK2020Addins.csv @@ -1,37 +1,37 @@ -icon,name,addin,order,tooltip,url,requiresRestart -Ideate.png,Ideate Tools,IdeateSoftwareISW.addin,1,"The entire suite of Ideate tools: Apps, BIMLink, Explorer, Sticky & StyleManager",https://ideatesoftware.com,FALSE -eTransmit.png,eTransmit,Autodesk.eTransmitApplication.addin,2,Prepare models to be archived or transmitted to outside team members,https://hub.hok.com/designtech/revit/addins/Pages/eTransmit.aspx,FALSE -TransferSingle.png,TransferSingle,TransferSingle2020.addin,3,Use this tool to Transfer Project Standards on a single item instead of an entire category,https://apps.autodesk.com/RVT/en/Detail/Index?id=8481526687890452659&appLang=en&os=Win64,FALSE -ScopeBoxSync.png,Scope Box Synchronizer,ScopeBoxSynchronizer.addin,4,Keep scope boxes in linked models synchronized with those in the host model,https://apps.autodesk.com/RVT/en/Detail/Index?id=6897465823377340538&appLang=en&os=Win64,FALSE -RTVxporterPro.png,RTV Xporter Pro,RTVTools_2020.addin,5,"A powerful tool for batch exporting, printing and revision control",https://www.rtvtools.com/rtv-xporter-pro/,FALSE -CTC_BIMmanS.png,CTC BIM Manager Suite,CTC-BIM-Manager-Suite.addin,6,A collection of powerful tools for BIM Managers and Coordinators,https://hub.hok.com/designtech/revit/addins/Pages/CTC-Software.aspx,FALSE -CTC_BIMprojS.png,CTC BIM Project Suite,CTC-BIM-Project-Suite.addin,7,A collection of powerful tools for BIM Managers and Coordinators,https://hub.hok.com/designtech/revit/addins/Pages/CTC-Software.aspx,FALSE -CTC_BIMbatchS.png,CTC BIM Batch Suite,CTC-BIM-Batch-Suite.addin,8,"A collection of powerful batching tools for exporting, family loading, upgrading and plotting",https://hub.hok.com/designtech/revit/addins/Pages/CTC-Software.aspx,FALSE -autoLink.png,autoLink,workFlow.addin,9,"Extend Revit updating behavior to view references in schedules, tags and text so these stay in sync when changes occur",https://web.microsoftstream.com/video/f85eacb4-2330-4fa6-8b50-4e1444919d8e?referrer=https:%2F%2Fhub.hok.com%2F,FALSE -Dynamo.png,Dynamo,Dynamo.addin,10,A powerful visual scripting tool for computational design and daily task automation,http://dynamobim.org/,FALSE -BCFmanager.png,BCF Manager,BCF_Manager.addin,11,Communicate issues with all team members such as collisions between trades via the open-source BCF schema,https://www.bimcollab.com/en/products/bcf-managers/,TRUE -Clarity.png,Clarity,IMAGINiT.ClarityClient.addin,12,For HOK projects hosted on rs.hok.com that require external collaboration,https://s3.amazonaws.com/IMAGINiTSoftware/Documentation/Clarity/2024/index.htm#t=User_Guide%2FClarity_Revit_Add-in.htm,FALSE -Collab4Revit.png,BIM 360 Design (C4R),"Autodesk.Collaborate.addin, ExportViewSelectorApp.addin",13,Set up a cloud workshared project on HOK's Autodesk Construction Cloud,https://acc.autodesk.com/projects,FALSE -VRay.png,V-Ray for Revit,VRay4Revit2020.addin,14,Render using V-Ray for Revit and take advantage of the Swarm efficiency (distributed rendering),https://docs.chaosgroup.com/display/VRAYREVIT/V-Ray+for+Revit+QuickStart+-+Intro,FALSE -IsolateWarnings.png,Isolate Warnings,ARCHISOFT_warnings.addin,15,Maintain and audit your model by creating 3D views that isolate elements with associated warnings,https://apps.autodesk.com/RVT/en/Detail/Index?id=5064956227128897660&appLang=en&os=Win32_64,FALSE -Coins.png,COINS Auto-Section Box,CoinsSectionBoxApp2020.addin,16,Create a 3D view with a section box around selected elements (note that a similar tool is now available ootb),http://revitlink.blogspot.com/2016/01/revit-selection-box-vs-coins-auto.html,FALSE -Revizto.png,Revizto,revizto_v4_2014.addin,17,"Export your models for cloud-based collaboration: markups, issue tracking, visualization and more",https://hub.hok.com/workspace/designSMART/Documents/Revizto%20User%20Guide.pdf,FALSE -ColorSplasher.png,Color Splasher,ColorSplasher.addin,18,"Filter, select & color elements based on parameter values to visualise and audit model data",http://bimone.com/UserGuide/Color%20Splasher%20-%20User%20Guide.pdf,FALSE -Insight360.png,Insight,"Autodesk.LightingAnalysis.addin, Autodesk.SolarAnalysis.addin",19,Energy performance analysis via Autodesk Cloud Services (use your HOK Autodesk Account),https://insight360.autodesk.com/oneenergy,FALSE -COBieExt.png,COBie Extension,COBie Extension.addin,20,Capture COBie data and export to a COBie compliant spreadsheet,https://interoperability.autodesk.com/cobieextensionrevit.php,FALSE -Align.png,Align,AlignTag.addin,21,"Align, distribute or organize selected tags and text along the specified axis",https://apps.autodesk.com/RVT/en/Detail/Index?id=2903508825431715905&appLang=en&os=Win32_64,FALSE -ModelReview.png,Model Review,Autodesk.ModelReview.addin,22,Validate the accuracy and consistency of your projects by running various checks,http://autode.sk/2eKAcE3,FALSE -BIM360Glue.png,BIM 360 Glue,BIM360GlueRevitAddin.addin,23,Clash detection in the cloud (subscription required - project expense or contractor provided),http://www.autodesk.com/products/bim-360-glue/overview,FALSE -SiteDesigner.png,Site Designer,Autodesk.SiteDesignerExtension.addinZZZ,24,Site planning tools to shape the terrain for building sites within Revit,http://autode.sk/2eh46BB,FALSE -pyRevit.png,pyRevit,pyRevit.addin,25,A set of valuable open-source tools written in Python,https://pyrevitlabs.notion.site/pyrevitlabs/pyRevit-bd907d6292ed4ce997c46e84b6ef67a0,FALSE -StructCope.png,Structural Cope Tool,SSFT.StrucCope.addin,26,Automatically cope selected beams/columns with any number of intersecting members,https://apps.autodesk.com/RVT/en/Detail/Index?id=662680847725051942&appLang=en&os=Win32_64,FALSE -StructWebStiff.png,Web Stiffener,AddStiffenerApp.addin,27,Quickly add web stiffeners on one or more W-beams,https://apps.autodesk.com/RVT/en/Detail/Index?id=3707897859546303803&appLang=en&os=Win32_64,FALSE -StructColSplit.png,Column Splitter,Ssft.Column-Splitter.addin,28,"Split columns by point (now available ootb), by levels or by reference planes",https://apps.autodesk.com/RVT/en/Detail/Index?id=5528791458580677035&appLang=en&os=Win32_64,FALSE -SteelConnections.png,Steel Connections,RvtSteelConnectionsUI.addin,29,View detailed structural connector geometry and modify additional parameters,http://autode.sk/2dg3JFH,FALSE -ETABSexport.png,Export to ETABS,NM.Revit.addin,30,Export a structural Revit model to Etabs for analysis and member sizing,http://www.nassermarafi.com/,FALSE -FabExtension.png,Fabrication Extension,RevitFabricationExtension.addin,31,Export a fabrication layout from Revit to a fabrication job (MEP),http://autode.sk/2eKCSBt,FALSE -Formit360.png,FormIt 360 Converter,FormItConverter.addinZZZ,32,Convert FormIt files to the Revit file format,http://autode.sk/2dD2l3I,FALSE -dbLink.png,Revit DB Link,Autodesk.RevitDBLink.addinZZZ,33,"Export Revit project data to a database, make changes and re-import",http://autode.sk/2dPFkcm,FALSE -Lumion.png,Lumion Exporter,RevitToLumionBridge.addin,34,Export to Lumion,https://www.youtube.com/watch?v=wjI4vM6HYjA,FALSE -NBS.png,NBS Plugin,NBS2018.addin,35,Coordinate element data with the NBS Specification & access the National BIM Library,https://www.nationalbimlibrary.com/nbs-plug-in-for-autodesk-revit,FALSE -TrimbleConnect.png,Trimble Connect Uploader,RVT2BSQPlugin2019.addin,36,"Export to Trimble Connect to visualize the model in a browser, markup, and create To Dos",https://community.trimble.com/docs/DOC-10018-trimble-connect-for-revit,FALSE +icon,name,addin,order,tooltip,url,dropdownOptionsFlag +Ideate.png,Ideate Tools,IdeateSoftwareISW.addin,1,"The entire suite of Ideate tools: Apps, BIMLink, Explorer, Sticky & StyleManager",https://ideatesoftware.com,1 +eTransmit.png,eTransmit,Autodesk.eTransmitApplication.addin,2,Prepare models to be archived or transmitted to outside team members,https://hub.hok.com/designtech/revit/addins/Pages/eTransmit.aspx,0 +TransferSingle.png,TransferSingle,TransferSingle2020.addin,3,Use this tool to Transfer Project Standards on a single item instead of an entire category,https://apps.autodesk.com/RVT/en/Detail/Index?id=8481526687890452659&appLang=en&os=Win64,0 +ScopeBoxSync.png,Scope Box Synchronizer,ScopeBoxSynchronizer.addin,4,Keep scope boxes in linked models synchronized with those in the host model,https://apps.autodesk.com/RVT/en/Detail/Index?id=6897465823377340538&appLang=en&os=Win64,0 +RTVxporterPro.png,RTV Xporter Pro,RTVTools_2020.addin,5,"A powerful tool for batch exporting, printing and revision control",https://www.rtvtools.com/rtv-xporter-pro/,0 +CTC_BIMmanS.png,CTC BIM Manager Suite,_CTC-BIM-Manager-Suite.addin,6,A collection of powerful tools for BIM Managers and Coordinators,https://hub.hok.com/designtech/revit/addins/Pages/CTC-Software.aspx,0 +CTC_BIMprojS.png,CTC BIM Project Suite,_CTC-BIM-Project-Suite.addin,7,A collection of powerful tools for BIM Managers and Coordinators,https://hub.hok.com/designtech/revit/addins/Pages/CTC-Software.aspx,1 +CTC_BIMbatchS.png,CTC BIM Batch Suite,_CTC-BIM-Batch-Suite.addin,8,"A collection of powerful batching tools for exporting, family loading, upgrading and plotting",https://hub.hok.com/designtech/revit/addins/Pages/CTC-Software.aspx,0 +autoLink.png,autoLink,workFlow.addin,9,"Extend Revit updating behavior to view references in schedules, tags and text so these stay in sync when changes occur",https://web.microsoftstream.com/video/f85eacb4-2330-4fa6-8b50-4e1444919d8e?referrer=https:%2F%2Fhub.hok.com%2F,0 +Dynamo.png,Dynamo,Dynamo.addin,10,A powerful visual scripting tool for computational design and daily task automation,http://dynamobim.org/,0 +BCFmanager.png,BCF Manager,BCF_Manager.addin,11,Communicate issues with all team members such as collisions between trades via the open-source BCF schema,https://www.bimcollab.com/en/products/bcf-managers/,1 +Clarity.png,Clarity,IMAGINiT.ClarityClient.addin,12,For HOK projects hosted on rs.hok.com that require external collaboration,https://s3.amazonaws.com/IMAGINiTSoftware/Documentation/Clarity/2024/index.htm#t=User_Guide%2FClarity_Revit_Add-in.htm,0 +Collab4Revit.png,BIM 360 Design (C4R),"Autodesk.Collaborate.addin, ExportViewSelectorApp.addin",13,Set up a cloud workshared project on HOK's Autodesk Construction Cloud,https://acc.autodesk.com/projects,0 +VRay.png,V-Ray for Revit,VRay4Revit2020.addin,14,Render using V-Ray for Revit and take advantage of the Swarm efficiency (distributed rendering),https://docs.chaosgroup.com/display/VRAYREVIT/V-Ray+for+Revit+QuickStart+-+Intro,0 +IsolateWarnings.png,Isolate Warnings,ARCHISOFT_warnings.addin,15,Maintain and audit your model by creating 3D views that isolate elements with associated warnings,https://apps.autodesk.com/RVT/en/Detail/Index?id=5064956227128897660&appLang=en&os=Win32_64,0 +Coins.png,COINS Auto-Section Box,CoinsSectionBoxApp2020.addin,16,Create a 3D view with a section box around selected elements (note that a similar tool is now available ootb),http://revitlink.blogspot.com/2016/01/revit-selection-box-vs-coins-auto.html,0 +Revizto.png,Revizto,revizto_v4_2014.addin,17,"Export your models for cloud-based collaboration: markups, issue tracking, visualization and more",https://hub.hok.com/workspace/designSMART/Documents/Revizto%20User%20Guide.pdf,0 +ColorSplasher.png,Color Splasher,ColorSplasher.addin,18,"Filter, select & color elements based on parameter values to visualise and audit model data",http://bimone.com/UserGuide/Color%20Splasher%20-%20User%20Guide.pdf,0 +Insight360.png,Insight,"Autodesk.LightingAnalysis.addin, Autodesk.SolarAnalysis.addin",19,Energy performance analysis via Autodesk Cloud Services (use your HOK Autodesk Account),https://insight360.autodesk.com/oneenergy,0 +COBieExt.png,COBie Extension,COBie Extension.addin,20,Capture COBie data and export to a COBie compliant spreadsheet,https://interoperability.autodesk.com/cobieextensionrevit.php,0 +Align.png,Align,AlignTag.addin,21,"Align, distribute or organize selected tags and text along the specified axis",https://apps.autodesk.com/RVT/en/Detail/Index?id=2903508825431715905&appLang=en&os=Win32_64,0 +ModelReview.png,Model Review,Autodesk.ModelReview.addin,22,Validate the accuracy and consistency of your projects by running various checks,http://autode.sk/2eKAcE3,0 +BIM360Glue.png,BIM 360 Glue,BIM360GlueRevitAddin.addin,23,Clash detection in the cloud (subscription required - project expense or contractor provided),http://www.autodesk.com/products/bim-360-glue/overview,0 +SiteDesigner.png,Site Designer,Autodesk.SiteDesignerExtension.addinZZZ,24,Site planning tools to shape the terrain for building sites within Revit,http://autode.sk/2eh46BB,0 +pyRevit.png,pyRevit,pyRevit.addin,25,A set of valuable open-source tools written in Python,https://pyrevitlabs.notion.site/pyrevitlabs/pyRevit-bd907d6292ed4ce997c46e84b6ef67a0,0 +StructCope.png,Structural Cope Tool,SSFT.StrucCope.addin,26,Automatically cope selected beams/columns with any number of intersecting members,https://apps.autodesk.com/RVT/en/Detail/Index?id=662680847725051942&appLang=en&os=Win32_64,0 +StructWebStiff.png,Web Stiffener,AddStiffenerApp.addin,27,Quickly add web stiffeners on one or more W-beams,https://apps.autodesk.com/RVT/en/Detail/Index?id=3707897859546303803&appLang=en&os=Win32_64,0 +StructColSplit.png,Column Splitter,Ssft.Column-Splitter.addin,28,"Split columns by point (now available ootb), by levels or by reference planes",https://apps.autodesk.com/RVT/en/Detail/Index?id=5528791458580677035&appLang=en&os=Win32_64,0 +SteelConnections.png,Steel Connections,RvtSteelConnectionsUI.addin,29,View detailed structural connector geometry and modify additional parameters,http://autode.sk/2dg3JFH,0 +ETABSexport.png,Export to ETABS,NM.Revit.addin,30,Export a structural Revit model to Etabs for analysis and member sizing,http://www.nassermarafi.com/,0 +FabExtension.png,Fabrication Extension,RevitFabricationExtension.addin,31,Export a fabrication layout from Revit to a fabrication job (MEP),http://autode.sk/2eKCSBt,0 +Formit360.png,FormIt 360 Converter,FormItConverter.addinZZZ,32,Convert FormIt files to the Revit file format,http://autode.sk/2dD2l3I,0 +dbLink.png,Revit DB Link,Autodesk.RevitDBLink.addinZZZ,33,"Export Revit project data to a database, make changes and re-import",http://autode.sk/2dPFkcm,0 +Lumion.png,Lumion Exporter,RevitToLumionBridge.addin,34,Export to Lumion,https://www.youtube.com/watch?v=wjI4vM6HYjA,0 +NBS.png,NBS Plugin,NBS2018.addin,35,Coordinate element data with the NBS Specification & access the National BIM Library,https://www.nationalbimlibrary.com/nbs-plug-in-for-autodesk-revit,0 +TrimbleConnect.png,Trimble Connect Uploader,RVT2BSQPlugin2019.addin,36,"Export to Trimble Connect to visualize the model in a browser, markup, and create To Dos",https://community.trimble.com/docs/DOC-10018-trimble-connect-for-revit,0 diff --git a/HOK.AddInManager/_resources/2021/HOK2021Addins.csv b/HOK.AddInManager/_resources/2021/HOK2021Addins.csv index 8ae3ad5f..4829c4e7 100644 --- a/HOK.AddInManager/_resources/2021/HOK2021Addins.csv +++ b/HOK.AddInManager/_resources/2021/HOK2021Addins.csv @@ -1,37 +1,37 @@ -icon,name,addin,order,tooltip,url,requiresRestart -Ideate.png,Ideate Tools,IdeateSoftwareISW.addin,1,"The entire suite of Ideate tools: Apps, BIMLink, Explorer, Sticky & StyleManager",https://ideatesoftware.com,FALSE -eTransmit.png,eTransmit,Autodesk.eTransmitApplication.addin,2,Prepare models to be archived or transmitted to outside team members,https://hub.hok.com/designtech/revit/addins/Pages/eTransmit.aspx,FALSE -TransferSingle.png,TransferSingle,TransferSingle2021.addin,3,Use this tool to Transfer Project Standards on a single item instead of an entire category,https://apps.autodesk.com/RVT/en/Detail/Index?id=8481526687890452659&appLang=en&os=Win64,FALSE -ScopeBoxSync.png,Scope Box Synchronizer,ScopeBoxSynchronizer.addin,4,Keep scope boxes in linked models synchronized with those in the host model,https://apps.autodesk.com/RVT/en/Detail/Index?id=6897465823377340538&appLang=en&os=Win64,FALSE -RTVxporterPro.png,RTV Xporter Pro,RTVTools_2021.addin,5,"A powerful tool for batch exporting, printing and revision control",https://www.rtvtools.com/rtv-xporter-pro/,FALSE -CTC_BIMmanS.png,CTC BIM Manager Suite,CTC-BIM-Manager-Suite.addin,6,A collection of powerful tools for BIM Managers and Coordinators,https://hub.hok.com/designtech/revit/addins/Pages/CTC-Software.aspx,FALSE -CTC_BIMprojS.png,CTC BIM Project Suite,CTC-BIM-Project-Suite.addin,7,A collection of powerful tools for BIM Managers and Coordinators,https://hub.hok.com/designtech/revit/addins/Pages/CTC-Software.aspx,FALSE -CTC_BIMbatchS.png,CTC BIM Batch Suite,CTC-BIM-Batch-Suite.addin,8,"A collection of powerful batching tools for exporting, family loading, upgrading and plotting",https://hub.hok.com/designtech/revit/addins/Pages/CTC-Software.aspx,FALSE -autoLink.png,autoLink,workFlow.addin,9,"Extend Revit updating behavior to view references in schedules, tags and text so these stay in sync when changes occur",https://web.microsoftstream.com/video/f85eacb4-2330-4fa6-8b50-4e1444919d8e?referrer=https:%2F%2Fhub.hok.com%2F,FALSE -Dynamo.png,Dynamo,Dynamo.addin,10,A powerful visual scripting tool for computational design and daily task automation,http://dynamobim.org/,FALSE -BCFmanager.png,BCF Manager,BCF_Manager.addin,11,Communicate issues with all team members such as collisions between trades via the open-source BCF schema,https://www.bimcollab.com/en/products/bcf-managers/,TRUE -Clarity.png,Clarity,IMAGINiT.ClarityClient.addin,12,For HOK projects hosted on rs.hok.com that require external collaboration,https://s3.amazonaws.com/IMAGINiTSoftware/Documentation/Clarity/2024/index.htm#t=User_Guide%2FClarity_Revit_Add-in.htm,FALSE -Collab4Revit.png,BIM 360 Design (C4R),"Autodesk.Collaborate.addin, ExportViewSelectorApp.addin",13,Set up a cloud workshared project on HOK's Autodesk Construction Cloud,https://acc.autodesk.com/projects,FALSE -VRay.png,V-Ray for Revit,VRay4Revit2021.addin,14,Render using V-Ray for Revit and take advantage of the Swarm efficiency (distributed rendering),https://docs.chaosgroup.com/display/VRAYREVIT/V-Ray+for+Revit+QuickStart+-+Intro,FALSE -IsolateWarnings.png,Isolate Warnings,ARCHISOFT_warnings.addin,15,Maintain and audit your model by creating 3D views that isolate elements with associated warnings,https://apps.autodesk.com/RVT/en/Detail/Index?id=5064956227128897660&appLang=en&os=Win32_64,FALSE -Coins.png,COINS Auto-Section Box,CoinsSectionBoxApp2021.addin,16,Create a 3D view with a section box around selected elements (note that a similar tool is now available ootb),http://revitlink.blogspot.com/2016/01/revit-selection-box-vs-coins-auto.html,FALSE -Revizto.png,Revizto,revizto_v4_2014.addin,17,"Export your models for cloud-based collaboration: markups, issue tracking, visualization and more",https://hub.hok.com/workspace/designSMART/Documents/Revizto%20User%20Guide.pdf,FALSE -ColorSplasher.png,Color Splasher,ColorSplasher.addin,18,"Filter, select & color elements based on parameter values to visualise and audit model data",http://bimone.com/UserGuide/Color%20Splasher%20-%20User%20Guide.pdf,FALSE -Insight360.png,Insight,"Autodesk.LightingAnalysis.addin, Autodesk.SolarAnalysis.addin",19,Energy performance analysis via Autodesk Cloud Services (use your HOK Autodesk Account),https://insight360.autodesk.com/oneenergy,FALSE -COBieExt.png,COBie Extension,COBie Extension.addin,20,Capture COBie data and export to a COBie compliant spreadsheet,https://interoperability.autodesk.com/cobieextensionrevit.php,FALSE -Align.png,Align,AlignTag.addin,21,"Align, distribute or organize selected tags and text along the specified axis",https://apps.autodesk.com/RVT/en/Detail/Index?id=2903508825431715905&appLang=en&os=Win32_64,FALSE -ModelReview.png,Model Review,Autodesk.ModelReview.addin,22,Validate the accuracy and consistency of your projects by running various checks,http://autode.sk/2eKAcE3,FALSE -BIM360Glue.png,BIM 360 Glue,BIM360GlueRevitAddin.addin,23,Clash detection in the cloud (subscription required - project expense or contractor provided),http://www.autodesk.com/products/bim-360-glue/overview,FALSE -SiteDesigner.png,Site Designer,Autodesk.SiteDesignerExtension.addinZZZ,24,Site planning tools to shape the terrain for building sites within Revit,http://autode.sk/2eh46BB,FALSE -pyRevit.png,pyRevit,pyRevit.addin,25,A set of valuable open-source tools written in Python,https://pyrevitlabs.notion.site/pyrevitlabs/pyRevit-bd907d6292ed4ce997c46e84b6ef67a0,FALSE -StructCope.png,Structural Cope Tool,SSFT.StrucCope.addin,26,Automatically cope selected beams/columns with any number of intersecting members,https://apps.autodesk.com/RVT/en/Detail/Index?id=662680847725051942&appLang=en&os=Win32_64,FALSE -StructWebStiff.png,Web Stiffener,AddStiffenerApp.addin,27,Quickly add web stiffeners on one or more W-beams,https://apps.autodesk.com/RVT/en/Detail/Index?id=3707897859546303803&appLang=en&os=Win32_64,FALSE -StructColSplit.png,Column Splitter,Ssft.Column-Splitter.addin,28,"Split columns by point (now available ootb), by levels or by reference planes",https://apps.autodesk.com/RVT/en/Detail/Index?id=5528791458580677035&appLang=en&os=Win32_64,FALSE -SteelConnections.png,Steel Connections,RvtSteelConnectionsUI.addin,29,View detailed structural connector geometry and modify additional parameters,http://autode.sk/2dg3JFH,FALSE -ETABSexport.png,Export to ETABS,NM.Revit.addin,30,Export a structural Revit model to Etabs for analysis and member sizing,http://www.nassermarafi.com/,FALSE -FabExtension.png,Fabrication Extension,RevitFabricationExtension.addin,31,Export a fabrication layout from Revit to a fabrication job (MEP),http://autode.sk/2eKCSBt,FALSE -Formit360.png,FormIt 360 Converter,FormItConverter.addinZZZ,32,Convert FormIt files to the Revit file format,http://autode.sk/2dD2l3I,FALSE -dbLink.png,Revit DB Link,Autodesk.RevitDBLink.addinZZZ,33,"Export Revit project data to a database, make changes and re-import",http://autode.sk/2dPFkcm,FALSE -Lumion.png,Lumion Exporter,RevitToLumionBridge.addin,34,Export to Lumion,https://www.youtube.com/watch?v=wjI4vM6HYjA,FALSE -NBS.png,NBS Plugin,NBS2018.addin,35,Coordinate element data with the NBS Specification & access the National BIM Library,https://www.nationalbimlibrary.com/nbs-plug-in-for-autodesk-revit,FALSE -TrimbleConnect.png,Trimble Connect Uploader,RVT2BSQPlugin2019.addin,36,"Export to Trimble Connect to visualize the model in a browser, markup, and create To Dos",https://community.trimble.com/docs/DOC-10018-trimble-connect-for-revit,FALSE +icon,name,addin,order,tooltip,url,dropdownOptionsFlag +Ideate.png,Ideate Tools,IdeateSoftwareISW.addin,1,"The entire suite of Ideate tools: Apps, BIMLink, Explorer, Sticky & StyleManager",https://ideatesoftware.com,1 +eTransmit.png,eTransmit,Autodesk.eTransmitApplication.addin,2,Prepare models to be archived or transmitted to outside team members,https://hub.hok.com/designtech/revit/addins/Pages/eTransmit.aspx,0 +TransferSingle.png,TransferSingle,TransferSingle2021.addin,3,Use this tool to Transfer Project Standards on a single item instead of an entire category,https://apps.autodesk.com/RVT/en/Detail/Index?id=8481526687890452659&appLang=en&os=Win64,0 +ScopeBoxSync.png,Scope Box Synchronizer,ScopeBoxSynchronizer.addin,4,Keep scope boxes in linked models synchronized with those in the host model,https://apps.autodesk.com/RVT/en/Detail/Index?id=6897465823377340538&appLang=en&os=Win64,0 +RTVxporterPro.png,RTV Xporter Pro,RTVTools_2021.addin,5,"A powerful tool for batch exporting, printing and revision control",https://www.rtvtools.com/rtv-xporter-pro/,0 +CTC_BIMmanS.png,CTC BIM Manager Suite,_CTC-BIM-Manager-Suite.addin,6,A collection of powerful tools for BIM Managers and Coordinators,https://hub.hok.com/designtech/revit/addins/Pages/CTC-Software.aspx,0 +CTC_BIMprojS.png,CTC BIM Project Suite,_CTC-BIM-Project-Suite.addin,7,A collection of powerful tools for BIM Managers and Coordinators,https://hub.hok.com/designtech/revit/addins/Pages/CTC-Software.aspx,1 +CTC_BIMbatchS.png,CTC BIM Batch Suite,_CTC-BIM-Batch-Suite.addin,8,"A collection of powerful batching tools for exporting, family loading, upgrading and plotting",https://hub.hok.com/designtech/revit/addins/Pages/CTC-Software.aspx,0 +autoLink.png,autoLink,workFlow.addin,9,"Extend Revit updating behavior to view references in schedules, tags and text so these stay in sync when changes occur",https://web.microsoftstream.com/video/f85eacb4-2330-4fa6-8b50-4e1444919d8e?referrer=https:%2F%2Fhub.hok.com%2F,0 +Dynamo.png,Dynamo,Dynamo.addin,10,A powerful visual scripting tool for computational design and daily task automation,http://dynamobim.org/,0 +BCFmanager.png,BCF Manager,BCF_Manager.addin,11,Communicate issues with all team members such as collisions between trades via the open-source BCF schema,https://www.bimcollab.com/en/products/bcf-managers/,1 +Clarity.png,Clarity,IMAGINiT.ClarityClient.addin,12,For HOK projects hosted on rs.hok.com that require external collaboration,https://s3.amazonaws.com/IMAGINiTSoftware/Documentation/Clarity/2024/index.htm#t=User_Guide%2FClarity_Revit_Add-in.htm,0 +Collab4Revit.png,BIM 360 Design (C4R),"Autodesk.Collaborate.addin, ExportViewSelectorApp.addin",13,Set up a cloud workshared project on HOK's Autodesk Construction Cloud,https://acc.autodesk.com/projects,0 +VRay.png,V-Ray for Revit,VRay4Revit2021.addin,14,Render using V-Ray for Revit and take advantage of the Swarm efficiency (distributed rendering),https://docs.chaosgroup.com/display/VRAYREVIT/V-Ray+for+Revit+QuickStart+-+Intro,0 +IsolateWarnings.png,Isolate Warnings,ARCHISOFT_warnings.addin,15,Maintain and audit your model by creating 3D views that isolate elements with associated warnings,https://apps.autodesk.com/RVT/en/Detail/Index?id=5064956227128897660&appLang=en&os=Win32_64,0 +Coins.png,COINS Auto-Section Box,CoinsSectionBoxApp2021.addin,16,Create a 3D view with a section box around selected elements (note that a similar tool is now available ootb),http://revitlink.blogspot.com/2016/01/revit-selection-box-vs-coins-auto.html,0 +Revizto.png,Revizto,revizto_v4_2014.addin,17,"Export your models for cloud-based collaboration: markups, issue tracking, visualization and more",https://hub.hok.com/workspace/designSMART/Documents/Revizto%20User%20Guide.pdf,0 +ColorSplasher.png,Color Splasher,ColorSplasher.addin,18,"Filter, select & color elements based on parameter values to visualise and audit model data",http://bimone.com/UserGuide/Color%20Splasher%20-%20User%20Guide.pdf,0 +Insight360.png,Insight,"Autodesk.LightingAnalysis.addin, Autodesk.SolarAnalysis.addin",19,Energy performance analysis via Autodesk Cloud Services (use your HOK Autodesk Account),https://insight360.autodesk.com/oneenergy,0 +COBieExt.png,COBie Extension,COBie Extension.addin,20,Capture COBie data and export to a COBie compliant spreadsheet,https://interoperability.autodesk.com/cobieextensionrevit.php,0 +Align.png,Align,AlignTag.addin,21,"Align, distribute or organize selected tags and text along the specified axis",https://apps.autodesk.com/RVT/en/Detail/Index?id=2903508825431715905&appLang=en&os=Win32_64,0 +ModelReview.png,Model Review,Autodesk.ModelReview.addin,22,Validate the accuracy and consistency of your projects by running various checks,http://autode.sk/2eKAcE3,0 +BIM360Glue.png,BIM 360 Glue,BIM360GlueRevitAddin.addin,23,Clash detection in the cloud (subscription required - project expense or contractor provided),http://www.autodesk.com/products/bim-360-glue/overview,0 +SiteDesigner.png,Site Designer,Autodesk.SiteDesignerExtension.addinZZZ,24,Site planning tools to shape the terrain for building sites within Revit,http://autode.sk/2eh46BB,0 +pyRevit.png,pyRevit,pyRevit.addin,25,A set of valuable open-source tools written in Python,https://pyrevitlabs.notion.site/pyrevitlabs/pyRevit-bd907d6292ed4ce997c46e84b6ef67a0,0 +StructCope.png,Structural Cope Tool,SSFT.StrucCope.addin,26,Automatically cope selected beams/columns with any number of intersecting members,https://apps.autodesk.com/RVT/en/Detail/Index?id=662680847725051942&appLang=en&os=Win32_64,0 +StructWebStiff.png,Web Stiffener,AddStiffenerApp.addin,27,Quickly add web stiffeners on one or more W-beams,https://apps.autodesk.com/RVT/en/Detail/Index?id=3707897859546303803&appLang=en&os=Win32_64,0 +StructColSplit.png,Column Splitter,Ssft.Column-Splitter.addin,28,"Split columns by point (now available ootb), by levels or by reference planes",https://apps.autodesk.com/RVT/en/Detail/Index?id=5528791458580677035&appLang=en&os=Win32_64,0 +SteelConnections.png,Steel Connections,RvtSteelConnectionsUI.addin,29,View detailed structural connector geometry and modify additional parameters,http://autode.sk/2dg3JFH,0 +ETABSexport.png,Export to ETABS,NM.Revit.addin,30,Export a structural Revit model to Etabs for analysis and member sizing,http://www.nassermarafi.com/,0 +FabExtension.png,Fabrication Extension,RevitFabricationExtension.addin,31,Export a fabrication layout from Revit to a fabrication job (MEP),http://autode.sk/2eKCSBt,0 +Formit360.png,FormIt 360 Converter,FormItConverter.addinZZZ,32,Convert FormIt files to the Revit file format,http://autode.sk/2dD2l3I,0 +dbLink.png,Revit DB Link,Autodesk.RevitDBLink.addinZZZ,33,"Export Revit project data to a database, make changes and re-import",http://autode.sk/2dPFkcm,0 +Lumion.png,Lumion Exporter,RevitToLumionBridge.addin,34,Export to Lumion,https://www.youtube.com/watch?v=wjI4vM6HYjA,0 +NBS.png,NBS Plugin,NBS2018.addin,35,Coordinate element data with the NBS Specification & access the National BIM Library,https://www.nationalbimlibrary.com/nbs-plug-in-for-autodesk-revit,0 +TrimbleConnect.png,Trimble Connect Uploader,RVT2BSQPlugin2019.addin,36,"Export to Trimble Connect to visualize the model in a browser, markup, and create To Dos",https://community.trimble.com/docs/DOC-10018-trimble-connect-for-revit,0 diff --git a/HOK.AddInManager/_resources/2022/HOK2022Addins.csv b/HOK.AddInManager/_resources/2022/HOK2022Addins.csv index 5b5f97d0..1759f7a1 100644 --- a/HOK.AddInManager/_resources/2022/HOK2022Addins.csv +++ b/HOK.AddInManager/_resources/2022/HOK2022Addins.csv @@ -1,38 +1,37 @@ -icon,name,addin,order,tooltip,url,requiresRestart -Ideate.png,Ideate Tools,IdeateSoftwareISW.addin,1,"The entire suite of Ideate tools: Apps, BIMLink, Explorer, Sticky & StyleManager",https://ideatesoftware.com,FALSE -eTransmit.png,eTransmit,Autodesk.eTransmitApplication.addin,2,Prepare models to be archived or transmitted to outside team members,https://hub.hok.com/designtech/revit/addins/Pages/eTransmit.aspx,FALSE -TransferSingle.png,TransferSingle,TransferSingle2022.addin,3,Use this tool to Transfer Project Standards on a single item instead of an entire category,https://apps.autodesk.com/RVT/en/Detail/Index?id=8481526687890452659&appLang=en&os=Win64,FALSE -ScopeBoxSync.png,Scope Box Synchronizer,ScopeBoxSynchronizer.addin,4,Keep scope boxes in linked models synchronized with those in the host model,https://apps.autodesk.com/RVT/en/Detail/Index?id=6897465823377340538&appLang=en&os=Win64,FALSE -RTVxporterPro.png,RTV Xporter Pro,RTVTools_2022.addin,5,"A powerful tool for batch exporting, printing and revision control",https://www.rtvtools.com/rtv-xporter-pro/,FALSE -CTC_BIMmanS.png,CTC BIM Manager Suite,CTC-BIM-Manager-Suite.addin,6,A collection of powerful tools for BIM Managers and Coordinators,https://hub.hok.com/designtech/revit/addins/Pages/CTC-Software.aspx,FALSE -CTC_BIMprojS.png,CTC BIM Project Suite,CTC-BIM-Project-Suite.addin,7,A collection of powerful tools for BIM Managers and Coordinators,https://hub.hok.com/designtech/revit/addins/Pages/CTC-Software.aspx,FALSE -CTC_BIMbatchS.png,CTC BIM Batch Suite,CTC-BIM-Batch-Suite.addin,8,"A collection of powerful batching tools for exporting, family loading, upgrading and plotting",https://hub.hok.com/designtech/revit/addins/Pages/CTC-Software.aspx,FALSE -autoLink.png,autoLink,workFlow.addin,9,"Extend Revit updating behavior to view references in schedules, tags and text so these stay in sync when changes occur",https://web.microsoftstream.com/video/f85eacb4-2330-4fa6-8b50-4e1444919d8e?referrer=https:%2F%2Fhub.hok.com%2F,FALSE -Dynamo.png,Dynamo,Dynamo.addin,10,A powerful visual scripting tool for computational design and daily task automation,http://dynamobim.org/,FALSE -BCFmanager.png,BCF Manager,BCF_Manager.addin,11,Communicate issues with all team members such as collisions between trades via the open-source BCF schema,https://www.bimcollab.com/en/products/bcf-managers/,TRUE -Clarity.png,Clarity,IMAGINiT.ClarityClient.addin,12,For HOK projects hosted on rs.hok.com that require external collaboration,https://s3.amazonaws.com/IMAGINiTSoftware/Documentation/Clarity/2024/index.htm#t=User_Guide%2FClarity_Revit_Add-in.htm,FALSE -Collab4Revit.png,BIM 360 Design (C4R),"Autodesk.Collaborate.addin, ExportViewSelectorApp.addin",13,Set up a cloud workshared project on HOK's Autodesk Construction Cloud,https://acc.autodesk.com/projects,FALSE -VRay.png,V-Ray for Revit,VRay4Revit2022.addin,14,Render using V-Ray for Revit and take advantage of the Swarm efficiency (distributed rendering),https://docs.chaosgroup.com/display/VRAYREVIT/V-Ray+for+Revit+QuickStart+-+Intro,FALSE -IsolateWarnings.png,Isolate Warnings,ARCHISOFT_warnings.addin,15,Maintain and audit your model by creating 3D views that isolate elements with associated warnings,https://apps.autodesk.com/RVT/en/Detail/Index?id=5064956227128897660&appLang=en&os=Win32_64,FALSE -Coins.png,COINS Auto-Section Box,CoinsSectionBoxApp2022.addin,16,Create a 3D view with a section box around selected elements (note that a similar tool is now available ootb),http://revitlink.blogspot.com/2016/01/revit-selection-box-vs-coins-auto.html,FALSE -Revizto.png,Revizto,revizto_v4_2014.addin,17,"Export your models for cloud-based collaboration: markups, issue tracking, visualization and more",https://hub.hok.com/workspace/designSMART/Documents/Revizto%20User%20Guide.pdf,FALSE -ColorSplasher.png,Color Splasher,ColorSplasher.addin,18,"Filter, select & color elements based on parameter values to visualise and audit model data",http://bimone.com/UserGuide/Color%20Splasher%20-%20User%20Guide.pdf,FALSE -Insight360.png,Insight,"Autodesk.LightingAnalysis.addin, Autodesk.SolarAnalysis.addin",19,Energy performance analysis via Autodesk Cloud Services (use your HOK Autodesk Account),https://insight360.autodesk.com/oneenergy,FALSE -COBieExt.png,COBie Extension,COBie Extension.addin,20,Capture COBie data and export to a COBie compliant spreadsheet,https://interoperability.autodesk.com/cobieextensionrevit.php,FALSE -Align.png,Align,AlignTag.addin,21,"Align, distribute or organize selected tags and text along the specified axis",https://apps.autodesk.com/RVT/en/Detail/Index?id=2903508825431715905&appLang=en&os=Win32_64,FALSE -ModelReview.png,Model Review,Autodesk.ModelReview.addin,22,Validate the accuracy and consistency of your projects by running various checks,http://autode.sk/2eKAcE3,FALSE -BIM360Glue.png,BIM 360 Glue,BIM360GlueRevitAddin.addin,23,Clash detection in the cloud (subscription required - project expense or contractor provided),http://www.autodesk.com/products/bim-360-glue/overview,FALSE -SiteDesigner.png,Site Designer,Autodesk.SiteDesignerExtension.addinZZZ,24,Site planning tools to shape the terrain for building sites within Revit,http://autode.sk/2eh46BB,FALSE -pyRevit.png,pyRevit,pyRevit.addin,25,A set of valuable open-source tools written in Python,https://pyrevitlabs.notion.site/pyrevitlabs/pyRevit-bd907d6292ed4ce997c46e84b6ef67a0,FALSE -StructCope.png,Structural Cope Tool,SSFT.StrucCope.addin,26,Automatically cope selected beams/columns with any number of intersecting members,https://apps.autodesk.com/RVT/en/Detail/Index?id=662680847725051942&appLang=en&os=Win32_64,FALSE -StructWebStiff.png,Web Stiffener,AddStiffenerApp.addin,27,Quickly add web stiffeners on one or more W-beams,https://apps.autodesk.com/RVT/en/Detail/Index?id=3707897859546303803&appLang=en&os=Win32_64,FALSE -StructColSplit.png,Column Splitter,Ssft.Column-Splitter.addin,28,"Split columns by point (now available ootb), by levels or by reference planes",https://apps.autodesk.com/RVT/en/Detail/Index?id=5528791458580677035&appLang=en&os=Win32_64,FALSE -SteelConnections.png,Steel Connections,RvtSteelConnectionsUI.addin,29,View detailed structural connector geometry and modify additional parameters,http://autode.sk/2dg3JFH,FALSE -ETABSexport.png,Export to ETABS,NM.Revit.addin,30,Export a structural Revit model to Etabs for analysis and member sizing,http://www.nassermarafi.com/,FALSE -FabExtension.png,Fabrication Extension,RevitFabricationExtension.addin,31,Export a fabrication layout from Revit to a fabrication job (MEP),http://autode.sk/2eKCSBt,FALSE -Formit360.png,FormIt 360 Converter,FormItConverter.addinZZZ,32,Convert FormIt files to the Revit file format,http://autode.sk/2dD2l3I,FALSE -dbLink.png,Revit DB Link,Autodesk.RevitDBLink.addinZZZ,33,"Export Revit project data to a database, make changes and re-import",http://autode.sk/2dPFkcm,FALSE -Lumion.png,Lumion Exporter,RevitToLumionBridge.addin,34,Export to Lumion,https://www.youtube.com/watch?v=wjI4vM6HYjA,FALSE -NBS.png,NBS Plugin,NBS2018.addin,35,Coordinate element data with the NBS Specification & access the National BIM Library,https://www.nationalbimlibrary.com/nbs-plug-in-for-autodesk-revit,FALSE -TrimbleConnect.png,Trimble Connect Uploader,RVT2BSQPlugin2019.addin,36,"Export to Trimble Connect to visualize the model in a browser, markup, and create To Dos",https://community.trimble.com/docs/DOC-10018-trimble-connect-for-revit,FALSE -BCFExpress.png,BCF Express,BCFExpress.addin,37,"Navigate BCF issues easily and directly in Revit",https://github.com/HOKGroup/bcfexpress,FALSE +icon,name,addin,order,tooltip,url,dropdownOptionsFlag +Ideate.png,Ideate Tools,IdeateSoftwareISW.addin,1,"The entire suite of Ideate tools: Apps, BIMLink, Explorer, Sticky & StyleManager",https://ideatesoftware.com,1 +eTransmit.png,eTransmit,Autodesk.eTransmitApplication.addin,2,Prepare models to be archived or transmitted to outside team members,https://hub.hok.com/designtech/revit/addins/Pages/eTransmit.aspx,0 +TransferSingle.png,TransferSingle,TransferSingle2022.addin,3,Use this tool to Transfer Project Standards on a single item instead of an entire category,https://apps.autodesk.com/RVT/en/Detail/Index?id=8481526687890452659&appLang=en&os=Win64,0 +ScopeBoxSync.png,Scope Box Synchronizer,ScopeBoxSynchronizer.addin,4,Keep scope boxes in linked models synchronized with those in the host model,https://apps.autodesk.com/RVT/en/Detail/Index?id=6897465823377340538&appLang=en&os=Win64,0 +RTVxporterPro.png,RTV Xporter Pro,RTVTools_2022.addin,5,"A powerful tool for batch exporting, printing and revision control",https://www.rtvtools.com/rtv-xporter-pro/,0 +CTC_BIMmanS.png,CTC BIM Manager Suite,_CTC-BIM-Manager-Suite.addin,6,A collection of powerful tools for BIM Managers and Coordinators,https://hub.hok.com/designtech/revit/addins/Pages/CTC-Software.aspx,0 +CTC_BIMprojS.png,CTC BIM Project Suite,_CTC-BIM-Project-Suite.addin,7,A collection of powerful tools for BIM Managers and Coordinators,https://hub.hok.com/designtech/revit/addins/Pages/CTC-Software.aspx,1 +CTC_BIMbatchS.png,CTC BIM Batch Suite,_CTC-BIM-Batch-Suite.addin,8,"A collection of powerful batching tools for exporting, family loading, upgrading and plotting",https://hub.hok.com/designtech/revit/addins/Pages/CTC-Software.aspx,0 +autoLink.png,autoLink,workFlow.addin,9,"Extend Revit updating behavior to view references in schedules, tags and text so these stay in sync when changes occur",https://web.microsoftstream.com/video/f85eacb4-2330-4fa6-8b50-4e1444919d8e?referrer=https:%2F%2Fhub.hok.com%2F,0 +Dynamo.png,Dynamo,Dynamo.addin,10,A powerful visual scripting tool for computational design and daily task automation,http://dynamobim.org/,0 +BCFmanager.png,BCF Manager,BCF_Manager.addin,11,Communicate issues with all team members such as collisions between trades via the open-source BCF schema,https://www.bimcollab.com/en/products/bcf-managers/,1 +Clarity.png,Clarity,IMAGINiT.ClarityClient.addin,12,For HOK projects hosted on rs.hok.com that require external collaboration,https://s3.amazonaws.com/IMAGINiTSoftware/Documentation/Clarity/2024/index.htm#t=User_Guide%2FClarity_Revit_Add-in.htm,0 +Collab4Revit.png,BIM 360 Design (C4R),"Autodesk.Collaborate.addin, ExportViewSelectorApp.addin",13,Set up a cloud workshared project on HOK's Autodesk Construction Cloud,https://acc.autodesk.com/projects,0 +VRay.png,V-Ray for Revit,VRay4Revit2022.addin,14,Render using V-Ray for Revit and take advantage of the Swarm efficiency (distributed rendering),https://docs.chaosgroup.com/display/VRAYREVIT/V-Ray+for+Revit+QuickStart+-+Intro,0 +IsolateWarnings.png,Isolate Warnings,ARCHISOFT_warnings.addin,15,Maintain and audit your model by creating 3D views that isolate elements with associated warnings,https://apps.autodesk.com/RVT/en/Detail/Index?id=5064956227128897660&appLang=en&os=Win32_64,0 +Coins.png,COINS Auto-Section Box,CoinsSectionBoxApp2022.addin,16,Create a 3D view with a section box around selected elements (note that a similar tool is now available ootb),http://revitlink.blogspot.com/2016/01/revit-selection-box-vs-coins-auto.html,0 +Revizto.png,Revizto,revizto_v4_2014.addin,17,"Export your models for cloud-based collaboration: markups, issue tracking, visualization and more",https://hub.hok.com/workspace/designSMART/Documents/Revizto%20User%20Guide.pdf,0 +ColorSplasher.png,Color Splasher,ColorSplasher.addin,18,"Filter, select & color elements based on parameter values to visualise and audit model data",http://bimone.com/UserGuide/Color%20Splasher%20-%20User%20Guide.pdf,0 +Insight360.png,Insight,"Autodesk.LightingAnalysis.addin, Autodesk.SolarAnalysis.addin",19,Energy performance analysis via Autodesk Cloud Services (use your HOK Autodesk Account),https://insight360.autodesk.com/oneenergy,0 +COBieExt.png,COBie Extension,COBie Extension.addin,20,Capture COBie data and export to a COBie compliant spreadsheet,https://interoperability.autodesk.com/cobieextensionrevit.php,0 +Align.png,Align,AlignTag.addin,21,"Align, distribute or organize selected tags and text along the specified axis",https://apps.autodesk.com/RVT/en/Detail/Index?id=2903508825431715905&appLang=en&os=Win32_64,0 +ModelReview.png,Model Review,Autodesk.ModelReview.addin,22,Validate the accuracy and consistency of your projects by running various checks,http://autode.sk/2eKAcE3,0 +BIM360Glue.png,BIM 360 Glue,BIM360GlueRevitAddin.addin,23,Clash detection in the cloud (subscription required - project expense or contractor provided),http://www.autodesk.com/products/bim-360-glue/overview,0 +SiteDesigner.png,Site Designer,Autodesk.SiteDesignerExtension.addinZZZ,24,Site planning tools to shape the terrain for building sites within Revit,http://autode.sk/2eh46BB,0 +pyRevit.png,pyRevit,pyRevit.addin,25,A set of valuable open-source tools written in Python,https://pyrevitlabs.notion.site/pyrevitlabs/pyRevit-bd907d6292ed4ce997c46e84b6ef67a0,0 +StructCope.png,Structural Cope Tool,SSFT.StrucCope.addin,26,Automatically cope selected beams/columns with any number of intersecting members,https://apps.autodesk.com/RVT/en/Detail/Index?id=662680847725051942&appLang=en&os=Win32_64,0 +StructWebStiff.png,Web Stiffener,AddStiffenerApp.addin,27,Quickly add web stiffeners on one or more W-beams,https://apps.autodesk.com/RVT/en/Detail/Index?id=3707897859546303803&appLang=en&os=Win32_64,0 +StructColSplit.png,Column Splitter,Ssft.Column-Splitter.addin,28,"Split columns by point (now available ootb), by levels or by reference planes",https://apps.autodesk.com/RVT/en/Detail/Index?id=5528791458580677035&appLang=en&os=Win32_64,0 +SteelConnections.png,Steel Connections,RvtSteelConnectionsUI.addin,29,View detailed structural connector geometry and modify additional parameters,http://autode.sk/2dg3JFH,0 +ETABSexport.png,Export to ETABS,NM.Revit.addin,30,Export a structural Revit model to Etabs for analysis and member sizing,http://www.nassermarafi.com/,0 +FabExtension.png,Fabrication Extension,RevitFabricationExtension.addin,31,Export a fabrication layout from Revit to a fabrication job (MEP),http://autode.sk/2eKCSBt,0 +Formit360.png,FormIt 360 Converter,FormItConverter.addinZZZ,32,Convert FormIt files to the Revit file format,http://autode.sk/2dD2l3I,0 +dbLink.png,Revit DB Link,Autodesk.RevitDBLink.addinZZZ,33,"Export Revit project data to a database, make changes and re-import",http://autode.sk/2dPFkcm,0 +Lumion.png,Lumion Exporter,RevitToLumionBridge.addin,34,Export to Lumion,https://www.youtube.com/watch?v=wjI4vM6HYjA,0 +NBS.png,NBS Plugin,NBS2018.addin,35,Coordinate element data with the NBS Specification & access the National BIM Library,https://www.nationalbimlibrary.com/nbs-plug-in-for-autodesk-revit,0 +TrimbleConnect.png,Trimble Connect Uploader,RVT2BSQPlugin2019.addin,36,"Export to Trimble Connect to visualize the model in a browser, markup, and create To Dos",https://community.trimble.com/docs/DOC-10018-trimble-connect-for-revit,0 diff --git a/HOK.AddInManager/_resources/2023/HOK2023Addins.csv b/HOK.AddInManager/_resources/2023/HOK2023Addins.csv index 4c1a1317..e3870d03 100644 --- a/HOK.AddInManager/_resources/2023/HOK2023Addins.csv +++ b/HOK.AddInManager/_resources/2023/HOK2023Addins.csv @@ -1,38 +1,37 @@ -icon,name,addin,order,tooltip,url,requiresRestart -Ideate.png,Ideate Tools,IdeateSoftwareISW.addin,1,"The entire suite of Ideate tools: Apps, BIMLink, Explorer, Sticky & StyleManager",https://ideatesoftware.com,FALSE -eTransmit.png,eTransmit,Autodesk.eTransmitApplication.addin,2,Prepare models to be archived or transmitted to outside team members,https://hub.hok.com/designtech/revit/addins/Pages/eTransmit.aspx,FALSE -TransferSingle.png,TransferSingle,TransferSingle2023.addin,3,Use this tool to Transfer Project Standards on a single item instead of an entire category,https://apps.autodesk.com/RVT/en/Detail/Index?id=8481526687890452659&appLang=en&os=Win64,FALSE -ScopeBoxSync.png,Scope Box Synchronizer,ScopeBoxSynchronizer.addin,4,Keep scope boxes in linked models synchronized with those in the host model,https://apps.autodesk.com/RVT/en/Detail/Index?id=6897465823377340538&appLang=en&os=Win64,FALSE -RTVxporterPro.png,RTV Xporter Pro,RTVTools_2023.addin,5,"A powerful tool for batch exporting, printing and revision control",https://www.rtvtools.com/rtv-xporter-pro/,FALSE -CTC_BIMmanS.png,CTC BIM Manager Suite,CTC-BIM-Manager-Suite.addin,6,A collection of powerful tools for BIM Managers and Coordinators,https://hub.hok.com/designtech/revit/addins/Pages/CTC-Software.aspx,FALSE -CTC_BIMprojS.png,CTC BIM Project Suite,CTC-BIM-Project-Suite.addin,7,A collection of powerful tools for BIM Managers and Coordinators,https://hub.hok.com/designtech/revit/addins/Pages/CTC-Software.aspx,FALSE -CTC_BIMbatchS.png,CTC BIM Batch Suite,CTC-BIM-Batch-Suite.addin,8,"A collection of powerful batching tools for exporting, family loading, upgrading and plotting",https://hub.hok.com/designtech/revit/addins/Pages/CTC-Software.aspx,FALSE -autoLink.png,autoLink,workFlow.addin,9,"Extend Revit updating behavior to view references in schedules, tags and text so these stay in sync when changes occur",https://web.microsoftstream.com/video/f85eacb4-2330-4fa6-8b50-4e1444919d8e?referrer=https:%2F%2Fhub.hok.com%2F,FALSE -Dynamo.png,Dynamo,Dynamo.addin,10,A powerful visual scripting tool for computational design and daily task automation,http://dynamobim.org/,FALSE -BCFmanager.png,BCF Manager,BCF_Manager.addin,11,Communicate issues with all team members such as collisions between trades via the open-source BCF schema,https://www.bimcollab.com/en/products/bcf-managers/,TRUE -Clarity.png,Clarity,IMAGINiT.ClarityClient.addin,12,For HOK projects hosted on rs.hok.com that require external collaboration,https://s3.amazonaws.com/IMAGINiTSoftware/Documentation/Clarity/2024/index.htm#t=User_Guide%2FClarity_Revit_Add-in.htm,FALSE -Collab4Revit.png,BIM 360 Design (C4R),"Autodesk.Collaborate.addin, ExportViewSelectorApp.addin",13,Set up a cloud workshared project on HOK's Autodesk Construction Cloud,https://acc.autodesk.com/projects,FALSE -VRay.png,V-Ray for Revit,VRay4Revit2023.addin,14,Render using V-Ray for Revit and take advantage of the Swarm efficiency (distributed rendering),https://docs.chaosgroup.com/display/VRAYREVIT/V-Ray+for+Revit+QuickStart+-+Intro,FALSE -IsolateWarnings.png,Isolate Warnings,ARCHISOFT_warnings.addin,15,Maintain and audit your model by creating 3D views that isolate elements with associated warnings,https://apps.autodesk.com/RVT/en/Detail/Index?id=5064956227128897660&appLang=en&os=Win32_64,FALSE -Coins.png,COINS Auto-Section Box,CoinsSectionBoxApp2023.addin,16,Create a 3D view with a section box around selected elements (note that a similar tool is now available ootb),http://revitlink.blogspot.com/2016/01/revit-selection-box-vs-coins-auto.html,FALSE -Revizto.png,Revizto,revizto_v4_2014.addin,17,"Export your models for cloud-based collaboration: markups, issue tracking, visualization and more",https://hub.hok.com/workspace/designSMART/Documents/Revizto%20User%20Guide.pdf,FALSE -ColorSplasher.png,Color Splasher,ColorSplasher.addin,18,"Filter, select & color elements based on parameter values to visualise and audit model data",http://bimone.com/UserGuide/Color%20Splasher%20-%20User%20Guide.pdf,FALSE -Insight360.png,Insight,"Autodesk.LightingAnalysis.addin, Autodesk.SolarAnalysis.addin",19,Energy performance analysis via Autodesk Cloud Services (use your HOK Autodesk Account),https://insight360.autodesk.com/oneenergy,FALSE -COBieExt.png,COBie Extension,COBie Extension.addin,20,Capture COBie data and export to a COBie compliant spreadsheet,https://interoperability.autodesk.com/cobieextensionrevit.php,FALSE -Align.png,Align,AlignTag.addin,21,"Align, distribute or organize selected tags and text along the specified axis",https://apps.autodesk.com/RVT/en/Detail/Index?id=2903508825431715905&appLang=en&os=Win32_64,FALSE -ModelReview.png,Model Review,Autodesk.ModelReview.addin,22,Validate the accuracy and consistency of your projects by running various checks,http://autode.sk/2eKAcE3,FALSE -BIM360Glue.png,BIM 360 Glue,BIM360GlueRevitAddin.addin,23,Clash detection in the cloud (subscription required - project expense or contractor provided),http://www.autodesk.com/products/bim-360-glue/overview,FALSE -SiteDesigner.png,Site Designer,Autodesk.SiteDesignerExtension.addinZZZ,24,Site planning tools to shape the terrain for building sites within Revit,http://autode.sk/2eh46BB,FALSE -pyRevit.png,pyRevit,pyRevit.addin,25,A set of valuable open-source tools written in Python,https://pyrevitlabs.notion.site/pyrevitlabs/pyRevit-bd907d6292ed4ce997c46e84b6ef67a0,FALSE -StructCope.png,Structural Cope Tool,SSFT.StrucCope.addin,26,Automatically cope selected beams/columns with any number of intersecting members,https://apps.autodesk.com/RVT/en/Detail/Index?id=662680847725051942&appLang=en&os=Win32_64,FALSE -StructWebStiff.png,Web Stiffener,AddStiffenerApp.addin,27,Quickly add web stiffeners on one or more W-beams,https://apps.autodesk.com/RVT/en/Detail/Index?id=3707897859546303803&appLang=en&os=Win32_64,FALSE -StructColSplit.png,Column Splitter,Ssft.Column-Splitter.addin,28,"Split columns by point (now available ootb), by levels or by reference planes",https://apps.autodesk.com/RVT/en/Detail/Index?id=5528791458580677035&appLang=en&os=Win32_64,FALSE -SteelConnections.png,Steel Connections,RvtSteelConnectionsUI.addin,29,View detailed structural connector geometry and modify additional parameters,http://autode.sk/2dg3JFH,FALSE -ETABSexport.png,Export to ETABS,NM.Revit.addin,30,Export a structural Revit model to Etabs for analysis and member sizing,http://www.nassermarafi.com/,FALSE -FabExtension.png,Fabrication Extension,RevitFabricationExtension.addin,31,Export a fabrication layout from Revit to a fabrication job (MEP),http://autode.sk/2eKCSBt,FALSE -Formit360.png,FormIt 360 Converter,FormItConverter.addinZZZ,32,Convert FormIt files to the Revit file format,http://autode.sk/2dD2l3I,FALSE -dbLink.png,Revit DB Link,Autodesk.RevitDBLink.addinZZZ,33,"Export Revit project data to a database, make changes and re-import",http://autode.sk/2dPFkcm,FALSE -Lumion.png,Lumion Exporter,RevitToLumionBridge.addin,34,Export to Lumion,https://www.youtube.com/watch?v=wjI4vM6HYjA,FALSE -NBS.png,NBS Plugin,NBS2018.addin,35,Coordinate element data with the NBS Specification & access the National BIM Library,https://www.nationalbimlibrary.com/nbs-plug-in-for-autodesk-revit,FALSE -TrimbleConnect.png,Trimble Connect Uploader,RVT2BSQPlugin2019.addin,36,"Export to Trimble Connect to visualize the model in a browser, markup, and create To Dos",https://community.trimble.com/docs/DOC-10018-trimble-connect-for-revit,FALSE -BCFExpress.png,BCF Express,BCFExpress.addin,37,"Navigate BCF issues easily and directly in Revit",https://github.com/HOKGroup/bcfexpress,FALSE +icon,name,addin,order,tooltip,url,dropdownOptionsFlag +Ideate.png,Ideate Tools,IdeateSoftwareISW.addin,1,"The entire suite of Ideate tools: Apps, BIMLink, Explorer, Sticky & StyleManager",https://ideatesoftware.com,1 +eTransmit.png,eTransmit,Autodesk.eTransmitApplication.addin,2,Prepare models to be archived or transmitted to outside team members,https://hub.hok.com/designtech/revit/addins/Pages/eTransmit.aspx,0 +TransferSingle.png,TransferSingle,TransferSingle2023.addin,3,Use this tool to Transfer Project Standards on a single item instead of an entire category,https://apps.autodesk.com/RVT/en/Detail/Index?id=8481526687890452659&appLang=en&os=Win64,0 +ScopeBoxSync.png,Scope Box Synchronizer,ScopeBoxSynchronizer.addin,4,Keep scope boxes in linked models synchronized with those in the host model,https://apps.autodesk.com/RVT/en/Detail/Index?id=6897465823377340538&appLang=en&os=Win64,0 +RTVxporterPro.png,RTV Xporter Pro,RTVTools_2023.addin,5,"A powerful tool for batch exporting, printing and revision control",https://www.rtvtools.com/rtv-xporter-pro/,0 +CTC_BIMmanS.png,CTC BIM Manager Suite,_CTC-BIM-Manager-Suite.addin,6,A collection of powerful tools for BIM Managers and Coordinators,https://hub.hok.com/designtech/revit/addins/Pages/CTC-Software.aspx,0 +CTC_BIMprojS.png,CTC BIM Project Suite,_CTC-BIM-Project-Suite.addin,7,A collection of powerful tools for BIM Managers and Coordinators,https://hub.hok.com/designtech/revit/addins/Pages/CTC-Software.aspx,1 +CTC_BIMbatchS.png,CTC BIM Batch Suite,_CTC-BIM-Batch-Suite.addin,8,"A collection of powerful batching tools for exporting, family loading, upgrading and plotting",https://hub.hok.com/designtech/revit/addins/Pages/CTC-Software.aspx,0 +autoLink.png,autoLink,workFlow.addin,9,"Extend Revit updating behavior to view references in schedules, tags and text so these stay in sync when changes occur",https://web.microsoftstream.com/video/f85eacb4-2330-4fa6-8b50-4e1444919d8e?referrer=https:%2F%2Fhub.hok.com%2F,0 +Dynamo.png,Dynamo,Dynamo.addin,10,A powerful visual scripting tool for computational design and daily task automation,http://dynamobim.org/,0 +BCFmanager.png,BCF Manager,BCF_Manager.addin,11,Communicate issues with all team members such as collisions between trades via the open-source BCF schema,https://www.bimcollab.com/en/products/bcf-managers/,1 +Clarity.png,Clarity,IMAGINiT.ClarityClient.addin,12,For HOK projects hosted on rs.hok.com that require external collaboration,https://s3.amazonaws.com/IMAGINiTSoftware/Documentation/Clarity/2024/index.htm#t=User_Guide%2FClarity_Revit_Add-in.htm,0 +Collab4Revit.png,BIM 360 Design (C4R),"Autodesk.Collaborate.addin, ExportViewSelectorApp.addin",13,Set up a cloud workshared project on HOK's Autodesk Construction Cloud,https://acc.autodesk.com/projects,0 +VRay.png,V-Ray for Revit,VRay4Revit2023.addin,14,Render using V-Ray for Revit and take advantage of the Swarm efficiency (distributed rendering),https://docs.chaosgroup.com/display/VRAYREVIT/V-Ray+for+Revit+QuickStart+-+Intro,0 +IsolateWarnings.png,Isolate Warnings,ARCHISOFT_warnings.addin,15,Maintain and audit your model by creating 3D views that isolate elements with associated warnings,https://apps.autodesk.com/RVT/en/Detail/Index?id=5064956227128897660&appLang=en&os=Win32_64,0 +Coins.png,COINS Auto-Section Box,CoinsSectionBoxApp2023.addin,16,Create a 3D view with a section box around selected elements (note that a similar tool is now available ootb),http://revitlink.blogspot.com/2016/01/revit-selection-box-vs-coins-auto.html,0 +Revizto.png,Revizto,revizto_v4_2014.addin,17,"Export your models for cloud-based collaboration: markups, issue tracking, visualization and more",https://hub.hok.com/workspace/designSMART/Documents/Revizto%20User%20Guide.pdf,0 +ColorSplasher.png,Color Splasher,ColorSplasher.addin,18,"Filter, select & color elements based on parameter values to visualise and audit model data",http://bimone.com/UserGuide/Color%20Splasher%20-%20User%20Guide.pdf,0 +Insight360.png,Insight,"Autodesk.LightingAnalysis.addin, Autodesk.SolarAnalysis.addin",19,Energy performance analysis via Autodesk Cloud Services (use your HOK Autodesk Account),https://insight360.autodesk.com/oneenergy,0 +COBieExt.png,COBie Extension,COBie Extension.addin,20,Capture COBie data and export to a COBie compliant spreadsheet,https://interoperability.autodesk.com/cobieextensionrevit.php,0 +Align.png,Align,AlignTag.addin,21,"Align, distribute or organize selected tags and text along the specified axis",https://apps.autodesk.com/RVT/en/Detail/Index?id=2903508825431715905&appLang=en&os=Win32_64,0 +ModelReview.png,Model Review,Autodesk.ModelReview.addin,22,Validate the accuracy and consistency of your projects by running various checks,http://autode.sk/2eKAcE3,0 +BIM360Glue.png,BIM 360 Glue,BIM360GlueRevitAddin.addin,23,Clash detection in the cloud (subscription required - project expense or contractor provided),http://www.autodesk.com/products/bim-360-glue/overview,0 +SiteDesigner.png,Site Designer,Autodesk.SiteDesignerExtension.addinZZZ,24,Site planning tools to shape the terrain for building sites within Revit,http://autode.sk/2eh46BB,0 +pyRevit.png,pyRevit,pyRevit.addin,25,A set of valuable open-source tools written in Python,https://pyrevitlabs.notion.site/pyrevitlabs/pyRevit-bd907d6292ed4ce997c46e84b6ef67a0,0 +StructCope.png,Structural Cope Tool,SSFT.StrucCope.addin,26,Automatically cope selected beams/columns with any number of intersecting members,https://apps.autodesk.com/RVT/en/Detail/Index?id=662680847725051942&appLang=en&os=Win32_64,0 +StructWebStiff.png,Web Stiffener,AddStiffenerApp.addin,27,Quickly add web stiffeners on one or more W-beams,https://apps.autodesk.com/RVT/en/Detail/Index?id=3707897859546303803&appLang=en&os=Win32_64,0 +StructColSplit.png,Column Splitter,Ssft.Column-Splitter.addin,28,"Split columns by point (now available ootb), by levels or by reference planes",https://apps.autodesk.com/RVT/en/Detail/Index?id=5528791458580677035&appLang=en&os=Win32_64,0 +SteelConnections.png,Steel Connections,RvtSteelConnectionsUI.addin,29,View detailed structural connector geometry and modify additional parameters,http://autode.sk/2dg3JFH,0 +ETABSexport.png,Export to ETABS,NM.Revit.addin,30,Export a structural Revit model to Etabs for analysis and member sizing,http://www.nassermarafi.com/,0 +FabExtension.png,Fabrication Extension,RevitFabricationExtension.addin,31,Export a fabrication layout from Revit to a fabrication job (MEP),http://autode.sk/2eKCSBt,0 +Formit360.png,FormIt 360 Converter,FormItConverter.addinZZZ,32,Convert FormIt files to the Revit file format,http://autode.sk/2dD2l3I,0 +dbLink.png,Revit DB Link,Autodesk.RevitDBLink.addinZZZ,33,"Export Revit project data to a database, make changes and re-import",http://autode.sk/2dPFkcm,0 +Lumion.png,Lumion Exporter,RevitToLumionBridge.addin,34,Export to Lumion,https://www.youtube.com/watch?v=wjI4vM6HYjA,0 +NBS.png,NBS Plugin,NBS2018.addin,35,Coordinate element data with the NBS Specification & access the National BIM Library,https://www.nationalbimlibrary.com/nbs-plug-in-for-autodesk-revit,0 +TrimbleConnect.png,Trimble Connect Uploader,RVT2BSQPlugin2019.addin,36,"Export to Trimble Connect to visualize the model in a browser, markup, and create To Dos",https://community.trimble.com/docs/DOC-10018-trimble-connect-for-revit,0 diff --git a/HOK.AddInManager/_resources/2024/HOK2024Addins.csv b/HOK.AddInManager/_resources/2024/HOK2024Addins.csv index c20ba14b..61df8ec7 100644 --- a/HOK.AddInManager/_resources/2024/HOK2024Addins.csv +++ b/HOK.AddInManager/_resources/2024/HOK2024Addins.csv @@ -1,38 +1,38 @@ -icon,name,addin,order,tooltip,url,requiresRestart -Ideate.png,Ideate Tools,IdeateSoftwareISW.addin,1,"The entire suite of Ideate tools: Apps, BIMLink, Explorer, Sticky & StyleManager",https://ideatesoftware.com,FALSE -eTransmit.png,eTransmit,Autodesk.eTransmitApplication.addin,2,Prepare models to be archived or transmitted to outside team members,https://hub.hok.com/designtech/revit/addins/Pages/eTransmit.aspx,FALSE -TransferSingle.png,TransferSingle,TransferSingle2024.addin,3,Use this tool to Transfer Project Standards on a single item instead of an entire category,https://apps.autodesk.com/RVT/en/Detail/Index?id=8481526687890452659&appLang=en&os=Win64,FALSE -ScopeBoxSync.png,Scope Box Synchronizer,ScopeBoxSynchronizer.addin,4,Keep scope boxes in linked models synchronized with those in the host model,https://apps.autodesk.com/RVT/en/Detail/Index?id=6897465823377340538&appLang=en&os=Win64,FALSE -RTVxporterPro.png,RTV Xporter Pro,RTVTools_2024.addin,5,"A powerful tool for batch exporting, printing and revision control",https://www.rtvtools.com/rtv-xporter-pro/,FALSE -CTC_BIMmanS.png,CTC BIM Manager Suite,CTC-BIM-Manager-Suite.addin,6,A collection of powerful tools for BIM Managers and Coordinators,https://hub.hok.com/designtech/revit/addins/Pages/CTC-Software.aspx,FALSE -CTC_BIMprojS.png,CTC BIM Project Suite,CTC-BIM-Project-Suite.addin,7,A collection of powerful tools for BIM Managers and Coordinators,https://hub.hok.com/designtech/revit/addins/Pages/CTC-Software.aspx,FALSE -CTC_BIMbatchS.png,CTC BIM Batch Suite,CTC-BIM-Batch-Suite.addin,8,"A collection of powerful batching tools for exporting, family loading, upgrading and plotting",https://hub.hok.com/designtech/revit/addins/Pages/CTC-Software.aspx,FALSE -autoLink.png,autoLink,workFlow.addin,9,"Extend Revit updating behavior to view references in schedules, tags and text so these stay in sync when changes occur",https://web.microsoftstream.com/video/f85eacb4-2330-4fa6-8b50-4e1444919d8e?referrer=https:%2F%2Fhub.hok.com%2F,FALSE -Dynamo.png,Dynamo,Dynamo.addin,10,A powerful visual scripting tool for computational design and daily task automation,http://dynamobim.org/,FALSE -BCFmanager.png,BCF Manager,BCF_Manager.addin,11,Communicate issues with all team members such as collisions between trades via the open-source BCF schema,https://www.bimcollab.com/en/products/bcf-managers/,TRUE -Clarity.png,Clarity,IMAGINiT.ClarityClient.addin,12,For HOK projects hosted on rs.hok.com that require external collaboration,https://s3.amazonaws.com/IMAGINiTSoftware/Documentation/Clarity/2024/index.htm#t=User_Guide%2FClarity_Revit_Add-in.htm,FALSE -Collab4Revit.png,BIM 360 Design (C4R),"Autodesk.Collaborate.addin, ExportViewSelectorApp.addin",13,Set up a cloud workshared project on HOK's Autodesk Construction Cloud,https://acc.autodesk.com/projects,FALSE -VRay.png,V-Ray for Revit,VRay4Revit2023.addin,14,Render using V-Ray for Revit and take advantage of the Swarm efficiency (distributed rendering),https://docs.chaosgroup.com/display/VRAYREVIT/V-Ray+for+Revit+QuickStart+-+Intro,FALSE -IsolateWarnings.png,Isolate Warnings,ARCHISOFT_warnings.addin,15,Maintain and audit your model by creating 3D views that isolate elements with associated warnings,https://apps.autodesk.com/RVT/en/Detail/Index?id=5064956227128897660&appLang=en&os=Win32_64,FALSE -Coins.png,COINS Auto-Section Box,CoinsSectionBoxApp2024.addin,16,Create a 3D view with a section box around selected elements (note that a similar tool is now available ootb),http://revitlink.blogspot.com/2016/01/revit-selection-box-vs-coins-auto.html,FALSE -Revizto.png,Revizto,revizto_v4_2014.addin,17,"Export your models for cloud-based collaboration: markups, issue tracking, visualization and more",https://hub.hok.com/workspace/designSMART/Documents/Revizto%20User%20Guide.pdf,FALSE -ColorSplasher.png,Color Splasher,ColorSplasher.addin,18,"Filter, select & color elements based on parameter values to visualise and audit model data",http://bimone.com/UserGuide/Color%20Splasher%20-%20User%20Guide.pdf,FALSE -Insight360.png,Insight,"Autodesk.LightingAnalysis.addin, Autodesk.SolarAnalysis.addin",19,Energy performance analysis via Autodesk Cloud Services (use your HOK Autodesk Account),https://insight360.autodesk.com/oneenergy,FALSE -COBieExt.png,COBie Extension,COBie Extension.addin,20,Capture COBie data and export to a COBie compliant spreadsheet,https://interoperability.autodesk.com/cobieextensionrevit.php,FALSE -Align.png,Align,AlignTag.addin,21,"Align, distribute or organize selected tags and text along the specified axis",https://apps.autodesk.com/RVT/en/Detail/Index?id=2903508825431715905&appLang=en&os=Win32_64,FALSE -ModelReview.png,Model Review,Autodesk.ModelReview.addin,22,Validate the accuracy and consistency of your projects by running various checks,http://autode.sk/2eKAcE3,FALSE -BIM360Glue.png,BIM 360 Glue,BIM360GlueRevitAddin.addin,23,Clash detection in the cloud (subscription required - project expense or contractor provided),http://www.autodesk.com/products/bim-360-glue/overview,FALSE -SiteDesigner.png,Site Designer,Autodesk.SiteDesignerExtension.addinZZZ,24,Site planning tools to shape the terrain for building sites within Revit,http://autode.sk/2eh46BB,FALSE -pyRevit.png,pyRevit,pyRevit.addin,25,A set of valuable open-source tools written in Python,https://pyrevitlabs.notion.site/pyrevitlabs/pyRevit-bd907d6292ed4ce997c46e84b6ef67a0,FALSE -StructCope.png,Structural Cope Tool,SSFT.StrucCope.addin,26,Automatically cope selected beams/columns with any number of intersecting members,https://apps.autodesk.com/RVT/en/Detail/Index?id=662680847725051942&appLang=en&os=Win32_64,FALSE -StructWebStiff.png,Web Stiffener,AddStiffenerApp.addin,27,Quickly add web stiffeners on one or more W-beams,https://apps.autodesk.com/RVT/en/Detail/Index?id=3707897859546303803&appLang=en&os=Win32_64,FALSE -StructColSplit.png,Column Splitter,Ssft.Column-Splitter.addin,28,"Split columns by point (now available ootb), by levels or by reference planes",https://apps.autodesk.com/RVT/en/Detail/Index?id=5528791458580677035&appLang=en&os=Win32_64,FALSE -SteelConnections.png,Steel Connections,RvtSteelConnectionsUI.addin,29,View detailed structural connector geometry and modify additional parameters,http://autode.sk/2dg3JFH,FALSE -ETABSexport.png,Export to ETABS,NM.Revit.addin,30,Export a structural Revit model to Etabs for analysis and member sizing,http://www.nassermarafi.com/,FALSE -FabExtension.png,Fabrication Extension,RevitFabricationExtension.addin,31,Export a fabrication layout from Revit to a fabrication job (MEP),http://autode.sk/2eKCSBt,FALSE -Formit360.png,FormIt 360 Converter,FormItConverter.addinZZZ,32,Convert FormIt files to the Revit file format,http://autode.sk/2dD2l3I,FALSE -dbLink.png,Revit DB Link,Autodesk.RevitDBLink.addinZZZ,33,"Export Revit project data to a database, make changes and re-import",http://autode.sk/2dPFkcm,FALSE -Lumion.png,Lumion Exporter,RevitToLumionBridge.addin,34,Export to Lumion,https://www.youtube.com/watch?v=wjI4vM6HYjA,FALSE -NBS.png,NBS Plugin,NBS2018.addin,35,Coordinate element data with the NBS Specification & access the National BIM Library,https://www.nationalbimlibrary.com/nbs-plug-in-for-autodesk-revit,FALSE -TrimbleConnect.png,Trimble Connect Uploader,RVT2BSQPlugin2019.addin,36,"Export to Trimble Connect to visualize the model in a browser, markup, and create To Dos",https://community.trimble.com/docs/DOC-10018-trimble-connect-for-revit,FALSE -BCFExpress.png,BCF Express,BCFExpress.addin,37,"Navigate BCF issues easily and directly in Revit",https://github.com/HOKGroup/bcfexpress,FALSE +icon,name,addin,order,tooltip,url,dropdownOptionsFlag +Ideate.png,Ideate Tools,IdeateSoftwareISW.addin,1,"The entire suite of Ideate tools: Apps, BIMLink, Explorer, Sticky & StyleManager",https://ideatesoftware.com,1 +eTransmit.png,eTransmit,Autodesk.eTransmitApplication.addin,2,Prepare models to be archived or transmitted to outside team members,https://hub.hok.com/designtech/revit/addins/Pages/eTransmit.aspx,0 +TransferSingle.png,TransferSingle,TransferSingle2024.addin,3,Use this tool to Transfer Project Standards on a single item instead of an entire category,https://apps.autodesk.com/RVT/en/Detail/Index?id=8481526687890452659&appLang=en&os=Win64,0 +ScopeBoxSync.png,Scope Box Synchronizer,ScopeBoxSynchronizer.addin,4,Keep scope boxes in linked models synchronized with those in the host model,https://apps.autodesk.com/RVT/en/Detail/Index?id=6897465823377340538&appLang=en&os=Win64,0 +RTVxporterPro.png,RTV Xporter Pro,RTVTools_2024.addin,5,"A powerful tool for batch exporting, printing and revision control",https://www.rtvtools.com/rtv-xporter-pro/,0 +CTC_BIMmanS.png,CTC BIM Manager Suite,_CTC-BIM-Manager-Suite.addin,6,A collection of powerful tools for BIM Managers and Coordinators,https://hub.hok.com/designtech/revit/addins/Pages/CTC-Software.aspx,0 +CTC_BIMprojS.png,CTC BIM Project Suite,_CTC-BIM-Project-Suite.addin,7,A collection of powerful tools for BIM Managers and Coordinators,https://hub.hok.com/designtech/revit/addins/Pages/CTC-Software.aspx,1 +CTC_BIMbatchS.png,CTC BIM Batch Suite,_CTC-BIM-Batch-Suite.addin,8,"A collection of powerful batching tools for exporting, family loading, upgrading and plotting",https://hub.hok.com/designtech/revit/addins/Pages/CTC-Software.aspx,0 +autoLink.png,autoLink,workFlow.addin,9,"Extend Revit updating behavior to view references in schedules, tags and text so these stay in sync when changes occur",https://web.microsoftstream.com/video/f85eacb4-2330-4fa6-8b50-4e1444919d8e?referrer=https:%2F%2Fhub.hok.com%2F,0 +Dynamo.png,Dynamo,Dynamo.addin,10,A powerful visual scripting tool for computational design and daily task automation,http://dynamobim.org/,0 +BCFmanager.png,BCF Manager,BCF_Manager.addin,11,Communicate issues with all team members such as collisions between trades via the open-source BCF schema,https://www.bimcollab.com/en/products/bcf-managers/,1 +Clarity.png,Clarity,IMAGINiT.ClarityClient.addin,12,For HOK projects hosted on rs.hok.com that require external collaboration,https://s3.amazonaws.com/IMAGINiTSoftware/Documentation/Clarity/2024/index.htm#t=User_Guide%2FClarity_Revit_Add-in.htm,0 +Collab4Revit.png,BIM 360 Design (C4R),"Autodesk.Collaborate.addin, ExportViewSelectorApp.addin",13,Set up a cloud workshared project on HOK's Autodesk Construction Cloud,https://acc.autodesk.com/projects,0 +VRay.png,V-Ray for Revit,VRay4Revit2023.addin,14,Render using V-Ray for Revit and take advantage of the Swarm efficiency (distributed rendering),https://docs.chaosgroup.com/display/VRAYREVIT/V-Ray+for+Revit+QuickStart+-+Intro,0 +IsolateWarnings.png,Isolate Warnings,ARCHISOFT_warnings.addin,15,Maintain and audit your model by creating 3D views that isolate elements with associated warnings,https://apps.autodesk.com/RVT/en/Detail/Index?id=5064956227128897660&appLang=en&os=Win32_64,0 +Coins.png,COINS Auto-Section Box,CoinsSectionBoxApp2024.addin,16,Create a 3D view with a section box around selected elements (note that a similar tool is now available ootb),http://revitlink.blogspot.com/2016/01/revit-selection-box-vs-coins-auto.html,0 +Revizto.png,Revizto,revizto_v4_2014.addin,17,"Export your models for cloud-based collaboration: markups, issue tracking, visualization and more",https://hub.hok.com/workspace/designSMART/Documents/Revizto%20User%20Guide.pdf,0 +ColorSplasher.png,Color Splasher,ColorSplasher.addin,18,"Filter, select & color elements based on parameter values to visualise and audit model data",http://bimone.com/UserGuide/Color%20Splasher%20-%20User%20Guide.pdf,0 +Insight360.png,Insight,"Autodesk.LightingAnalysis.addin, Autodesk.SolarAnalysis.addin",19,Energy performance analysis via Autodesk Cloud Services (use your HOK Autodesk Account),https://insight360.autodesk.com/oneenergy,0 +COBieExt.png,COBie Extension,COBie Extension.addin,20,Capture COBie data and export to a COBie compliant spreadsheet,https://interoperability.autodesk.com/cobieextensionrevit.php,0 +Align.png,Align,AlignTag.addin,21,"Align, distribute or organize selected tags and text along the specified axis",https://apps.autodesk.com/RVT/en/Detail/Index?id=2903508825431715905&appLang=en&os=Win32_64,0 +ModelReview.png,Model Review,Autodesk.ModelReview.addin,22,Validate the accuracy and consistency of your projects by running various checks,http://autode.sk/2eKAcE3,0 +BIM360Glue.png,BIM 360 Glue,BIM360GlueRevitAddin.addin,23,Clash detection in the cloud (subscription required - project expense or contractor provided),http://www.autodesk.com/products/bim-360-glue/overview,0 +SiteDesigner.png,Site Designer,Autodesk.SiteDesignerExtension.addinZZZ,24,Site planning tools to shape the terrain for building sites within Revit,http://autode.sk/2eh46BB,0 +pyRevit.png,pyRevit,pyRevit.addin,25,A set of valuable open-source tools written in Python,https://pyrevitlabs.notion.site/pyrevitlabs/pyRevit-bd907d6292ed4ce997c46e84b6ef67a0,0 +StructCope.png,Structural Cope Tool,SSFT.StrucCope.addin,26,Automatically cope selected beams/columns with any number of intersecting members,https://apps.autodesk.com/RVT/en/Detail/Index?id=662680847725051942&appLang=en&os=Win32_64,0 +StructWebStiff.png,Web Stiffener,AddStiffenerApp.addin,27,Quickly add web stiffeners on one or more W-beams,https://apps.autodesk.com/RVT/en/Detail/Index?id=3707897859546303803&appLang=en&os=Win32_64,0 +StructColSplit.png,Column Splitter,Ssft.Column-Splitter.addin,28,"Split columns by point (now available ootb), by levels or by reference planes",https://apps.autodesk.com/RVT/en/Detail/Index?id=5528791458580677035&appLang=en&os=Win32_64,0 +SteelConnections.png,Steel Connections,RvtSteelConnectionsUI.addin,29,View detailed structural connector geometry and modify additional parameters,http://autode.sk/2dg3JFH,0 +ETABSexport.png,Export to ETABS,NM.Revit.addin,30,Export a structural Revit model to Etabs for analysis and member sizing,http://www.nassermarafi.com/,0 +FabExtension.png,Fabrication Extension,RevitFabricationExtension.addin,31,Export a fabrication layout from Revit to a fabrication job (MEP),http://autode.sk/2eKCSBt,0 +Formit360.png,FormIt 360 Converter,FormItConverter.addinZZZ,32,Convert FormIt files to the Revit file format,http://autode.sk/2dD2l3I,0 +dbLink.png,Revit DB Link,Autodesk.RevitDBLink.addinZZZ,33,"Export Revit project data to a database, make changes and re-import",http://autode.sk/2dPFkcm,0 +Lumion.png,Lumion Exporter,RevitToLumionBridge.addin,34,Export to Lumion,https://www.youtube.com/watch?v=wjI4vM6HYjA,0 +NBS.png,NBS Plugin,NBS2018.addin,35,Coordinate element data with the NBS Specification & access the National BIM Library,https://www.nationalbimlibrary.com/nbs-plug-in-for-autodesk-revit,0 +TrimbleConnect.png,Trimble Connect Uploader,RVT2BSQPlugin2019.addin,36,"Export to Trimble Connect to visualize the model in a browser, markup, and create To Dos",https://community.trimble.com/docs/DOC-10018-trimble-connect-for-revit,0 +DataSmith.png,Twinmotion (Datasmith),Autodesk.TwinmotionForRevit.addin,38,Export or live-link your Revit model into Twinmotion,https://helpdesk.hok.com/hc/en-us/articles/22005582106637-Live-Link-Model-into-Twinmotion,0 diff --git a/HOK.AddInManager/_resources/2025/HOK2025Addins.csv b/HOK.AddInManager/_resources/2025/HOK2025Addins.csv new file mode 100644 index 00000000..ed95760e --- /dev/null +++ b/HOK.AddInManager/_resources/2025/HOK2025Addins.csv @@ -0,0 +1,37 @@ +icon,name,addin,order,tooltip,url,dropdownOptionsFlag +Ideate.png,Ideate Tools,IdeateSoftwareISW.addin,1,"The entire suite of Ideate tools: Apps, BIMLink, Explorer, Sticky & StyleManager",https://ideatesoftware.com,1 +eTransmit.png,eTransmit,Autodesk.eTransmitApplication.addin,2,Prepare models to be archived or transmitted to outside team members,https://hub.hok.com/designtech/revit/addins/Pages/eTransmit.aspx,0 +TransferSingle.png,TransferSingle,TransferSingle2025.addin,3,Use this tool to Transfer Project Standards on a single item instead of an entire category,https://apps.autodesk.com/RVT/en/Detail/Index?id=8481526687890452659&appLang=en&os=Win64,0 +ScopeBoxSync.png,Scope Box Synchronizer,ScopeBoxSynchronizer.addin,4,Keep scope boxes in linked models synchronized with those in the host model,https://apps.autodesk.com/RVT/en/Detail/Index?id=6897465823377340538&appLang=en&os=Win64,0 +RTVxporterPro.png,RTV Xporter Pro,RTVTools_2025.addin,5,"A powerful tool for batch exporting, printing and revision control",https://www.rtvtools.com/rtv-xporter-pro/,0 +CTC_BIMmanS.png,CTC BIM Manager Suite,_CTC-BIM-Manager-Suite.addin,6,A collection of powerful tools for BIM Managers and Coordinators,https://hub.hok.com/designtech/revit/addins/Pages/CTC-Software.aspx,0 +CTC_BIMprojS.png,CTC BIM Project Suite,_CTC-BIM-Project-Suite.addin,7,A collection of powerful tools for BIM Managers and Coordinators,https://hub.hok.com/designtech/revit/addins/Pages/CTC-Software.aspx,1 +CTC_BIMbatchS.png,CTC BIM Batch Suite,_CTC-BIM-Batch-Suite.addin,8,"A collection of powerful batching tools for exporting, family loading, upgrading and plotting",https://hub.hok.com/designtech/revit/addins/Pages/CTC-Software.aspx,0 +autoLink.png,autoLink,workFlow.addin,9,"Extend Revit updating behavior to view references in schedules, tags and text so these stay in sync when changes occur",https://web.microsoftstream.com/video/f85eacb4-2330-4fa6-8b50-4e1444919d8e?referrer=https:%2F%2Fhub.hok.com%2F,0 +Dynamo.png,Dynamo,Dynamo.addin,10,A powerful visual scripting tool for computational design and daily task automation,http://dynamobim.org/,0 +BCFmanager.png,BCF Manager,BCF_Manager.addin,11,Communicate issues with all team members such as collisions between trades via the open-source BCF schema,https://www.bimcollab.com/en/products/bcf-managers/,1 +Clarity.png,Clarity,IMAGINiT.ClarityClient.addin,12,For HOK projects hosted on rs.hok.com that require external collaboration,https://s3.amazonaws.com/IMAGINiTSoftware/Documentation/Clarity/2024/index.htm#t=User_Guide%2FClarity_Revit_Add-in.htm,0 +Collab4Revit.png,BIM 360 Design (C4R),"Autodesk.Collaborate.addin, ExportViewSelectorApp.addin",13,Set up a cloud workshared project on HOK's Autodesk Construction Cloud,https://acc.autodesk.com/projects,0 +VRay.png,V-Ray for Revit,VRay4Revit2023.addin,14,Render using V-Ray for Revit and take advantage of the Swarm efficiency (distributed rendering),https://docs.chaosgroup.com/display/VRAYREVIT/V-Ray+for+Revit+QuickStart+-+Intro,0 +IsolateWarnings.png,Isolate Warnings,ARCHISOFT_warnings.addin,15,Maintain and audit your model by creating 3D views that isolate elements with associated warnings,https://apps.autodesk.com/RVT/en/Detail/Index?id=5064956227128897660&appLang=en&os=Win32_64,0 +Coins.png,COINS Auto-Section Box,CoinsSectionBoxApp2025.addin,16,Create a 3D view with a section box around selected elements (note that a similar tool is now available ootb),http://revitlink.blogspot.com/2016/01/revit-selection-box-vs-coins-auto.html,0 +Revizto.png,Revizto,revizto_v4_2014.addin,17,"Export your models for cloud-based collaboration: markups, issue tracking, visualization and more",https://hub.hok.com/workspace/designSMART/Documents/Revizto%20User%20Guide.pdf,0 +ColorSplasher.png,Color Splasher,ColorSplasher.addin,18,"Filter, select & color elements based on parameter values to visualise and audit model data",http://bimone.com/UserGuide/Color%20Splasher%20-%20User%20Guide.pdf,0 +Insight360.png,Insight,"Autodesk.LightingAnalysis.addin, Autodesk.SolarAnalysis.addin",19,Energy performance analysis via Autodesk Cloud Services (use your HOK Autodesk Account),https://insight360.autodesk.com/oneenergy,0 +COBieExt.png,COBie Extension,COBie Extension.addin,20,Capture COBie data and export to a COBie compliant spreadsheet,https://interoperability.autodesk.com/cobieextensionrevit.php,0 +Align.png,Align,AlignTag.addin,21,"Align, distribute or organize selected tags and text along the specified axis",https://apps.autodesk.com/RVT/en/Detail/Index?id=2903508825431715905&appLang=en&os=Win32_64,0 +ModelReview.png,Model Review,Autodesk.ModelReview.addin,22,Validate the accuracy and consistency of your projects by running various checks,http://autode.sk/2eKAcE3,0 +BIM360Glue.png,BIM 360 Glue,BIM360GlueRevitAddin.addin,23,Clash detection in the cloud (subscription required - project expense or contractor provided),http://www.autodesk.com/products/bim-360-glue/overview,0 +SiteDesigner.png,Site Designer,Autodesk.SiteDesignerExtension.addinZZZ,24,Site planning tools to shape the terrain for building sites within Revit,http://autode.sk/2eh46BB,0 +pyRevit.png,pyRevit,pyRevit.addin,25,A set of valuable open-source tools written in Python,https://pyrevitlabs.notion.site/pyrevitlabs/pyRevit-bd907d6292ed4ce997c46e84b6ef67a0,0 +StructCope.png,Structural Cope Tool,SSFT.StrucCope.addin,26,Automatically cope selected beams/columns with any number of intersecting members,https://apps.autodesk.com/RVT/en/Detail/Index?id=662680847725051942&appLang=en&os=Win32_64,0 +StructWebStiff.png,Web Stiffener,AddStiffenerApp.addin,27,Quickly add web stiffeners on one or more W-beams,https://apps.autodesk.com/RVT/en/Detail/Index?id=3707897859546303803&appLang=en&os=Win32_64,0 +StructColSplit.png,Column Splitter,Ssft.Column-Splitter.addin,28,"Split columns by point (now available ootb), by levels or by reference planes",https://apps.autodesk.com/RVT/en/Detail/Index?id=5528791458580677035&appLang=en&os=Win32_64,0 +SteelConnections.png,Steel Connections,RvtSteelConnectionsUI.addin,29,View detailed structural connector geometry and modify additional parameters,http://autode.sk/2dg3JFH,0 +ETABSexport.png,Export to ETABS,NM.Revit.addin,30,Export a structural Revit model to Etabs for analysis and member sizing,http://www.nassermarafi.com/,0 +FabExtension.png,Fabrication Extension,RevitFabricationExtension.addin,31,Export a fabrication layout from Revit to a fabrication job (MEP),http://autode.sk/2eKCSBt,0 +Formit360.png,FormIt 360 Converter,FormItConverter.addinZZZ,32,Convert FormIt files to the Revit file format,http://autode.sk/2dD2l3I,0 +dbLink.png,Revit DB Link,Autodesk.RevitDBLink.addinZZZ,33,"Export Revit project data to a database, make changes and re-import",http://autode.sk/2dPFkcm,0 +Lumion.png,Lumion Exporter,RevitToLumionBridge.addin,34,Export to Lumion,https://www.youtube.com/watch?v=wjI4vM6HYjA,0 +NBS.png,NBS Plugin,NBS2018.addin,35,Coordinate element data with the NBS Specification & access the National BIM Library,https://www.nationalbimlibrary.com/nbs-plug-in-for-autodesk-revit,0 +TrimbleConnect.png,Trimble Connect Uploader,RVT2BSQPlugin2019.addin,36,"Export to Trimble Connect to visualize the model in a browser, markup, and create To Dos",https://community.trimble.com/docs/DOC-10018-trimble-connect-for-revit,0 diff --git a/HOK.BetaToolsManager/HOK.BetaToolsManager.sln b/HOK.BetaToolsManager/HOK.BetaToolsManager.sln deleted file mode 100644 index 442545f6..00000000 --- a/HOK.BetaToolsManager/HOK.BetaToolsManager.sln +++ /dev/null @@ -1,64 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.26403.7 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HOK.BetaToolsManager", "HOK.BetaToolsManager\HOK.BetaToolsManager.csproj", "{5C353ED5-6B29-46B7-95AA-F068A29C07B2}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - 2018_Release|x64 = 2018_Release|x64 - 2018|x64 = 2018|x64 - 2019_Release|x64 = 2019_Release|x64 - 2019|x64 = 2019|x64 - 2020_Release|x64 = 2020_Release|x64 - 2020|x64 = 2020|x64 - 2021_Release|x64 = 2021_Release|x64 - 2021|x64 = 2021|x64 - 2022_Release|x64 = 2022_Release|x64 - 2022|x64 = 2022|x64 - 2023_Release|x64 = 2023_Release|x64 - 2023|x64 = 2023|x64 - 2024|x64 = 2024|x64 - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {5C353ED5-6B29-46B7-95AA-F068A29C07B2}.2018_Release|x64.ActiveCfg = 2018_Release|x64 - {5C353ED5-6B29-46B7-95AA-F068A29C07B2}.2018_Release|x64.Build.0 = 2018_Release|x64 - {5C353ED5-6B29-46B7-95AA-F068A29C07B2}.2018|x64.ActiveCfg = 2018|x64 - {5C353ED5-6B29-46B7-95AA-F068A29C07B2}.2018|x64.Build.0 = 2018|x64 - {5C353ED5-6B29-46B7-95AA-F068A29C07B2}.2019_Release|x64.ActiveCfg = 2019_Release|x64 - {5C353ED5-6B29-46B7-95AA-F068A29C07B2}.2019_Release|x64.Build.0 = 2019_Release|x64 - {5C353ED5-6B29-46B7-95AA-F068A29C07B2}.2019|x64.ActiveCfg = 2019|x64 - {5C353ED5-6B29-46B7-95AA-F068A29C07B2}.2019|x64.Build.0 = 2019|x64 - {5C353ED5-6B29-46B7-95AA-F068A29C07B2}.2020_Release|x64.ActiveCfg = 2020_Release|x64 - {5C353ED5-6B29-46B7-95AA-F068A29C07B2}.2020_Release|x64.Build.0 = 2020_Release|x64 - {5C353ED5-6B29-46B7-95AA-F068A29C07B2}.2020|x64.ActiveCfg = 2020|x64 - {5C353ED5-6B29-46B7-95AA-F068A29C07B2}.2020|x64.Build.0 = 2020|x64 - {5C353ED5-6B29-46B7-95AA-F068A29C07B2}.2021_Release|x64.ActiveCfg = 2021_Release|x64 - {5C353ED5-6B29-46B7-95AA-F068A29C07B2}.2021_Release|x64.Build.0 = 2021_Release|x64 - {5C353ED5-6B29-46B7-95AA-F068A29C07B2}.2021|x64.ActiveCfg = 2021|x64 - {5C353ED5-6B29-46B7-95AA-F068A29C07B2}.2021|x64.Build.0 = 2021|x64 - {5C353ED5-6B29-46B7-95AA-F068A29C07B2}.2022_Release|x64.ActiveCfg = 2022_Release|x64 - {5C353ED5-6B29-46B7-95AA-F068A29C07B2}.2022_Release|x64.Build.0 = 2022_Release|x64 - {5C353ED5-6B29-46B7-95AA-F068A29C07B2}.2023_Release|x64.ActiveCfg = 2023_Release|x64 - {5C353ED5-6B29-46B7-95AA-F068A29C07B2}.2023_Release|x64.Build.0 = 2023_Release|x64 - {5C353ED5-6B29-46B7-95AA-F068A29C07B2}.2022|x64.ActiveCfg = 2022|x64 - {5C353ED5-6B29-46B7-95AA-F068A29C07B2}.2022|x64.Build.0 = 2022|x64 - {5C353ED5-6B29-46B7-95AA-F068A29C07B2}.2023|x64.ActiveCfg = 2023|x64 - {5C353ED5-6B29-46B7-95AA-F068A29C07B2}.2023|x64.Build.0 = 2023|x64 - {5C353ED5-6B29-46B7-95AA-F068A29C07B2}.2024|x64.ActiveCfg = 2024|x64 - {5C353ED5-6B29-46B7-95AA-F068A29C07B2}.2024|x64.Build.0 = 2024|x64 - {5C353ED5-6B29-46B7-95AA-F068A29C07B2}.Debug|x64.ActiveCfg = Debug|x64 - {5C353ED5-6B29-46B7-95AA-F068A29C07B2}.Debug|x64.Build.0 = Debug|x64 - {5C353ED5-6B29-46B7-95AA-F068A29C07B2}.Release|x64.ActiveCfg = Release|x64 - {5C353ED5-6B29-46B7-95AA-F068A29C07B2}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {63E8D354-DF15-4891-8660-8A4850ABA530} - EndGlobalSection -EndGlobal diff --git a/HOK.BetaToolsManager/HOK.BetaToolsManager/AddinInstallerCommand.cs b/HOK.BetaToolsManager/HOK.BetaToolsManager/AddinInstallerCommand.cs deleted file mode 100644 index 21cafd31..00000000 --- a/HOK.BetaToolsManager/HOK.BetaToolsManager/AddinInstallerCommand.cs +++ /dev/null @@ -1,49 +0,0 @@ -using System; -using System.Diagnostics; -using System.Windows.Interop; -using Autodesk.Revit.UI; -using Autodesk.Revit.Attributes; -using HOK.Core.Utilities; -using HOK.MissionControl.Core.Schemas; -using HOK.MissionControl.Core.Utils; - -namespace HOK.BetaToolsManager -{ - [Transaction(TransactionMode.Manual)] - [Regeneration(RegenerationOption.Manual)] - [Journaling(JournalingMode.NoCommandData)] - public class AddinInstallerCommand : IExternalCommand - { - Result IExternalCommand.Execute(ExternalCommandData commandData, ref string message, Autodesk.Revit.DB.ElementSet elements) - { - Log.AppendLog(LogMessageType.INFO, "Started"); - - try - { - // (Konrad) We are gathering information about the addin use. This allows us to - // better maintain the most used plug-ins or discontiue the unused ones. - AddinUtilities.PublishAddinLog(new AddinLog("Beta-BetaInstaller", commandData.Application.Application.VersionNumber)); - - var model = AppCommand.Instance.ViewModel; - var viewModel = new AddinInstallerViewModel(model); - var view = new AddinInstallerWindow - { - DataContext = viewModel - }; - var unused = new WindowInteropHelper(view) - { - Owner = Process.GetCurrentProcess().MainWindowHandle - }; - - view.ShowDialog(); - } - catch (Exception ex) - { - Log.AppendLog(LogMessageType.EXCEPTION, ex.Message); - } - - Log.AppendLog(LogMessageType.INFO, "Ended"); - return Result.Succeeded; - } - } -} diff --git a/HOK.BetaToolsManager/HOK.BetaToolsManager/AddinInstallerModel.cs b/HOK.BetaToolsManager/HOK.BetaToolsManager/AddinInstallerModel.cs deleted file mode 100644 index 5cddd2d4..00000000 --- a/HOK.BetaToolsManager/HOK.BetaToolsManager/AddinInstallerModel.cs +++ /dev/null @@ -1,418 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.IO; -using System.Linq; -using System.Reflection; -using System.Windows.Media.Imaging; -using System.Xml.Linq; -using Autodesk.Revit.UI; -using HOK.Core.Utilities; -using Newtonsoft.Json; - -namespace HOK.BetaToolsManager -{ - public class AddinInstallerModel - { -#if Release18 || Release19 || Release20 || Release21 || Release22 - public string BetaDirectory { get; set; } = @"\\group\sysvol\group.hok.com\HOK\Tools\Revit\"; -#else - public string BetaDirectory { get; set; } = @"C:\Users\" + Environment.UserName + @"\Desktop\BetaFiles Testing\"; -#endif - public string VersionNumber { get; set; } - public string InstallDirectory { get; set; } - public string TempDirectory { get; set; } - public string BetaTempDirectory { get; set; } - public ObservableCollection Addins { get; set; } - - public AddinInstallerModel(string version) - { - VersionNumber = version; - BetaDirectory = BetaDirectory + VersionNumber + @"\"; // at HOK Group drive - BetaTempDirectory = BetaDirectory + @"Temp\"; // at HOK drive - InstallDirectory = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) - + @"\Autodesk\Revit\Addins\" - + VersionNumber + @"\"; // user roaming location - TempDirectory = InstallDirectory + @"Temp\"; - - LoadAddinsOnStartup(); - } - - /// - /// Removes addins from the ribbon. - /// - /// - public void UninstallAddins(ObservableCollection addins) - { - foreach (var addin in addins) - { - if (!addin.IsSelected) continue; - - // Reset installed version flag to update datagrid control - addin.InstalledVersion = "Not installed"; - addin.IsInstalled = false; - - var app1 = AppCommand.Instance.m_app; - var panel = app1.GetRibbonPanels(" HOK - Beta").FirstOrDefault(x => x.Name == addin.Panel); - - if (string.IsNullOrEmpty(addin.ButtonText)) - { - // no UI addin - // remove addin file - if (File.Exists(InstallDirectory + Path.GetFileName(addin.AddinFilePath))) - { - try - { - File.Delete(InstallDirectory + Path.GetFileName(addin.AddinFilePath)); - } - catch - { - Log.AppendLog(LogMessageType.ERROR, "Could not delete Addin File. Moving on."); - } - } - - // (Konrad) We are using Idling event here for the reason that depending on order - // at which these buttons are installed or added to the ribbon, at the moment that - // we are adding this particular tool, it could not be ready on the ribbon yet, - // button variable will be null and we won't be able to disable it. - AppCommand.EnqueueTask(app => - { - if (panel != null && addin.AdditionalButtonNames != null) - { - var splits = addin.AdditionalButtonNames.Split(';'); - foreach (var name in splits) - { - var button1 = panel.GetItems().FirstOrDefault(x => x.Name == name); - if (button1 != null) - { - button1.Visible = false; - panel.Visible = panel.GetItems().Any(x => x.Visible); - } - } - } - }); - } - - // (Konrad) Button needs to be disabled after DLLs were removed since it doesn't work anyways. - var button = panel?.GetItems().FirstOrDefault(x => x.ItemText == addin.ButtonText); - if (button != null) - { - button.Visible = false; - panel.Visible = panel.GetItems().Any(x => x.Visible); - } - } - } - - /// - /// Adds addins to the ribbon. - /// - /// - public void InstallUpdateAddins(ObservableCollection addins) - { - foreach (var addin in addins) - { - if (!addin.IsSelected) continue; - - // (Konrad) Currently the only way to distinguish between ExternalCommands and ExternalApplications - // is via "ButtonText" attribute. It should be empty for ExternalApplications. - if (string.IsNullOrEmpty(addin.ButtonText)) - { - // no UI addin - // move the addin file - if (File.Exists(InstallDirectory + Path.GetFileName(addin.AddinFilePath))) - { - try - { - File.Delete(InstallDirectory + Path.GetFileName(addin.AddinFilePath)); - } - catch - { - Log.AppendLog(LogMessageType.ERROR, "Could not delete Addin File. Moving on."); - } - } - File.Copy(TempDirectory + Path.GetFileName(addin.AddinFilePath), InstallDirectory + Path.GetFileName(addin.AddinFilePath)); - - if (!Directory.Exists( - InstallDirectory + new DirectoryInfo(addin.BetaResourcesPath).Name)) - { - Directory.CreateDirectory( - InstallDirectory + new DirectoryInfo(addin.BetaResourcesPath).Name); - CopyAll(TempDirectory + new DirectoryInfo(addin.BetaResourcesPath).Name, - InstallDirectory + new DirectoryInfo(addin.BetaResourcesPath).Name); - } - else - { - CopyAll(TempDirectory + new DirectoryInfo(addin.BetaResourcesPath).Name, - InstallDirectory + new DirectoryInfo(addin.BetaResourcesPath).Name); - } - - // (Konrad) We are using Idling event here for the reason that depending on order - // at which these buttons are installed or added to the ribbon, at the moment that - // we are adding this particular tool, it could not be ready on the ribbon yet, - // button variable will be null and we won't be able to disable it. - AppCommand.EnqueueTask(app => - { - var panel = app.GetRibbonPanels(" HOK - Beta").FirstOrDefault(x => x.Name == addin.Panel); - if (panel != null && addin.AdditionalButtonNames != null) - { - var splits = addin.AdditionalButtonNames.Split(';'); - foreach (var name in splits) - { - var button = panel.GetItems().FirstOrDefault(x => x.Name == name); - if (button != null) - { - button.Enabled = false; - panel.Visible = panel.GetItems().Any(x => x.Visible); - } - } - } - }); - } - else - { - var app = AppCommand.Instance.m_app; - var panel = app.GetRibbonPanels(" HOK - Beta").FirstOrDefault(x => x.Name == addin.Panel); - var button = panel?.GetItems().FirstOrDefault(x => x.ItemText == addin.ButtonText); - if (button != null) - { - button.Visible = true; - button.Enabled = false; - panel.Visible = panel.GetItems().Any(x => x.Visible); - ((PushButton)button).AssemblyName = InstallDirectory + addin.DllRelativePath; - } - } - - // Reset installed version flag to update datagrid control - addin.InstalledVersion = addin.Version; - addin.IsInstalled = true; - } - } - - /// - /// Main method for loading and parsing of the beta/installed folders. - /// - private void LoadAddinsOnStartup() - { - var addins = File.Exists(InstallDirectory + "BetaSettings.json") - ? DeserializeSetting(InstallDirectory + "BetaSettings.json") - : null; - - var dic = new Dictionary(); - - // (Konrad) It's possible for user to be offline, and have no access to Beta HOK Drive. - // In that case we still want to create addins, but instead use the Temp location on local drive. - var betaTemp2 = Directory.Exists(BetaDirectory) - ? BetaTempDirectory - : Directory.Exists(TempDirectory) - ? TempDirectory - : string.Empty; - - if (betaTemp2 != string.Empty) - { - if (!Directory.Exists(TempDirectory)) - Directory.CreateDirectory(TempDirectory); - - // (Konrad) Create a copy of all installed plugins by copying the temp dir from beta - // We only do this if Beta is accessible otherwise we use local temp - if (Directory.Exists(BetaDirectory)) - CopyAll(BetaTempDirectory, TempDirectory); - - // (Konrad) We use the direcotry on the local drive that was already copied over to scan for addins. - var availableAddins = Directory.GetFiles(betaTemp2, "*.addin"); - - // Cleans any holdovers from old beta addins - RemoveLegacyPlugins(availableAddins); - - // (Konrad) Get all addins from beta directory - foreach (var file in availableAddins) - { - var dllRelativePath = ParseXml(file); // relative to temp - var dllPath = TempDirectory + dllRelativePath; - if (!File.Exists(dllPath)) continue; - - // (Konrad) Using LoadFrom() instead of LoadFile() because - // LoadFile() doesn't load dependent assemblies causing exception later. - var assembly = Assembly.LoadFrom(dllPath); - Type[] types; - try - { - types = assembly.GetTypes(); - } - catch (ReflectionTypeLoadException e) - { - types = e.Types; - } - foreach (var t in types.Where(x => x != null && - (x.GetInterface("IExternalCommand") != null || - x.GetInterface("IExternalApplication") != null))) - { - MemberInfo info = t; - var nameAttr = (NameAttribute)info.GetCustomAttributes(typeof(NameAttribute), true).FirstOrDefault(); - var descAttr = (DescriptionAttribute)t.GetCustomAttributes(typeof(DescriptionAttribute), true).FirstOrDefault(); - var imageAttr = (ImageAttribute)t.GetCustomAttributes(typeof(ImageAttribute), true).FirstOrDefault(); - var namespaceAttr = (NamespaceAttribute)t.GetCustomAttributes(typeof(NamespaceAttribute), true).FirstOrDefault(); - var panelNameAttr = (PanelNameAttribute)t.GetCustomAttributes(typeof(PanelNameAttribute), true).FirstOrDefault(); - - if (nameAttr == null || descAttr == null || imageAttr == null || - namespaceAttr == null || panelNameAttr == null) continue; - - var bitmap = - (BitmapSource)ButtonUtil.LoadBitmapImage(assembly, namespaceAttr.Namespace, - imageAttr.ImageName); - var version = assembly.GetName().Version.ToString(); - var installed = false; - var addin = addins?.FirstOrDefault(x => x.DllRelativePath == dllRelativePath); - if (addin != null) - { - installed = addin.IsInstalled; - - if (installed) - { - // if directory doesn't exist in "installed" it means that it was not yet installed before. - if (!Directory.Exists( - InstallDirectory + new DirectoryInfo(addin.BetaResourcesPath).Name)) - { - Directory.CreateDirectory( - InstallDirectory + new DirectoryInfo(addin.BetaResourcesPath).Name); - CopyAll(betaTemp2 + new DirectoryInfo(addin.BetaResourcesPath).Name, - InstallDirectory + new DirectoryInfo(addin.BetaResourcesPath).Name); - } - else - { - // directory exists, which means it was installed before - // let's automatically copy the latest version in - // we can use temp directory here since it was already either updated with latest - // or is the only source of files (no network drive) - CopyAll(TempDirectory + new DirectoryInfo(addin.BetaResourcesPath).Name, - InstallDirectory + new DirectoryInfo(addin.BetaResourcesPath).Name); - } - } - } - - var aw = new AddinWrapper - { - Name = nameAttr.Name, - Description = descAttr.Description, - Image = bitmap, - ImageName = imageAttr.ImageName, - CommandNamespace = t.FullName, - Version = version, - IsInstalled = installed, - InstalledVersion = version, - BetaResourcesPath = Path.GetDirectoryName(dllPath), - AddinFilePath = file, - DllRelativePath = dllRelativePath, - AutoUpdate = true, - Panel = panelNameAttr.PanelName - }; - - if (t.GetInterface("IExternalCommand") != null) - { - var buttonTextAttr = - (ButtonTextAttribute)t.GetCustomAttributes(typeof(ButtonTextAttribute), true) - .FirstOrDefault(); - - aw.ButtonText = buttonTextAttr?.ButtonText; - } - else - { - var additionalButtonNamesAttr = (AdditionalButtonNamesAttribute)t - .GetCustomAttributes(typeof(AdditionalButtonNamesAttribute), true) - .FirstOrDefault(); - - aw.AdditionalButtonNames = additionalButtonNamesAttr?.AdditionalNames; - } - - dic.Add(aw.Name, aw); - } - } - } - var output = new ObservableCollection(dic.Values.ToList().OrderBy(x => x.Name)); - Addins = output; - } - - /// - /// In case that we discontinued some Beta Plugin, or moved it to ProgramData, it's possible for some *.addin - /// files to remain behind on user machines. It's best to remove them, to prevent any potential load errors. - /// - /// An array of *.addin files that are available to be installed in Temp folder. - private void RemoveLegacyPlugins(string[] availableAddins) - { - var availableFileNames = availableAddins.Select(Path.GetFileName).ToList(); - var installedAddins = Directory.GetFiles(InstallDirectory, "*.addin"); - foreach (var installedAddin in installedAddins) - { - var fileName = Path.GetFileName(installedAddin); - if (!string.IsNullOrEmpty(fileName) && fileName.StartsWith("HOK.") && !availableFileNames.Contains(fileName)) - { - var dllPath = ParseXml(installedAddin); - var folder = Path.GetDirectoryName(dllPath); - try - { - if (Directory.Exists(folder)) Directory.Delete(Path.Combine(InstallDirectory, folder), true); - File.Delete(installedAddin); - } - catch (Exception e) - { - Log.AppendLog(LogMessageType.EXCEPTION, e.Message); - } - } - } - } - - /// - /// Read Addin Manifest file to extract DLL path. - /// - /// File path. - /// - private static string ParseXml(string file) - { - var value = string.Empty; - var response = File.ReadAllText(file); - var doc = XDocument.Parse(response); - - foreach (var element in doc.Descendants("Assembly")) - { - value = (string)element; - break; - } - - return value; - } - - /// - /// Copies all contents of one directory to another. - /// - /// Source directory path. - /// Target directory path. - private static void CopyAll(string sourceDir, string targetDir) - { - try - { - foreach (var dirPath in Directory.GetDirectories(sourceDir, "*", - SearchOption.AllDirectories)) - Directory.CreateDirectory(dirPath.Replace(sourceDir, targetDir)); - - foreach (var newPath in Directory.GetFiles(sourceDir, "*.*", - SearchOption.AllDirectories)) - File.Copy(newPath, newPath.Replace(sourceDir, targetDir), true); - } - catch (Exception e) - { - Log.AppendLog(LogMessageType.EXCEPTION, e.Message); - } - } - - /// - /// Deserializes Settings file for installed addins. - /// - /// File Path - /// Addin Wrapper objects. - public ObservableCollection DeserializeSetting(string filePath) - { - var json = File.ReadAllText(filePath); - var settings = JsonConvert.DeserializeObject>(json); - return settings ?? new ObservableCollection(); - } - } -} diff --git a/HOK.BetaToolsManager/HOK.BetaToolsManager/AddinInstallerViewModel.cs b/HOK.BetaToolsManager/HOK.BetaToolsManager/AddinInstallerViewModel.cs deleted file mode 100644 index 156da6b7..00000000 --- a/HOK.BetaToolsManager/HOK.BetaToolsManager/AddinInstallerViewModel.cs +++ /dev/null @@ -1,118 +0,0 @@ -using System.Collections.ObjectModel; -using System.Diagnostics; -using System.Reflection; -using System.Windows; -using System.Windows.Interop; -using GalaSoft.MvvmLight; -using GalaSoft.MvvmLight.Command; -using HOK.Core.Utilities; -using HOK.Core.WpfUtilities; -using HOK.Feedback; -using RelayCommand = GalaSoft.MvvmLight.Command.RelayCommand; - -namespace HOK.BetaToolsManager -{ - public class AddinInstallerViewModel : ViewModelBase - { - public AddinInstallerModel Model; - public string Title { get; set; } - public RelayCommand CloseCommand { get; set; } - public RelayCommand CheckAll { get; set; } - public RelayCommand CheckNone { get; set; } - public RelayCommand InstallCommand { get; set; } - public RelayCommand UninstallCommand { get; set; } - public RelayCommand WindowLoaded { get; set; } - public RelayCommand WindowClosing { get; set; } - public RelayCommand SubmitComment { get; set; } - - public AddinInstallerViewModel(AddinInstallerModel model) - { - Model = model; - Addins = Model.Addins; - Title = "Beta Tools - Beta Installer v." + Assembly.GetExecutingAssembly().GetName().Version; - - CloseCommand = new RelayCommand(OnCloseCommand); - CheckAll = new RelayCommand(OnCheckAll); - CheckNone = new RelayCommand(OnCheckNone); - InstallCommand = new RelayCommand(OnInstall); - UninstallCommand = new RelayCommand(OnUninstall); - WindowLoaded = new RelayCommand(OnWindowLoaded); - WindowClosing = new RelayCommand(OnWindowClosing); - SubmitComment = new RelayCommand(OnSubmitComment); - } - - private static void OnSubmitComment() - { - var title = "Beta Tools - Beta Installer v." + Assembly.GetExecutingAssembly().GetName().Version; - var model = new FeedbackModel(); - var viewModel = new FeedbackViewModel(model, title); - var view = new FeedbackView - { - DataContext = viewModel - }; - - var unused = new WindowInteropHelper(view) - { - Owner = Process.GetCurrentProcess().MainWindowHandle - }; - - view.ShowDialog(); - } - - private void OnWindowClosing(Window obj) - { - foreach (var addin in Addins) - { - addin.AutoUpdate = true; - } - } - - private void OnWindowLoaded(Window win) - { - OnCheckNone(); - StatusBarManager.StatusLabel = ((AddinInstallerWindow)win).statusLabel; - } - - private void OnUninstall(Window win) - { - Model.UninstallAddins(Addins); - win.Close(); - } - - private void OnInstall(Window win) - { - Model.InstallUpdateAddins(Addins); - MessageBox.Show("Please restart Revit for new plug-ins to work.", - "Beta Tools - Beta Installer", MessageBoxButton.OK, MessageBoxImage.Information); - win.Close(); - } - - private void OnCheckNone() - { - foreach (var addin in Addins) - { - addin.IsSelected = false; - } - } - - private void OnCheckAll() - { - foreach (var addin in Addins) - { - addin.IsSelected = true; - } - } - - private static void OnCloseCommand(Window win) - { - win.Close(); - } - - private ObservableCollection _addins = new ObservableCollection(); - public ObservableCollection Addins - { - get { return _addins; } - set { _addins = value; RaisePropertyChanged(() => Addins); } - } - } -} diff --git a/HOK.BetaToolsManager/HOK.BetaToolsManager/AddinInstallerWindow.xaml b/HOK.BetaToolsManager/HOK.BetaToolsManager/AddinInstallerWindow.xaml deleted file mode 100644 index 54559f65..00000000 --- a/HOK.BetaToolsManager/HOK.BetaToolsManager/AddinInstallerWindow.xaml +++ /dev/null @@ -1,249 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/HOK.BetaToolsManager/HOK.BetaToolsManager/AddinInstallerWindow.xaml.cs b/HOK.BetaToolsManager/HOK.BetaToolsManager/AddinInstallerWindow.xaml.cs deleted file mode 100644 index 5c8f8aed..00000000 --- a/HOK.BetaToolsManager/HOK.BetaToolsManager/AddinInstallerWindow.xaml.cs +++ /dev/null @@ -1,14 +0,0 @@ - -namespace HOK.BetaToolsManager -{ - /// - /// Interaction logic for AddinInstallerWindow.xaml - /// - public partial class AddinInstallerWindow - { - public AddinInstallerWindow() - { - InitializeComponent(); - } - } -} diff --git a/HOK.BetaToolsManager/HOK.BetaToolsManager/AppCommand.cs b/HOK.BetaToolsManager/HOK.BetaToolsManager/AppCommand.cs deleted file mode 100644 index 84b6e115..00000000 --- a/HOK.BetaToolsManager/HOK.BetaToolsManager/AppCommand.cs +++ /dev/null @@ -1,200 +0,0 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Reflection; -using Autodesk.Revit.UI; -using HOK.Core.Utilities; -using Newtonsoft.Json; -using Autodesk.Revit.UI.Events; - -namespace HOK.BetaToolsManager -{ - public class AppCommand : IExternalApplication - { - public UIControlledApplication m_app; - public static AppCommand Instance; - private const string tabName = " HOK - Beta"; - private string currentAssembly = ""; - public AddinInstallerModel ViewModel { get; set; } - public static List AddinsToSetPathsFor { get; } = new List(); - private static Queue> Tasks; - - public Result OnStartup(UIControlledApplication application) - { - Instance = this; - m_app = application; - var versionNumber = m_app.ControlledApplication.VersionNumber; - Tasks = new Queue>(); - - application.Idling += OnIdling; - - try - { - m_app.CreateRibbonTab(tabName); - } - catch - { - Log.AppendLog(LogMessageType.WARNING, "Ribbon tab was not created. It might already exist."); - } - - var panelsVisibility = new Dictionary(); - ViewModel = new AddinInstallerModel(versionNumber); - foreach (var addin in ViewModel.Addins) - { - // (Konrad) Currently the only way to distinguish between ExternalCommands and ExternalApplications - // is via "ButtonText" attribute. It should be empty for ExternalApplications. - if (string.IsNullOrEmpty(addin.ButtonText)) - { - if (addin.IsInstalled) - { - if (File.Exists(ViewModel.InstallDirectory + Path.GetFileName(addin.AddinFilePath))) - { - try - { - File.Delete(ViewModel.InstallDirectory + Path.GetFileName(addin.AddinFilePath)); - } - catch - { - Log.AppendLog(LogMessageType.ERROR, "Could not delete existing Addin Manifest."); - } - } - File.Copy(ViewModel.TempDirectory + Path.GetFileName(addin.AddinFilePath), ViewModel.InstallDirectory + Path.GetFileName(addin.AddinFilePath)); - - if (addin.AdditionalButtonNames != null) - { - if (panelsVisibility.ContainsKey(addin.Panel)) - { - panelsVisibility.Remove(addin.Panel); - } - - panelsVisibility.Add(addin.Panel, true); - } - } - continue; - } - - // (Konrad) Temp path dll, to file moved from install location - // Keeps install location free from being locked by Revit. - // If addin hasn't been installed yet, we create a button for it, - // but assign it a Temp.dll reference so that we can re-assign it later. - var relativePath = addin.DllRelativePath.Replace("Temp\\", ""); - var dllPath = addin.IsInstalled ? ViewModel.InstallDirectory + relativePath : ViewModel.TempDirectory + "Temp.dll"; - - var panel = m_app.GetRibbonPanels(" HOK - Beta").FirstOrDefault(x => x.Name == addin.Panel) - ?? m_app.CreateRibbonPanel(tabName, addin.Panel); - - var button = (PushButton)panel.AddItem(new PushButtonData(addin.Name + "_Command", addin.ButtonText, dllPath, addin.CommandNamespace)); - button.LargeImage = addin.Image; - button.ToolTip = addin.Description; - - button.Visible = addin.IsInstalled; - - if (panelsVisibility.ContainsKey(addin.Panel)) - { - if (panelsVisibility[addin.Panel]) panel.Visible = true; - } - else - { - panel.Visible = panel.GetItems().Any(x => x.Visible); - } - } - - currentAssembly = Assembly.GetAssembly(GetType()).Location; - CreateInstallerPanel(); - - return Result.Succeeded; - } - - public Result OnShutdown(UIControlledApplication application) - { - SerializeSetting(ViewModel.InstallDirectory + "BetaSettings.json"); - - application.Idling -= OnIdling; - - return Result.Succeeded; - } - - /// - /// Handled Idling events. Currently Communicator uses it to interact with Revit. - /// It checks a queue for any outstanding tasks and executes them. - /// - private static void OnIdling(object sender, IdlingEventArgs e) - { - var app = (UIApplication)sender; - lock (Tasks) - { - if (Tasks.Count <= 0) return; - - var task = Tasks.Dequeue(); - task(app); - } - } - - /// - /// Adds action to task list. - /// - /// Task to be executed. - public static void EnqueueTask(Action task) - { - lock (Tasks) - { - Tasks.Enqueue(task); - } - } - - /// - /// Creates a beta installed button. - /// - private void CreateInstallerPanel() - { - try - { - var installerPanel = m_app.CreateRibbonPanel(tabName, "Installer"); - - var installerButton = (PushButton)installerPanel.AddItem(new PushButtonData("AddinInstallerCommand", - "Beta Addin" + Environment.NewLine + "Installer", - currentAssembly, - "HOK.BetaToolsManager.AddinInstallerCommand")); - - var assembly = Assembly.GetExecutingAssembly(); - installerButton.LargeImage = ButtonUtil.LoadBitmapImage(assembly, typeof(AppCommand).Namespace, "betaPluginManager_32x32.png"); - installerButton.Image = installerButton.LargeImage; - installerButton.ToolTip = "HOK Beta Tools Installer"; - installerButton.AvailabilityClassName = "HOK.BetaToolsManager.Availability"; - } - catch (Exception ex) - { - Log.AppendLog(LogMessageType.EXCEPTION, ex.Message); - } - } - - /// - /// This serializes settings file with installed/beta addins. - /// - /// Path to settings file. - public void SerializeSetting(string filePath) - { - try - { - var json = JsonConvert.SerializeObject(ViewModel.Addins, Formatting.Indented); - File.WriteAllText(filePath, json); - } - catch (Exception e) - { - Log.AppendLog(LogMessageType.EXCEPTION, e.Message); - } - } - } - - /// - /// Determines if Button is enabled in ZeroDocument state. - /// - public class Availability : IExternalCommandAvailability - { - public bool IsCommandAvailable(UIApplication applicationData, Autodesk.Revit.DB.CategorySet selectedCategories) - { - return true; - } - } -} diff --git a/HOK.BetaToolsManager/HOK.BetaToolsManager/HOK.BetaToolsManager.addin b/HOK.BetaToolsManager/HOK.BetaToolsManager/HOK.BetaToolsManager.addin deleted file mode 100644 index 8147e0ce..00000000 --- a/HOK.BetaToolsManager/HOK.BetaToolsManager/HOK.BetaToolsManager.addin +++ /dev/null @@ -1,11 +0,0 @@ - - - - HOK Beta Tools Manager - HOK-Addin.bundle\Contents\HOK.BetaToolsManager.dll - AD4E6C2C-286D-48A4-B11F-F9F4A5A5C802 - HOK.BetaToolsManager.AppCommand - HOK Group - Konrad K Sobon: konrad.sobon@hok.com - - \ No newline at end of file diff --git a/HOK.BetaToolsManager/HOK.BetaToolsManager/HOK.BetaToolsManager.csproj b/HOK.BetaToolsManager/HOK.BetaToolsManager/HOK.BetaToolsManager.csproj deleted file mode 100644 index e1153f03..00000000 --- a/HOK.BetaToolsManager/HOK.BetaToolsManager/HOK.BetaToolsManager.csproj +++ /dev/null @@ -1,296 +0,0 @@ - - - - - Debug - x64 - {5C353ED5-6B29-46B7-95AA-F068A29C07B2} - Library - Properties - HOK.BetaToolsManager - HOK.BetaToolsManager - v4.5.2 - v4.5.2 - v4.5.2 - v4.7.1 - v4.7.2 - v4.8 - 512 - - - - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - 2023 - v4.8 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - 2023 - v4.8 - - - true - bin\2018\ - TRACE;DEBUG;RELEASE2018 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2018 - v4.5.2 - - - true - bin\2018_Release\ - TRACE;DEBUG;Release18 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2018 - v4.5.2 - - - true - bin\2019\ - TRACE;DEBUG;RELEASE2019 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2019 - v4.7.1 - - - true - bin\2019_Release\ - TRACE;DEBUG;Release19 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2019 - v4.7.1 - - - true - bin\2020\ - TRACE;DEBUG;RELEASE2020 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2020 - v4.7.2 - - - true - bin\2020_Release\ - TRACE;DEBUG;Release20 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2020 - v4.7.2 - - - true - bin\2021\ - TRACE;DEBUG;RELEASE2021 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2021 - v4.8 - - - true - bin\2021_Release\ - TRACE;DEBUG;Release21 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2021 - v4.8 - - - true - bin\2022\ - TRACE;DEBUG;RELEASE2022 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2022 - v4.8 - - - true - bin\2022_Release\ - TRACE;DEBUG;Release22 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2022 - v4.8 - - - true - bin\2023\ - TRACE;DEBUG;RELEASE2023 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2023 - v4.8 - - - true - bin\2023_Release\ - TRACE;DEBUG;Release22 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2023 - v4.8 - - true - bin\2024\ - TRACE;DEBUG;RELEASE2024 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2024 - v4.8 - - true - bin\2024_Release\ - TRACE;DEBUG;Release22 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2024 - v4.8 - - - - ..\packages\MvvmLightLibs.5.3.0.0\lib\net45\GalaSoft.MvvmLight.dll - - - ..\..\HOK.Core\HOK.Core\bin\$(RevitVersion)\HOK.Core.dll - False - False - - - ..\..\HOK.Feedback\HOK.Feedback\bin\$(RevitVersion)\HOK.Feedback.dll - False - False - - - ..\..\HOK.MissionControl\HOK.MissionControl.Core\bin\$(RevitVersion)\HOK.MissionControl.Core.dll - False - - - ..\packages\CommonServiceLocator.1.3\lib\portable-net4+sl5+netcore45+wpa81+wp8\Microsoft.Practices.ServiceLocation.dll - - - ..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll - - - C:\Program Files\Autodesk\Revit $(RevitVersion)\RevitAPIUI.dll - $(HOKDepsDirectory)\HOK Addins Deps\Revit\$(RevitVersion)\RevitAPIUI.dll - False - - - C:\Program Files\Autodesk\Revit $(RevitVersion)\RevitAPI.dll - $(HOKDepsDirectory)\HOK Addins Deps\Revit\$(RevitVersion)\RevitAPI.dll - False - - - - - - - - ..\packages\MvvmLightLibs.5.3.0.0\lib\net45\System.Windows.Interactivity.dll - - - - - - - - - - - - - - AddinInstallerWindow.xaml - - - - - - True - True - Settings.settings - - - - - Designer - MSBuild:Compile - - - - - - - - - - SettingsSingleFileGenerator - Settings.Designer.cs - - - - - PreserveNewest - - - - - - - - - - - - - - - - diff --git a/HOK.BetaToolsManager/HOK.BetaToolsManager/Properties/AssemblyInfo.cs b/HOK.BetaToolsManager/HOK.BetaToolsManager/Properties/AssemblyInfo.cs deleted file mode 100644 index cd077799..00000000 --- a/HOK.BetaToolsManager/HOK.BetaToolsManager/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System.Reflection; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("HOK Beta Tools Manager")] -[assembly: AssemblyDescription("This Beta Tools Manager will enable to load add-in tools distributed as beta versions.")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("HOK Group")] -[assembly: AssemblyProduct("HOK.BetaToolsManager")] -[assembly: AssemblyCopyright("Copyright © HOK Group 2021")] -[assembly: AssemblyTrademark("Konrad K Sobon")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("881b0a03-81aa-433f-ab11-fdb08df4fd3c")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2024.1.0.22")] -[assembly: AssemblyFileVersion("2024.1.0.22")] diff --git a/HOK.BetaToolsManager/HOK.BetaToolsManager/Properties/Settings.Designer.cs b/HOK.BetaToolsManager/HOK.BetaToolsManager/Properties/Settings.Designer.cs deleted file mode 100644 index 351222be..00000000 --- a/HOK.BetaToolsManager/HOK.BetaToolsManager/Properties/Settings.Designer.cs +++ /dev/null @@ -1,26 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace HOK.BetaToolsManager.Properties { - - - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.9.0.0")] - internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { - - private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); - - public static Settings Default { - get { - return defaultInstance; - } - } - } -} diff --git a/HOK.BetaToolsManager/HOK.BetaToolsManager/Properties/Settings.settings b/HOK.BetaToolsManager/HOK.BetaToolsManager/Properties/Settings.settings deleted file mode 100644 index 8e615f25..00000000 --- a/HOK.BetaToolsManager/HOK.BetaToolsManager/Properties/Settings.settings +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/HOK.BetaToolsManager/HOK.BetaToolsManager/Resources/betaPluginManager_32x32.png b/HOK.BetaToolsManager/HOK.BetaToolsManager/Resources/betaPluginManager_32x32.png deleted file mode 100644 index 9bd8b455..00000000 Binary files a/HOK.BetaToolsManager/HOK.BetaToolsManager/Resources/betaPluginManager_32x32.png and /dev/null differ diff --git a/HOK.BetaToolsManager/HOK.BetaToolsManager/app.config b/HOK.BetaToolsManager/HOK.BetaToolsManager/app.config deleted file mode 100644 index d02ef06e..00000000 --- a/HOK.BetaToolsManager/HOK.BetaToolsManager/app.config +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - diff --git a/HOK.BetaToolsManager/HOK.BetaToolsManager/packages.config b/HOK.BetaToolsManager/HOK.BetaToolsManager/packages.config deleted file mode 100644 index df68b95a..00000000 --- a/HOK.BetaToolsManager/HOK.BetaToolsManager/packages.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/HOK.BetaToolsManager/README.md b/HOK.BetaToolsManager/README.md deleted file mode 100644 index 2c631d6c..00000000 --- a/HOK.BetaToolsManager/README.md +++ /dev/null @@ -1,38 +0,0 @@ -# HOK Beta Addin Manager - -#### This tool dynamically generates Ribbon Tab items based on user selection. - -###### Release 2018.0.0.8 - -* Small bug fix where the same panel was getting added twice and it was failing. - -###### Release 2018.0.0.7 - -* Bug fix where ResourceDictionary was causing exceptions because of duplicate keys. It appears that it resurfaced again. This time I have removed the Window.Resources all together and used in-line resources for the grid. There is no way that they are duplicated keys across these resources. -* Added Feedback button tool. -* Added margins around the icons. -* Moved the Auto update checkbox. -* Added status bar to display messages to user if something fails. -* Implemented asynch addin logging. - -###### Release 2018.0.0.6 - -* Bug fix where ResourceDictionary was causing exceptions because of duplicate keys. -* Fixed Release_2016 configuration. - -###### Release 2018.0.0.3 - -* Bug fix where reading assembly file would cause the dll to be loaded into app domain and lock the file on sysvol. That in turn causes inability for me to swap the files etc. - -###### Release 2018.0.0.2 - -* Since Mission Control tool has things that subscribe to events, and dockable panels, it requires to be properly loaded in on startup -to not crash. To accomodate that all new installed tools, are disabled, until user restarts Revit. -* Added new "sysvol" based location for the beta tools to speed up the process of mirroring. -* Beta installer will also now compare the contents of the current temp directory against what is installed in the user addins directory to identify any `HOK.` plugins that might be discontinued and delete them. -* Minor UI fixes. - -###### Release 2018.0.0.1 - -* Total revamp of what Jinsol was doing. It's now using class attributes to extract all required information from each beta DLL -in order to generate the ribbon items and populate WPF UI. diff --git a/HOK.Core/HOK.Core.sln b/HOK.Core/HOK.Core.sln index c60818d4..993fff5c 100644 --- a/HOK.Core/HOK.Core.sln +++ b/HOK.Core/HOK.Core.sln @@ -1,41 +1,55 @@ - Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.26403.7 +# Visual Studio Version 17 +VisualStudioVersion = 17.10.35013.160 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HOK.Core", "HOK.Core\HOK.Core.csproj", "{A57DF876-56B5-4F48-87D6-7006CFA68FC6}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HOK.Core", "HOK.Core\HOK.Core.csproj", "{A57DF876-56B5-4F48-87D6-7006CFA68FC6}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution - 2018|x64 = 2018|x64 - 2019|x64 = 2019|x64 - 2020|x64 = 2020|x64 - 2021|x64 = 2021|x64 - 2022|x64 = 2022|x64 - 2023|x64 = 2023|x64 - 2024|x64 = 2024|x64 - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 + Debug R19|x64 = Debug R19|x64 + Debug R20|x64 = Debug R20|x64 + Debug R21|x64 = Debug R21|x64 + Debug R22|x64 = Debug R22|x64 + Debug R23|x64 = Debug R23|x64 + Debug R24|x64 = Debug R24|x64 + Debug R25|x64 = Debug R25|x64 + Release R19|x64 = Release R19|x64 + Release R20|x64 = Release R20|x64 + Release R21|x64 = Release R21|x64 + Release R22|x64 = Release R22|x64 + Release R23|x64 = Release R23|x64 + Release R24|x64 = Release R24|x64 + Release R25|x64 = Release R25|x64 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.2018|x64.ActiveCfg = 2018|x64 - {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.2018|x64.Build.0 = 2018|x64 - {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.2019|x64.ActiveCfg = 2019|x64 - {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.2019|x64.Build.0 = 2019|x64 - {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.2020|x64.ActiveCfg = 2020|x64 - {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.2020|x64.Build.0 = 2020|x64 - {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.2021|x64.ActiveCfg = 2021|x64 - {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.2021|x64.Build.0 = 2021|x64 - {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.2022|x64.ActiveCfg = 2022|x64 - {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.2022|x64.Build.0 = 2022|x64 - {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.2023|x64.ActiveCfg = 2023|x64 - {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.2023|x64.Build.0 = 2023|x64 - {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.2024|x64.ActiveCfg = 2024|x64 - {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.2024|x64.Build.0 = 2024|x64 - {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.Debug|x64.ActiveCfg = Debug|x64 - {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.Debug|x64.Build.0 = Debug|x64 - {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.Release|x64.ActiveCfg = Release|x64 - {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.Release|x64.Build.0 = Release|x64 + {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.Debug R19|x64.ActiveCfg = Debug R19|x64 + {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.Debug R19|x64.Build.0 = Debug R19|x64 + {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.Debug R20|x64.ActiveCfg = Debug R20|x64 + {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.Debug R20|x64.Build.0 = Debug R20|x64 + {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.Debug R21|x64.ActiveCfg = Debug R21|x64 + {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.Debug R21|x64.Build.0 = Debug R21|x64 + {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.Debug R22|x64.ActiveCfg = Debug R22|x64 + {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.Debug R22|x64.Build.0 = Debug R22|x64 + {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.Debug R23|x64.ActiveCfg = Debug R23|x64 + {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.Debug R23|x64.Build.0 = Debug R23|x64 + {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.Debug R24|x64.ActiveCfg = Debug R24|x64 + {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.Debug R24|x64.Build.0 = Debug R24|x64 + {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.Debug R25|x64.ActiveCfg = Debug R25|x64 + {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.Debug R25|x64.Build.0 = Debug R25|x64 + {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.Release R19|x64.ActiveCfg = Release R19|x64 + {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.Release R19|x64.Build.0 = Release R19|x64 + {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.Release R20|x64.ActiveCfg = Release R20|x64 + {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.Release R20|x64.Build.0 = Release R20|x64 + {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.Release R21|x64.ActiveCfg = Release R21|x64 + {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.Release R21|x64.Build.0 = Release R21|x64 + {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.Release R22|x64.ActiveCfg = Release R22|x64 + {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.Release R22|x64.Build.0 = Release R22|x64 + {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.Release R23|x64.ActiveCfg = Release R23|x64 + {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.Release R23|x64.Build.0 = Release R23|x64 + {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.Release R24|x64.ActiveCfg = Release R24|x64 + {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.Release R24|x64.Build.0 = Release R24|x64 + {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.Release R25|x64.ActiveCfg = Release R25|x64 + {A57DF876-56B5-4F48-87D6-7006CFA68FC6}.Release R25|x64.Build.0 = Release R25|x64 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/HOK.Core/HOK.Core/ElementWrapers/CadLinkTypeWrapper.cs b/HOK.Core/HOK.Core/ElementWrappers/CadLinkTypeWrapper.cs similarity index 100% rename from HOK.Core/HOK.Core/ElementWrapers/CadLinkTypeWrapper.cs rename to HOK.Core/HOK.Core/ElementWrappers/CadLinkTypeWrapper.cs diff --git a/HOK.Core/HOK.Core/ElementWrapers/CategoryWrapper.cs b/HOK.Core/HOK.Core/ElementWrappers/CategoryWrapper.cs similarity index 100% rename from HOK.Core/HOK.Core/ElementWrapers/CategoryWrapper.cs rename to HOK.Core/HOK.Core/ElementWrappers/CategoryWrapper.cs diff --git a/HOK.Core/HOK.Core/ElementWrapers/ImageTypeWrapper.cs b/HOK.Core/HOK.Core/ElementWrappers/ImageTypeWrapper.cs similarity index 100% rename from HOK.Core/HOK.Core/ElementWrapers/ImageTypeWrapper.cs rename to HOK.Core/HOK.Core/ElementWrappers/ImageTypeWrapper.cs diff --git a/HOK.Core/HOK.Core/HOK.Core.csproj b/HOK.Core/HOK.Core/HOK.Core.csproj index 02a1f92f..9e43e186 100644 --- a/HOK.Core/HOK.Core/HOK.Core.csproj +++ b/HOK.Core/HOK.Core/HOK.Core.csproj @@ -1,215 +1,93 @@ - - - + + - Debug - x64 - {A57DF876-56B5-4F48-87D6-7006CFA68FC6} - Library - Properties - HOK.Core - HOK.Core - 512 - - - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - 2023 - v4.8 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - 2023 - v4.8 - - - true - bin\2018\ - DEBUG;TRACE - full + true + latest + net8.0-windows x64 - prompt - MinimumRecommendedRules.ruleset - 2018 - v4.5.2 + AnyCPU;x64 + true + disable + true + Debug R19; Debug R20;Debug R21;Debug R22;Debug R23;Debug R24;Debug R25 + $(Configurations);Release R19; Release R20;Release R21;Release R22;Release R23;Release R24;Release R25 + HOK Revit Add-ins + HOK Group + Copyright © HOK Group 2024 + https://github.com/HOKGroup/HOK-Revit-Addins + https://github.com/HOKGroup/HOK-Revit-Addins + 0.1.0.24 - - true - bin\2019\ - DEBUG;TRACE - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2019 - v4.7.1 + + + 2019 + net471 - - true - bin\2020\ - DEBUG;TRACE - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2020 - v4.7.2 + + 2020 + net472 - - true - DEBUG;TRACE - full - bin\2021\ - x64 - prompt - MinimumRecommendedRules.ruleset - 2021 - v4.8 + + 2021 + net48 - - true - DEBUG;TRACE - full - bin\2022\ - x64 - prompt - MinimumRecommendedRules.ruleset - 2022 - v4.8 + + 2022 + net48 - - true - DEBUG;TRACE - full - bin\2023\ - x64 - prompt - MinimumRecommendedRules.ruleset - 2023 - v4.8 + + 2023 + net48 - - true - DEBUG;TRACE;RELEASE2024 - full - bin\2024\ - x64 - prompt - MinimumRecommendedRules.ruleset - 2024 - v4.8 + + 2024 + net48 + + 2025 + net8.0-windows + + - - ..\packages\MvvmLightLibs.5.3.0.0\lib\net45\GalaSoft.MvvmLight.dll - - - ..\packages\CommonServiceLocator.1.3\lib\portable-net4+sl5+netcore45+wpa81+wp8\Microsoft.Practices.ServiceLocation.dll - - - ..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll - + + + + + - - C:\Program Files\Autodesk\Revit $(RevitVersion)\RevitAPI.dll - $(HOKDepsDirectory)\HOK Addins Deps\Revit\$(RevitVersion)\RevitAPI.dll - False - - - C:\Program Files\Autodesk\Revit $(RevitVersion)\RevitAPIUI.dll - $(HOKDepsDirectory)\HOK Addins Deps\Revit\$(RevitVersion)\RevitAPIUI.dll - False - - - - - - - - ..\packages\MvvmLightLibs.5.3.0.0\lib\net45\System.Windows.Interactivity.dll - True - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - + + + + + + - - + + + + + + + - - + "powershell.exe" '$(ProjectDir)..\..\_postBuild\codeSigning.ps1' $(TargetPath) - - - - - - - - - \ No newline at end of file + + diff --git a/HOK.Core/HOK.Core/Properties/AssemblyInfo.cs b/HOK.Core/HOK.Core/Properties/AssemblyInfo.cs deleted file mode 100644 index f8d3cbfd..00000000 --- a/HOK.Core/HOK.Core/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System.Reflection; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("HOK.Core")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("HOK Group")] -[assembly: AssemblyProduct("HOK.Core")] -[assembly: AssemblyCopyright("Copyright © HOK Group 2021")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("a57df876-56b5-4f48-87d6-7006cfa68fc6")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -[assembly: AssemblyVersion("2024.1.0.22")] -[assembly: AssemblyFileVersion("2024.1.0.22")] diff --git a/HOK.Core/HOK.Core/Utilities/Button.cs b/HOK.Core/HOK.Core/Utilities/Button.cs index 1602f5d4..7faeaa51 100644 --- a/HOK.Core/HOK.Core/Utilities/Button.cs +++ b/HOK.Core/HOK.Core/Utilities/Button.cs @@ -1,5 +1,4 @@ -using System; -using System.Drawing; +using System.Drawing; using System.Reflection; using System.Windows; using System.Windows.Interop; diff --git a/HOK.Core/HOK.Core/Utilities/CommandAttributes.cs b/HOK.Core/HOK.Core/Utilities/CommandAttributes.cs index ea4e3717..d366dffa 100644 --- a/HOK.Core/HOK.Core/Utilities/CommandAttributes.cs +++ b/HOK.Core/HOK.Core/Utilities/CommandAttributes.cs @@ -1,5 +1,4 @@ -using System; -using System.Reflection; +using System.Reflection; namespace HOK.Core.Utilities { diff --git a/HOK.Core/HOK.Core/Utilities/ElementIdExtension.cs b/HOK.Core/HOK.Core/Utilities/ElementIdExtension.cs index e3946d5a..4b63db6e 100644 --- a/HOK.Core/HOK.Core/Utilities/ElementIdExtension.cs +++ b/HOK.Core/HOK.Core/Utilities/ElementIdExtension.cs @@ -1,12 +1,11 @@ -using System; -using Autodesk.Revit.DB; +using Autodesk.Revit.DB; namespace HOK.Core.Utilities { public static class ElementIdExtension { -#if RELEASE2024 +#if REVIT2024_OR_GREATER public static long GetElementIdValue(ElementId id) { return id.Value; diff --git a/HOK.Core/HOK.Core/Utilities/Json.cs b/HOK.Core/HOK.Core/Utilities/Json.cs index a5f58f1b..d8a07c49 100644 --- a/HOK.Core/HOK.Core/Utilities/Json.cs +++ b/HOK.Core/HOK.Core/Utilities/Json.cs @@ -1,5 +1,4 @@ -using System; -using Newtonsoft.Json; +using Newtonsoft.Json; namespace HOK.Core.Utilities { diff --git a/HOK.Core/HOK.Core/Utilities/Log.cs b/HOK.Core/HOK.Core/Utilities/Log.cs index 1ef187e6..0800a2af 100644 --- a/HOK.Core/HOK.Core/Utilities/Log.cs +++ b/HOK.Core/HOK.Core/Utilities/Log.cs @@ -1,7 +1,6 @@ -using System; -using System.Diagnostics; -using System.IO; +using System.Diagnostics; using System.Text; +using System.IO; namespace HOK.Core.Utilities { diff --git a/HOK.Core/HOK.Core/Utilities/RevitDocument.cs b/HOK.Core/HOK.Core/Utilities/RevitDocument.cs index 64f7a2ee..705947ec 100644 --- a/HOK.Core/HOK.Core/Utilities/RevitDocument.cs +++ b/HOK.Core/HOK.Core/Utilities/RevitDocument.cs @@ -1,5 +1,4 @@ -using System; -using Autodesk.Revit.DB; +using Autodesk.Revit.DB; namespace HOK.Core.Utilities { diff --git a/HOK.Core/HOK.Core/Utilities/StringUtilities.cs b/HOK.Core/HOK.Core/Utilities/StringUtilities.cs index a73e4138..44bee823 100644 --- a/HOK.Core/HOK.Core/Utilities/StringUtilities.cs +++ b/HOK.Core/HOK.Core/Utilities/StringUtilities.cs @@ -1,6 +1,4 @@ -using System; - -namespace HOK.Core.Utilities +namespace HOK.Core.Utilities { public static class StringUtilities { diff --git a/HOK.Core/HOK.Core/WpfUtilities/BooleanConverter.cs b/HOK.Core/HOK.Core/WpfUtilities/BooleanConverter.cs index 1a1b59e6..3b28eca1 100644 --- a/HOK.Core/HOK.Core/WpfUtilities/BooleanConverter.cs +++ b/HOK.Core/HOK.Core/WpfUtilities/BooleanConverter.cs @@ -1,5 +1,4 @@ -using System; -using System.Windows.Data; +using System.Windows.Data; namespace HOK.Core.WpfUtilities { diff --git a/HOK.Core/HOK.Core/WpfUtilities/Converters.cs b/HOK.Core/HOK.Core/WpfUtilities/Converters.cs index 996fbe82..69c89dfa 100644 --- a/HOK.Core/HOK.Core/WpfUtilities/Converters.cs +++ b/HOK.Core/HOK.Core/WpfUtilities/Converters.cs @@ -1,5 +1,4 @@ -using System; -using System.Globalization; +using System.Globalization; using System.IO; using System.Windows; using System.Windows.Data; @@ -11,8 +10,8 @@ public class ColorToBrushConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { - if (value == null) return new SolidColorBrush(Color.FromRgb(255, 255, 255)); - var c = (Color)value; + if (value == null) return new SolidColorBrush(System.Windows.Media.Color.FromRgb(255, 255, 255)); + var c = (System.Windows.Media.Color)value; return new SolidColorBrush(c); } @@ -28,14 +27,14 @@ public object Convert(object value, Type targetType, object parameter, CultureIn { if (value is bool && (bool)value) { - return Visibility.Visible; + return System.Windows.Visibility.Visible; } - return Visibility.Collapsed; + return System.Windows.Visibility.Collapsed; } public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) { - return value is Visibility && (Visibility)value == Visibility.Visible; + return value is System.Windows.Visibility && (System.Windows.Visibility)value == System.Windows.Visibility.Visible; } } diff --git a/HOK.Core/HOK.Core/WpfUtilities/EventToCommand.cs b/HOK.Core/HOK.Core/WpfUtilities/EventToCommand.cs deleted file mode 100644 index 62867952..00000000 --- a/HOK.Core/HOK.Core/WpfUtilities/EventToCommand.cs +++ /dev/null @@ -1,430 +0,0 @@ -// **************************************************************************** -// -// Copyright © GalaSoft Laurent Bugnion 2009-2016 -// -// **************************************************************************** -// Laurent Bugnion -// laurent@galasoft.ch -// 3.11.2009 -// GalaSoft.MvvmLight.Extras -// http://www.mvvmlight.net -// -// See license.txt in this solution or http://www.galasoft.ch/license_MIT.txt -// -// **************************************************************************** - -using System; -using System.Windows; -using System.Windows.Input; -using System.Windows.Interactivity; - -#if SILVERLIGHT -using System.Windows.Controls; -#endif - -////using GalaSoft.Utilities.Attributes; - -namespace GalaSoft.MvvmLight.Command -{ - /// - /// This can be - /// used to bind any event on any FrameworkElement to an . - /// Typically, this element is used in XAML to connect the attached element - /// to a command located in a ViewModel. This trigger can only be attached - /// to a FrameworkElement or a class deriving from FrameworkElement. - /// To access the EventArgs of the fired event, use a RelayCommand<EventArgs> - /// and leave the CommandParameter and CommandParameterValue empty! - /// - ////[ClassInfo(typeof(EventToCommand), - //// VersionString = "5.2.8", - //// DateString = "201504252130", - //// Description = "A Trigger used to bind any event to an ICommand.", - //// UrlContacts = "http://www.galasoft.ch/contact_en.html", - //// Email = "laurent@galasoft.ch")] - public class EventToCommand : TriggerAction - { - /// - /// Identifies the dependency property - /// - public static readonly DependencyProperty CommandParameterProperty = DependencyProperty.Register( - "CommandParameter", - typeof(object), - typeof(EventToCommand), - new PropertyMetadata( - null, - (s, e) => - { - var sender = s as EventToCommand; - if (sender == null) - { - return; - } - - if (sender.AssociatedObject == null) - { - return; - } - - sender.EnableDisableElement(); - })); - - /// - /// Identifies the dependency property - /// - public static readonly DependencyProperty CommandProperty = DependencyProperty.Register( - "Command", - typeof(ICommand), - typeof(EventToCommand), - new PropertyMetadata( - null, - (s, e) => OnCommandChanged(s as EventToCommand, e))); - - /// - /// Identifies the dependency property - /// - public static readonly DependencyProperty MustToggleIsEnabledProperty = DependencyProperty.Register( - "MustToggleIsEnabled", - typeof(bool), - typeof(EventToCommand), - new PropertyMetadata( - false, - (s, e) => - { - var sender = s as EventToCommand; - if (sender == null) - { - return; - } - - if (sender.AssociatedObject == null) - { - return; - } - - sender.EnableDisableElement(); - })); - - private object _commandParameterValue; - - private bool? _mustToggleValue; - - /// - /// Gets or sets the ICommand that this trigger is bound to. This - /// is a DependencyProperty. - /// - public ICommand Command - { - get - { - return (ICommand)GetValue(CommandProperty); - } - - set - { - SetValue(CommandProperty, value); - } - } - - /// - /// Gets or sets an object that will be passed to the - /// attached to this trigger. This is a DependencyProperty. - /// - public object CommandParameter - { - get - { - return GetValue(CommandParameterProperty); - } - - set - { - SetValue(CommandParameterProperty, value); - } - } - - /// - /// Gets or sets an object that will be passed to the - /// attached to this trigger. This property is here for compatibility - /// with the Silverlight version. This is NOT a DependencyProperty. - /// For databinding, use the property. - /// - public object CommandParameterValue - { - get - { - return _commandParameterValue ?? CommandParameter; - } - - set - { - _commandParameterValue = value; - EnableDisableElement(); - } - } - - /// - /// Gets or sets a value indicating whether the attached element must be - /// disabled when the property's CanExecuteChanged - /// event fires. If this property is true, and the command's CanExecute - /// method returns false, the element will be disabled. If this property - /// is false, the element will not be disabled when the command's - /// CanExecute method changes. This is a DependencyProperty. - /// - public bool MustToggleIsEnabled - { - get - { - return (bool)GetValue(MustToggleIsEnabledProperty); - } - - set - { - SetValue(MustToggleIsEnabledProperty, value); - } - } - - /// - /// Gets or sets a value indicating whether the attached element must be - /// disabled when the property's CanExecuteChanged - /// event fires. If this property is true, and the command's CanExecute - /// method returns false, the element will be disabled. This property is here for - /// compatibility with the Silverlight version. This is NOT a DependencyProperty. - /// For databinding, use the property. - /// - public bool MustToggleIsEnabledValue - { - get - { - return _mustToggleValue == null - ? MustToggleIsEnabled - : _mustToggleValue.Value; - } - - set - { - _mustToggleValue = value; - EnableDisableElement(); - } - } - - /// - /// Called when this trigger is attached to a FrameworkElement. - /// - protected override void OnAttached() - { - base.OnAttached(); - EnableDisableElement(); - } - -#if SILVERLIGHT - private Control GetAssociatedObject() - { - return AssociatedObject as Control; - } -#else - /// - /// This method is here for compatibility - /// with the Silverlight version. - /// - /// The FrameworkElement to which this trigger - /// is attached. - private FrameworkElement GetAssociatedObject() - { - return AssociatedObject as FrameworkElement; - } -#endif - - /// - /// This method is here for compatibility - /// with the Silverlight 3 version. - /// - /// The command that must be executed when - /// this trigger is invoked. - private ICommand GetCommand() - { - return Command; - } - - /// - /// Specifies whether the EventArgs of the event that triggered this - /// action should be passed to the bound RelayCommand. If this is true, - /// the command should accept arguments of the corresponding - /// type (for example RelayCommand<MouseButtonEventArgs>). - /// - public bool PassEventArgsToCommand - { - get; - set; - } - - /// - /// Gets or sets a converter used to convert the EventArgs when using - /// . If PassEventArgsToCommand is false, - /// this property is never used. - /// - public IEventArgsConverter EventArgsConverter - { - get; - set; - } - - /// - /// The dependency property's name. - /// - public const string EventArgsConverterParameterPropertyName = "EventArgsConverterParameter"; - - /// - /// Gets or sets a parameters for the converter used to convert the EventArgs when using - /// . If PassEventArgsToCommand is false, - /// this property is never used. This is a dependency property. - /// - public object EventArgsConverterParameter - { - get - { - return GetValue(EventArgsConverterParameterProperty); - } - set - { - SetValue(EventArgsConverterParameterProperty, value); - } - } - - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty EventArgsConverterParameterProperty = DependencyProperty.Register( - EventArgsConverterParameterPropertyName, - typeof(object), - typeof(EventToCommand), - new PropertyMetadata(null)); - - /// - /// The dependency property's name. - /// - public const string AlwaysInvokeCommandPropertyName = "AlwaysInvokeCommand"; - - /// - /// Gets or sets a value indicating if the command should be invoked even - /// if the attached control is disabled. This is a dependency property. - /// - public bool AlwaysInvokeCommand - { - get - { - return (bool)GetValue(AlwaysInvokeCommandProperty); - } - set - { - SetValue(AlwaysInvokeCommandProperty, value); - } - } - - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty AlwaysInvokeCommandProperty = DependencyProperty.Register( - AlwaysInvokeCommandPropertyName, - typeof(bool), - typeof(EventToCommand), - new PropertyMetadata(false)); - - - /// - /// Provides a simple way to invoke this trigger programatically - /// without any EventArgs. - /// - public void Invoke() - { - Invoke(null); - } - - /// - /// Executes the trigger. - /// To access the EventArgs of the fired event, use a RelayCommand<EventArgs> - /// and leave the CommandParameter and CommandParameterValue empty! - /// - /// The EventArgs of the fired event. - protected override void Invoke(object parameter) - { - if (AssociatedElementIsDisabled() - && !AlwaysInvokeCommand) - { - return; - } - - var command = GetCommand(); - var commandParameter = CommandParameterValue; - - if (commandParameter == null - && PassEventArgsToCommand) - { - commandParameter = EventArgsConverter == null - ? parameter - : EventArgsConverter.Convert(parameter, EventArgsConverterParameter); - } - - if (command != null - && command.CanExecute(commandParameter)) - { - command.Execute(commandParameter); - } - } - - private static void OnCommandChanged( - EventToCommand element, - DependencyPropertyChangedEventArgs e) - { - if (element == null) - { - return; - } - - if (e.OldValue != null) - { - ((ICommand)e.OldValue).CanExecuteChanged -= element.OnCommandCanExecuteChanged; - } - - var command = (ICommand)e.NewValue; - - if (command != null) - { - command.CanExecuteChanged += element.OnCommandCanExecuteChanged; - } - - element.EnableDisableElement(); - } - - private bool AssociatedElementIsDisabled() - { - var element = GetAssociatedObject(); - - return AssociatedObject == null - || (element != null - && !element.IsEnabled); - } - - private void EnableDisableElement() - { - var element = GetAssociatedObject(); - - if (element == null) - { - return; - } - - var command = GetCommand(); - - if (MustToggleIsEnabledValue - && command != null) - { - element.IsEnabled = command.CanExecute(CommandParameterValue); - } - } - - private void OnCommandCanExecuteChanged(object sender, EventArgs e) - { - EnableDisableElement(); - } - } -} diff --git a/HOK.Core/HOK.Core/WpfUtilities/IEventArgsConverter.cs b/HOK.Core/HOK.Core/WpfUtilities/IEventArgsConverter.cs deleted file mode 100644 index e102c889..00000000 --- a/HOK.Core/HOK.Core/WpfUtilities/IEventArgsConverter.cs +++ /dev/null @@ -1,39 +0,0 @@ -// **************************************************************************** -// -// Copyright © GalaSoft Laurent Bugnion 2009-2016 -// -// **************************************************************************** -// Laurent Bugnion -// laurent@galasoft.ch -// 18.05.2013 -// GalaSoft.MvvmLight.Extras -// http://www.mvvmlight.net -// -// See license.txt in this solution or http://www.galasoft.ch/license_MIT.txt -// -// **************************************************************************** - -namespace GalaSoft.MvvmLight.Command -{ - /// - /// The definition of the converter used to convert an EventArgs - /// in the class, if the - /// property is true. - /// Set an instance of this class to the - /// property of the EventToCommand instance. - /// - ////[ClassInfo(typeof(EventToCommand))] - public interface IEventArgsConverter - { - /// - /// The method used to convert the EventArgs instance. - /// - /// An instance of EventArgs passed by the - /// event that the EventToCommand instance is handling. - /// An optional parameter used for the conversion. Use - /// the property - /// to set this value. This may be null. - /// The converted value. - object Convert(object value, object parameter); - } -} diff --git a/HOK.Core/HOK.Core/WpfUtilities/ProgressManager.cs b/HOK.Core/HOK.Core/WpfUtilities/ProgressManager.cs index 2e7bcbae..414b744d 100644 --- a/HOK.Core/HOK.Core/WpfUtilities/ProgressManager.cs +++ b/HOK.Core/HOK.Core/WpfUtilities/ProgressManager.cs @@ -33,7 +33,7 @@ public static void InitializeProgress(string statusText, int maximum) { if (null == ProgressBar || null == StatusLabel) return; - ProgressBar.Visibility = Visibility.Visible; + ProgressBar.Visibility = System.Windows.Visibility.Visible; ProgressValue = 0; _updateLabelDelegate = StatusLabel.SetValue; @@ -72,7 +72,7 @@ public static void FinalizeProgress() if (null == ProgressBar || null == StatusLabel) return; ProgressValue = 0; - ProgressBar.Visibility = Visibility.Hidden; + ProgressBar.Visibility = System.Windows.Visibility.Hidden; StatusLabel.Text = "Ready"; } } diff --git a/HOK.Core/HOK.Core/app.config b/HOK.Core/HOK.Core/app.config deleted file mode 100644 index 2fefdd75..00000000 --- a/HOK.Core/HOK.Core/app.config +++ /dev/null @@ -1,23 +0,0 @@ - - - - -
- - - - - - fc396d894a4f27520b8ce85564c5fc2b2a15b88f - - - - - - - - - - - - \ No newline at end of file diff --git a/HOK.Core/HOK.Core/packages.config b/HOK.Core/HOK.Core/packages.config deleted file mode 100644 index 0441b58d..00000000 --- a/HOK.Core/HOK.Core/packages.config +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/HOK.ElementFlatter/HOK.ElementFlatter.sln b/HOK.ElementFlatter/HOK.ElementFlatter.sln new file mode 100644 index 00000000..69d4cf5f --- /dev/null +++ b/HOK.ElementFlatter/HOK.ElementFlatter.sln @@ -0,0 +1,61 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.26403.7 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HOK.ElementFlatter", "HOK.ElementFlatter\HOK.ElementFlatter.csproj", "{CF99570E-6753-44D9-8926-DB4A77CE7BD1}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug R19|x64 = Debug R19|x64 + Debug R20|x64 = Debug R20|x64 + Debug R21|x64 = Debug R21|x64 + Debug R22|x64 = Debug R22|x64 + Debug R23|x64 = Debug R23|x64 + Debug R24|x64 = Debug R24|x64 + Debug R25|x64 = Debug R25|x64 + Release R19|x64 = Release R19|x64 + Release R20|x64 = Release R20|x64 + Release R21|x64 = Release R21|x64 + Release R22|x64 = Release R22|x64 + Release R23|x64 = Release R23|x64 + Release R24|x64 = Release R24|x64 + Release R25|x64 = Release R25|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {CF99570E-6753-44D9-8926-DB4A77CE7BD1}.Debug R19|x64.ActiveCfg = Debug R19|x64 + {CF99570E-6753-44D9-8926-DB4A77CE7BD1}.Debug R19|x64.Build.0 = Debug R19|x64 + {CF99570E-6753-44D9-8926-DB4A77CE7BD1}.Debug R20|x64.ActiveCfg = Debug R20|x64 + {CF99570E-6753-44D9-8926-DB4A77CE7BD1}.Debug R20|x64.Build.0 = Debug R20|x64 + {CF99570E-6753-44D9-8926-DB4A77CE7BD1}.Debug R21|x64.ActiveCfg = Debug R21|x64 + {CF99570E-6753-44D9-8926-DB4A77CE7BD1}.Debug R21|x64.Build.0 = Debug R21|x64 + {CF99570E-6753-44D9-8926-DB4A77CE7BD1}.Debug R22|x64.ActiveCfg = Debug R22|x64 + {CF99570E-6753-44D9-8926-DB4A77CE7BD1}.Debug R22|x64.Build.0 = Debug R22|x64 + {CF99570E-6753-44D9-8926-DB4A77CE7BD1}.Debug R23|x64.ActiveCfg = Debug R23|x64 + {CF99570E-6753-44D9-8926-DB4A77CE7BD1}.Debug R23|x64.Build.0 = Debug R23|x64 + {CF99570E-6753-44D9-8926-DB4A77CE7BD1}.Debug R24|x64.ActiveCfg = Debug R24|x64 + {CF99570E-6753-44D9-8926-DB4A77CE7BD1}.Debug R24|x64.Build.0 = Debug R24|x64 + {CF99570E-6753-44D9-8926-DB4A77CE7BD1}.Debug R25|x64.ActiveCfg = Debug R25|x64 + {CF99570E-6753-44D9-8926-DB4A77CE7BD1}.Debug R25|x64.Build.0 = Debug R25|x64 + {CF99570E-6753-44D9-8926-DB4A77CE7BD1}.Release R19|x64.ActiveCfg = Release R19|x64 + {CF99570E-6753-44D9-8926-DB4A77CE7BD1}.Release R19|x64.Build.0 = Release R19|x64 + {CF99570E-6753-44D9-8926-DB4A77CE7BD1}.Release R20|x64.ActiveCfg = Release R20|x64 + {CF99570E-6753-44D9-8926-DB4A77CE7BD1}.Release R20|x64.Build.0 = Release R20|x64 + {CF99570E-6753-44D9-8926-DB4A77CE7BD1}.Release R21|x64.ActiveCfg = Release R21|x64 + {CF99570E-6753-44D9-8926-DB4A77CE7BD1}.Release R21|x64.Build.0 = Release R21|x64 + {CF99570E-6753-44D9-8926-DB4A77CE7BD1}.Release R22|x64.ActiveCfg = Release R22|x64 + {CF99570E-6753-44D9-8926-DB4A77CE7BD1}.Release R22|x64.Build.0 = Release R22|x64 + {CF99570E-6753-44D9-8926-DB4A77CE7BD1}.Release R23|x64.ActiveCfg = Release R23|x64 + {CF99570E-6753-44D9-8926-DB4A77CE7BD1}.Release R23|x64.Build.0 = Release R23|x64 + {CF99570E-6753-44D9-8926-DB4A77CE7BD1}.Release R24|x64.ActiveCfg = Release R24|x64 + {CF99570E-6753-44D9-8926-DB4A77CE7BD1}.Release R24|x64.Build.0 = Release R24|x64 + {CF99570E-6753-44D9-8926-DB4A77CE7BD1}.Release R25|x64.ActiveCfg = Release R25|x64 + {CF99570E-6753-44D9-8926-DB4A77CE7BD1}.Release R25|x64.Build.0 = Release R25|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {F8AA379A-054B-48D4-9DFD-81451CD52642} + EndGlobalSection +EndGlobal diff --git a/Utility Tools/src/HOK.ElementFlatter/HOK.ElementFlatter/Class/CategoryInfo.cs b/HOK.ElementFlatter/HOK.ElementFlatter/Class/CategoryInfo.cs similarity index 98% rename from Utility Tools/src/HOK.ElementFlatter/HOK.ElementFlatter/Class/CategoryInfo.cs rename to HOK.ElementFlatter/HOK.ElementFlatter/Class/CategoryInfo.cs index d54544fc..963aed58 100644 --- a/Utility Tools/src/HOK.ElementFlatter/HOK.ElementFlatter/Class/CategoryInfo.cs +++ b/HOK.ElementFlatter/HOK.ElementFlatter/Class/CategoryInfo.cs @@ -26,7 +26,7 @@ public CategoryInfo(Category category) { Name = category.Name; CategoryId = category.Id; -#if RELEASE2024 +#if REVIT2024_OR_GREATER BltCategory = (BuiltInCategory)CategoryId.Value; #else BltCategory = (BuiltInCategory)CategoryId.IntegerValue; diff --git a/Utility Tools/src/HOK.ElementFlatter/HOK.ElementFlatter/Class/DirectShapeInfo.cs b/HOK.ElementFlatter/HOK.ElementFlatter/Class/DirectShapeInfo.cs similarity index 100% rename from Utility Tools/src/HOK.ElementFlatter/HOK.ElementFlatter/Class/DirectShapeInfo.cs rename to HOK.ElementFlatter/HOK.ElementFlatter/Class/DirectShapeInfo.cs diff --git a/Utility Tools/src/HOK.ElementFlatter/HOK.ElementFlatter/Class/FailureHandler.cs b/HOK.ElementFlatter/HOK.ElementFlatter/Class/FailureHandler.cs similarity index 100% rename from Utility Tools/src/HOK.ElementFlatter/HOK.ElementFlatter/Class/FailureHandler.cs rename to HOK.ElementFlatter/HOK.ElementFlatter/Class/FailureHandler.cs diff --git a/Utility Tools/src/HOK.ElementFlatter/HOK.ElementFlatter/Command.cs b/HOK.ElementFlatter/HOK.ElementFlatter/Command.cs similarity index 80% rename from Utility Tools/src/HOK.ElementFlatter/HOK.ElementFlatter/Command.cs rename to HOK.ElementFlatter/HOK.ElementFlatter/Command.cs index 0a0ece03..aafe61fd 100644 --- a/Utility Tools/src/HOK.ElementFlatter/HOK.ElementFlatter/Command.cs +++ b/HOK.ElementFlatter/HOK.ElementFlatter/Command.cs @@ -4,17 +4,18 @@ using HOK.Core.Utilities; using HOK.MissionControl.Core.Schemas; using HOK.MissionControl.Core.Utils; +using Nice3point.Revit.Toolkit.External; namespace HOK.ElementFlatter { [Transaction(TransactionMode.Manual)] - public class Command : IExternalCommand + public class Command : ExternalCommand { private UIApplication m_app; - public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements) + public override void Execute() { - m_app = commandData.Application; + m_app = Context.UiApplication; Log.AppendLog(LogMessageType.INFO, "Started."); // (Konrad) We are gathering information about the addin use. This allows us to @@ -30,7 +31,6 @@ public Result Execute(ExternalCommandData commandData, ref string message, Eleme cmdWindow.ShowDialog(); Log.AppendLog(LogMessageType.INFO, "Ended."); - return Result.Succeeded; } } } diff --git a/Utility Tools/src/HOK.ElementFlatter/HOK.ElementFlatter/CommandViewModel.cs b/HOK.ElementFlatter/HOK.ElementFlatter/CommandViewModel.cs similarity index 97% rename from Utility Tools/src/HOK.ElementFlatter/HOK.ElementFlatter/CommandViewModel.cs rename to HOK.ElementFlatter/HOK.ElementFlatter/CommandViewModel.cs index 1ca2eeba..095e1315 100644 --- a/Utility Tools/src/HOK.ElementFlatter/HOK.ElementFlatter/CommandViewModel.cs +++ b/HOK.ElementFlatter/HOK.ElementFlatter/CommandViewModel.cs @@ -10,6 +10,7 @@ using HOK.Core.WpfUtilities; using HOK.ElementFlatter.Class; using HOK.ElementFlatter.Commands; +using RelayCommand = CommunityToolkit.Mvvm.Input.RelayCommand; namespace HOK.ElementFlatter { @@ -78,7 +79,7 @@ public void CollectModelCategories() { try { -#if RELEASE2024 +#if REVIT2024_OR_GREATER var bltCat = (BuiltInCategory)id.Value; #else var bltCat = (BuiltInCategory)id.IntegerValue; @@ -181,7 +182,7 @@ private void Flatten(IEnumerable cats) /// Flatten only selected Categories. ///
/// - public void FlattenCategoryExecuted(object param) + public void FlattenCategoryExecuted() { try { @@ -200,7 +201,7 @@ public void FlattenCategoryExecuted(object param) /// Flattens entire model. ///
/// - public void FlattenModelExecuted(object param) + public void FlattenModelExecuted() { try { @@ -216,7 +217,7 @@ public void FlattenModelExecuted(object param) /// Check all Categories. /// /// - public void CheckAllExecuted(object param) + public void CheckAllExecuted() { try { @@ -235,7 +236,7 @@ public void CheckAllExecuted(object param) /// Uncheck all Categories. /// /// - public void UncheckAllExecuted(object param) + public void UncheckAllExecuted() { try { diff --git a/Utility Tools/src/HOK.ElementFlatter/HOK.ElementFlatter/CommandWindow.xaml b/HOK.ElementFlatter/HOK.ElementFlatter/CommandWindow.xaml similarity index 100% rename from Utility Tools/src/HOK.ElementFlatter/HOK.ElementFlatter/CommandWindow.xaml rename to HOK.ElementFlatter/HOK.ElementFlatter/CommandWindow.xaml diff --git a/Utility Tools/src/HOK.ElementFlatter/HOK.ElementFlatter/CommandWindow.xaml.cs b/HOK.ElementFlatter/HOK.ElementFlatter/CommandWindow.xaml.cs similarity index 100% rename from Utility Tools/src/HOK.ElementFlatter/HOK.ElementFlatter/CommandWindow.xaml.cs rename to HOK.ElementFlatter/HOK.ElementFlatter/CommandWindow.xaml.cs diff --git a/Utility Tools/src/HOK.ElementFlatter/HOK.ElementFlatter/Commands/DirectShapeCreator.cs b/HOK.ElementFlatter/HOK.ElementFlatter/Commands/DirectShapeCreator.cs similarity index 100% rename from Utility Tools/src/HOK.ElementFlatter/HOK.ElementFlatter/Commands/DirectShapeCreator.cs rename to HOK.ElementFlatter/HOK.ElementFlatter/Commands/DirectShapeCreator.cs diff --git a/HOK.ElementFlatter/HOK.ElementFlatter/HOK.ElementFlatter.csproj b/HOK.ElementFlatter/HOK.ElementFlatter/HOK.ElementFlatter.csproj new file mode 100644 index 00000000..d42dc4c6 --- /dev/null +++ b/HOK.ElementFlatter/HOK.ElementFlatter/HOK.ElementFlatter.csproj @@ -0,0 +1,113 @@ + + + + true + latest + net8.0-windows + x64 + AnyCPU;x64 + true + disable + true + en-US + Debug R19; Debug R20;Debug R21;Debug R22;Debug R23;Debug R24;Debug R25 + $(Configurations);Release R19; Release R20;Release R21;Release R22;Release R23;Release R24;Release R25 + x64 + HOK Revit Add-ins + HOK Group + Copyright © HOK Group 2024 + https://github.com/HOKGroup/HOK-Revit-Addins + https://github.com/HOKGroup/HOK-Revit-Addins + 0.1.0.24 + + + + 2019 + net471 + + + 2020 + net472 + + + 2021 + net48 + + + 2022 + net48 + + + 2023 + net48 + + + 2024 + net48 + + + 2025 + net8.0-windows + + + + + $(SOURCE_DIR)\_artifacts\$(RevitVersion)\HOK.Core.dll + ..\..\HOK.Core\HOK.Core\bin\x64\$(Configuration)\HOK.Core.dll + + + $(SOURCE_DIR)\_artifacts\$(RevitVersion)\HOK.MissionControl.Core.dll + ..\..\HOK.MissionControl\HOK.MissionControl.Core\bin\x64\$(Configuration)\HOK.MissionControl.Core.dll + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + "powershell.exe" '$(ProjectDir)..\..\_postBuild\codeSigning.ps1' $(TargetPath) + + + + + diff --git a/Utility Tools/src/HOK.ElementFlatter/HOK.ElementFlatter/Images/category.png b/HOK.ElementFlatter/HOK.ElementFlatter/Images/category.png similarity index 100% rename from Utility Tools/src/HOK.ElementFlatter/HOK.ElementFlatter/Images/category.png rename to HOK.ElementFlatter/HOK.ElementFlatter/Images/category.png diff --git a/Mass Tools/src/HOK.RoomsToMass_DirectShape/HOK.RoomsToMass/ToMass/Images/checkbox_no.png b/HOK.ElementFlatter/HOK.ElementFlatter/Images/checkbox_no.png similarity index 100% rename from Mass Tools/src/HOK.RoomsToMass_DirectShape/HOK.RoomsToMass/ToMass/Images/checkbox_no.png rename to HOK.ElementFlatter/HOK.ElementFlatter/Images/checkbox_no.png diff --git a/Mass Tools/src/HOK.RoomsToMass_DirectShape/HOK.RoomsToMass/ToMass/Images/checkbox_yes.png b/HOK.ElementFlatter/HOK.ElementFlatter/Images/checkbox_yes.png similarity index 100% rename from Mass Tools/src/HOK.RoomsToMass_DirectShape/HOK.RoomsToMass/ToMass/Images/checkbox_yes.png rename to HOK.ElementFlatter/HOK.ElementFlatter/Images/checkbox_yes.png diff --git a/Utility Tools/src/HOK.ElementFlatter/HOK.ElementFlatter/Images/create.png b/HOK.ElementFlatter/HOK.ElementFlatter/Images/create.png similarity index 100% rename from Utility Tools/src/HOK.ElementFlatter/HOK.ElementFlatter/Images/create.png rename to HOK.ElementFlatter/HOK.ElementFlatter/Images/create.png diff --git a/AVF Manager/src/HOK.ViewAnalysis/HOK.ViewAnalysis/Resources/hoklogo.ico b/HOK.ElementFlatter/HOK.ElementFlatter/Images/hoklogo.ico similarity index 100% rename from AVF Manager/src/HOK.ViewAnalysis/HOK.ViewAnalysis/Resources/hoklogo.ico rename to HOK.ElementFlatter/HOK.ElementFlatter/Images/hoklogo.ico diff --git a/Utility Tools/src/HOK.ElementFlatter/HOK.ElementFlatter/Properties/Resources.Designer.cs b/HOK.ElementFlatter/HOK.ElementFlatter/Properties/Resources.Designer.cs similarity index 100% rename from Utility Tools/src/HOK.ElementFlatter/HOK.ElementFlatter/Properties/Resources.Designer.cs rename to HOK.ElementFlatter/HOK.ElementFlatter/Properties/Resources.Designer.cs diff --git a/Mass Tools/src/HOK.RoomsToMass_DirectShape/HOK.RoomsToMass/Properties/Resources.resx b/HOK.ElementFlatter/HOK.ElementFlatter/Properties/Resources.resx similarity index 100% rename from Mass Tools/src/HOK.RoomsToMass_DirectShape/HOK.RoomsToMass/Properties/Resources.resx rename to HOK.ElementFlatter/HOK.ElementFlatter/Properties/Resources.resx diff --git a/Utility Tools/src/HOK.ElementFlatter/HOK.ElementFlatter/Resources/elementFlattener_32.png b/HOK.ElementFlatter/HOK.ElementFlatter/Resources/elementFlattener_32.png similarity index 100% rename from Utility Tools/src/HOK.ElementFlatter/HOK.ElementFlatter/Resources/elementFlattener_32.png rename to HOK.ElementFlatter/HOK.ElementFlatter/Resources/elementFlattener_32.png diff --git a/HOK.ElementMover/HOK.ElementMover.sln b/HOK.ElementMover/HOK.ElementMover.sln new file mode 100644 index 00000000..465522b3 --- /dev/null +++ b/HOK.ElementMover/HOK.ElementMover.sln @@ -0,0 +1,60 @@ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.11.35312.102 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HOK.ElementMover", "HOK.ElementMover\HOK.ElementMover.csproj", "{25D25B28-451B-4933-AED8-11275AE2E5E5}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug R19|x64 = Debug R19|x64 + Debug R20|x64 = Debug R20|x64 + Debug R21|x64 = Debug R21|x64 + Debug R22|x64 = Debug R22|x64 + Debug R23|x64 = Debug R23|x64 + Debug R24|x64 = Debug R24|x64 + Debug R25|x64 = Debug R25|x64 + Release R19|x64 = Release R19|x64 + Release R20|x64 = Release R20|x64 + Release R21|x64 = Release R21|x64 + Release R22|x64 = Release R22|x64 + Release R23|x64 = Release R23|x64 + Release R24|x64 = Release R24|x64 + Release R25|x64 = Release R25|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {25D25B28-451B-4933-AED8-11275AE2E5E5}.Debug R19|x64.ActiveCfg = Debug R19|x64 + {25D25B28-451B-4933-AED8-11275AE2E5E5}.Debug R19|x64.Build.0 = Debug R19|x64 + {25D25B28-451B-4933-AED8-11275AE2E5E5}.Debug R20|x64.ActiveCfg = Debug R20|x64 + {25D25B28-451B-4933-AED8-11275AE2E5E5}.Debug R20|x64.Build.0 = Debug R20|x64 + {25D25B28-451B-4933-AED8-11275AE2E5E5}.Debug R21|x64.ActiveCfg = Debug R21|x64 + {25D25B28-451B-4933-AED8-11275AE2E5E5}.Debug R21|x64.Build.0 = Debug R21|x64 + {25D25B28-451B-4933-AED8-11275AE2E5E5}.Debug R22|x64.ActiveCfg = Debug R22|x64 + {25D25B28-451B-4933-AED8-11275AE2E5E5}.Debug R22|x64.Build.0 = Debug R22|x64 + {25D25B28-451B-4933-AED8-11275AE2E5E5}.Debug R23|x64.ActiveCfg = Debug R23|x64 + {25D25B28-451B-4933-AED8-11275AE2E5E5}.Debug R23|x64.Build.0 = Debug R23|x64 + {25D25B28-451B-4933-AED8-11275AE2E5E5}.Debug R24|x64.ActiveCfg = Debug R24|x64 + {25D25B28-451B-4933-AED8-11275AE2E5E5}.Debug R24|x64.Build.0 = Debug R24|x64 + {25D25B28-451B-4933-AED8-11275AE2E5E5}.Debug R25|x64.ActiveCfg = Debug R25|x64 + {25D25B28-451B-4933-AED8-11275AE2E5E5}.Debug R25|x64.Build.0 = Debug R25|x64 + {25D25B28-451B-4933-AED8-11275AE2E5E5}.Release R19|x64.ActiveCfg = Release R19|x64 + {25D25B28-451B-4933-AED8-11275AE2E5E5}.Release R19|x64.Build.0 = Release R19|x64 + {25D25B28-451B-4933-AED8-11275AE2E5E5}.Release R20|x64.ActiveCfg = Release R20|x64 + {25D25B28-451B-4933-AED8-11275AE2E5E5}.Release R20|x64.Build.0 = Release R20|x64 + {25D25B28-451B-4933-AED8-11275AE2E5E5}.Release R21|x64.ActiveCfg = Release R21|x64 + {25D25B28-451B-4933-AED8-11275AE2E5E5}.Release R21|x64.Build.0 = Release R21|x64 + {25D25B28-451B-4933-AED8-11275AE2E5E5}.Release R22|x64.ActiveCfg = Release R22|x64 + {25D25B28-451B-4933-AED8-11275AE2E5E5}.Release R22|x64.Build.0 = Release R22|x64 + {25D25B28-451B-4933-AED8-11275AE2E5E5}.Release R23|x64.ActiveCfg = Release R23|x64 + {25D25B28-451B-4933-AED8-11275AE2E5E5}.Release R23|x64.Build.0 = Release R23|x64 + {25D25B28-451B-4933-AED8-11275AE2E5E5}.Release R24|x64.ActiveCfg = Release R24|x64 + {25D25B28-451B-4933-AED8-11275AE2E5E5}.Release R24|x64.Build.0 = Release R24|x64 + {25D25B28-451B-4933-AED8-11275AE2E5E5}.Release R25|x64.ActiveCfg = Release R25|x64 + {25D25B28-451B-4933-AED8-11275AE2E5E5}.Release R25|x64.Build.0 = Release R25|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {249AAA4A-44AA-4482-9494-E82EE277FDA7} + EndGlobalSection +EndGlobal diff --git a/Utility Tools/src/HOK.ElementMover/HOK.ElementMover/AppCommand.cs b/HOK.ElementMover/HOK.ElementMover/AppCommand.cs similarity index 94% rename from Utility Tools/src/HOK.ElementMover/HOK.ElementMover/AppCommand.cs rename to HOK.ElementMover/HOK.ElementMover/AppCommand.cs index 2822a7f8..3a55d09e 100644 --- a/Utility Tools/src/HOK.ElementMover/HOK.ElementMover/AppCommand.cs +++ b/HOK.ElementMover/HOK.ElementMover/AppCommand.cs @@ -7,10 +7,12 @@ using Autodesk.Revit.DB; using Autodesk.Revit.UI; using HOK.Core.Utilities; +using Nice3point.Revit.Toolkit.External; + namespace HOK.ElementMover { - public class AppCommand : IExternalApplication + public class AppCommand : ExternalApplication { internal static AppCommand thisApp; private ControlledApplication ctrApp; @@ -18,23 +20,23 @@ public class AppCommand : IExternalApplication private MoverHandler handler; private const string tabName = " HOK "; - public Result OnStartup(UIControlledApplication application) + public override void OnStartup() { thisApp = this; mainWindow = null; - ctrApp = application.ControlledApplication; + ctrApp = Application.ControlledApplication; try { - application.CreateRibbonTab(tabName); + Application.CreateRibbonTab(tabName); } catch (Exception ex) { Log.AppendLog(LogMessageType.EXCEPTION, ex.Message); } - var created = application.GetRibbonPanels(tabName).FirstOrDefault(x => x.Name == "Customizations"); - var panel = created ?? application.CreateRibbonPanel(tabName, "Customizations"); + var created = Application.GetRibbonPanels(tabName).FirstOrDefault(x => x.Name == "Customizations"); + var panel = created ?? Application.CreateRibbonPanel(tabName, "Customizations"); var currentAssembly = Assembly.GetAssembly(GetType()); var moverImage = ButtonUtil.LoadBitmapImage(currentAssembly, typeof(AppCommand).Namespace, "elementMover_32.png"); @@ -54,13 +56,11 @@ public Result OnStartup(UIControlledApplication application) } ctrApp.DocumentChanged += CtrApp_DocumentChanged; - return Result.Succeeded; } - public Result OnShutdown(UIControlledApplication application) + public override void OnShutdown() { ctrApp.DocumentChanged -= CtrApp_DocumentChanged; - return Result.Succeeded; } public void ShowMover(UIApplication uiapp) diff --git a/Utility Tools/src/HOK.ElementMover/HOK.ElementMover/ElementMoverUtil.cs b/HOK.ElementMover/HOK.ElementMover/ElementMoverUtil.cs similarity index 100% rename from Utility Tools/src/HOK.ElementMover/HOK.ElementMover/ElementMoverUtil.cs rename to HOK.ElementMover/HOK.ElementMover/ElementMoverUtil.cs diff --git a/Utility Tools/src/HOK.ElementMover/HOK.ElementMover/FamilyWindow.xaml b/HOK.ElementMover/HOK.ElementMover/FamilyWindow.xaml similarity index 100% rename from Utility Tools/src/HOK.ElementMover/HOK.ElementMover/FamilyWindow.xaml rename to HOK.ElementMover/HOK.ElementMover/FamilyWindow.xaml diff --git a/Utility Tools/src/HOK.ElementMover/HOK.ElementMover/FamilyWindow.xaml.cs b/HOK.ElementMover/HOK.ElementMover/FamilyWindow.xaml.cs similarity index 100% rename from Utility Tools/src/HOK.ElementMover/HOK.ElementMover/FamilyWindow.xaml.cs rename to HOK.ElementMover/HOK.ElementMover/FamilyWindow.xaml.cs diff --git a/Utility Tools/src/HOK.ElementMover/HOK.ElementMover/HOK.ElementMover.addin b/HOK.ElementMover/HOK.ElementMover/HOK.ElementMover.addin similarity index 100% rename from Utility Tools/src/HOK.ElementMover/HOK.ElementMover/HOK.ElementMover.addin rename to HOK.ElementMover/HOK.ElementMover/HOK.ElementMover.addin diff --git a/HOK.ElementMover/HOK.ElementMover/HOK.ElementMover.csproj b/HOK.ElementMover/HOK.ElementMover/HOK.ElementMover.csproj new file mode 100644 index 00000000..61a40ff4 --- /dev/null +++ b/HOK.ElementMover/HOK.ElementMover/HOK.ElementMover.csproj @@ -0,0 +1,119 @@ + + + + true + latest + net8.0-windows + x64 + AnyCPU;x64 + true + disable + true + en-US + Debug R19; Debug R20;Debug R21;Debug R22;Debug R23;Debug R24;Debug R25 + $(Configurations);Release R19; Release R20;Release R21;Release R22;Release R23;Release R24;Release R25 + x64 + HOK Revit Add-ins + HOK Group + Copyright © HOK Group 2024 + https://github.com/HOKGroup/HOK-Revit-Addins + https://github.com/HOKGroup/HOK-Revit-Addins + 0.1.0.24 + + + + 2019 + net471 + + + 2020 + net472 + + + 2021 + net48 + + + 2022 + net48 + + + 2023 + net48 + + + 2024 + net48 + + + 2025 + net8.0-windows + + + + + + $(SOURCE_DIR)\_artifacts\$(RevitVersion)\HOK.Core.dll + ..\..\HOK.Core\HOK.Core\bin\x64\$(Configuration)\HOK.Core.dll + + + $(SOURCE_DIR)\_artifacts\$(RevitVersion)\HOK.MissionControl.Core.dll + ..\..\HOK.MissionControl\HOK.MissionControl.Core\bin\x64\$(Configuration)\HOK.MissionControl.Core.dll + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PreserveNewest + + + + + + + + + "powershell.exe" '$(ProjectDir)..\..\_postBuild\codeSigning.ps1' $(TargetPath) + + + + \ No newline at end of file diff --git a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager.AddIn/Windows/Images/checkbox_no.png b/HOK.ElementMover/HOK.ElementMover/Images/checkbox_no.png similarity index 100% rename from Sheet Manager/src/HOK.SheetManager/HOK.SheetManager.AddIn/Windows/Images/checkbox_no.png rename to HOK.ElementMover/HOK.ElementMover/Images/checkbox_no.png diff --git a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager.AddIn/Windows/Images/checkbox_yes.png b/HOK.ElementMover/HOK.ElementMover/Images/checkbox_yes.png similarity index 100% rename from Sheet Manager/src/HOK.SheetManager/HOK.SheetManager.AddIn/Windows/Images/checkbox_yes.png rename to HOK.ElementMover/HOK.ElementMover/Images/checkbox_yes.png diff --git a/Utility Tools/src/HOK.ElementMover/HOK.ElementMover/Images/copy.png b/HOK.ElementMover/HOK.ElementMover/Images/copy.png similarity index 100% rename from Utility Tools/src/HOK.ElementMover/HOK.ElementMover/Images/copy.png rename to HOK.ElementMover/HOK.ElementMover/Images/copy.png diff --git a/Element Tools/src/HOK.ElementTools/hoklogo.ico b/HOK.ElementMover/HOK.ElementMover/Images/hoklogo.ico similarity index 100% rename from Element Tools/src/HOK.ElementTools/hoklogo.ico rename to HOK.ElementMover/HOK.ElementMover/Images/hoklogo.ico diff --git a/Utility Tools/src/HOK.ElementMover/HOK.ElementMover/Images/link_add.png b/HOK.ElementMover/HOK.ElementMover/Images/link_add.png similarity index 100% rename from Utility Tools/src/HOK.ElementMover/HOK.ElementMover/Images/link_add.png rename to HOK.ElementMover/HOK.ElementMover/Images/link_add.png diff --git a/Utility Tools/src/HOK.ElementMover/HOK.ElementMover/Images/link_break.png b/HOK.ElementMover/HOK.ElementMover/Images/link_break.png similarity index 100% rename from Utility Tools/src/HOK.ElementMover/HOK.ElementMover/Images/link_break.png rename to HOK.ElementMover/HOK.ElementMover/Images/link_break.png diff --git a/Utility Tools/src/HOK.ElementMover/HOK.ElementMover/Images/link_edit.png b/HOK.ElementMover/HOK.ElementMover/Images/link_edit.png similarity index 100% rename from Utility Tools/src/HOK.ElementMover/HOK.ElementMover/Images/link_edit.png rename to HOK.ElementMover/HOK.ElementMover/Images/link_edit.png diff --git a/Utility Tools/src/HOK.ElementMover/HOK.ElementMover/Images/mapping.png b/HOK.ElementMover/HOK.ElementMover/Images/mapping.png similarity index 100% rename from Utility Tools/src/HOK.ElementMover/HOK.ElementMover/Images/mapping.png rename to HOK.ElementMover/HOK.ElementMover/Images/mapping.png diff --git a/Utility Tools/src/HOK.ElementMover/HOK.ElementMover/Images/update.png b/HOK.ElementMover/HOK.ElementMover/Images/update.png similarity index 100% rename from Utility Tools/src/HOK.ElementMover/HOK.ElementMover/Images/update.png rename to HOK.ElementMover/HOK.ElementMover/Images/update.png diff --git a/Utility Tools/src/HOK.ElementMover/HOK.ElementMover/MainWindow.xaml b/HOK.ElementMover/HOK.ElementMover/MainWindow.xaml similarity index 100% rename from Utility Tools/src/HOK.ElementMover/HOK.ElementMover/MainWindow.xaml rename to HOK.ElementMover/HOK.ElementMover/MainWindow.xaml diff --git a/Utility Tools/src/HOK.ElementMover/HOK.ElementMover/MainWindow.xaml.cs b/HOK.ElementMover/HOK.ElementMover/MainWindow.xaml.cs similarity index 100% rename from Utility Tools/src/HOK.ElementMover/HOK.ElementMover/MainWindow.xaml.cs rename to HOK.ElementMover/HOK.ElementMover/MainWindow.xaml.cs diff --git a/Utility Tools/src/HOK.ElementMover/HOK.ElementMover/MappingClasses.cs b/HOK.ElementMover/HOK.ElementMover/MappingClasses.cs similarity index 99% rename from Utility Tools/src/HOK.ElementMover/HOK.ElementMover/MappingClasses.cs rename to HOK.ElementMover/HOK.ElementMover/MappingClasses.cs index 04716c8b..8d08301e 100644 --- a/Utility Tools/src/HOK.ElementMover/HOK.ElementMover/MappingClasses.cs +++ b/HOK.ElementMover/HOK.ElementMover/MappingClasses.cs @@ -323,7 +323,7 @@ public LinkedElementInfo(LinkType linkType, Element sourceElement, Element linke //tree view CategoryName = linkedElement.Category.Name; -#if RELEASE2024 +#if REVIT2024_OR_GREATER if (customCategories.Contains(linkedElement.Category.Id.Value)) #else if (customCategories.Contains(linkedElement.Category.Id.IntegerValue)) @@ -342,7 +342,11 @@ public LinkedElementInfo(LinkType linkType, Element sourceElement, Element linke var typeInfo = new ElementTypeInfo(elementType); FamilyName = typeInfo.FamilyName; FamilyTypeName = typeInfo.Name; +#if REVIT2024_OR_GREATER + LinkDisplayText = "Source Id: " + SourceElementId.Value + ", Target Id: " + LinkedElementId.Value; +#else LinkDisplayText = "Source Id: " + SourceElementId.IntegerValue + ", Target Id: " + LinkedElementId.IntegerValue; +#endif } } } diff --git a/Utility Tools/src/HOK.ElementMover/HOK.ElementMover/MappingWindow.xaml b/HOK.ElementMover/HOK.ElementMover/MappingWindow.xaml similarity index 100% rename from Utility Tools/src/HOK.ElementMover/HOK.ElementMover/MappingWindow.xaml rename to HOK.ElementMover/HOK.ElementMover/MappingWindow.xaml diff --git a/Utility Tools/src/HOK.ElementMover/HOK.ElementMover/MappingWindow.xaml.cs b/HOK.ElementMover/HOK.ElementMover/MappingWindow.xaml.cs similarity index 100% rename from Utility Tools/src/HOK.ElementMover/HOK.ElementMover/MappingWindow.xaml.cs rename to HOK.ElementMover/HOK.ElementMover/MappingWindow.xaml.cs diff --git a/Utility Tools/src/HOK.ElementMover/HOK.ElementMover/MoverCommand.cs b/HOK.ElementMover/HOK.ElementMover/MoverCommand.cs similarity index 74% rename from Utility Tools/src/HOK.ElementMover/HOK.ElementMover/MoverCommand.cs rename to HOK.ElementMover/HOK.ElementMover/MoverCommand.cs index fdcae48a..bc21f826 100644 --- a/Utility Tools/src/HOK.ElementMover/HOK.ElementMover/MoverCommand.cs +++ b/HOK.ElementMover/HOK.ElementMover/MoverCommand.cs @@ -5,32 +5,32 @@ using HOK.Core.Utilities; using HOK.MissionControl.Core.Schemas; using HOK.MissionControl.Core.Utils; +using Nice3point.Revit.Toolkit.External; namespace HOK.ElementMover { [Transaction(TransactionMode.Manual)] [Regeneration(RegenerationOption.Manual)] [Journaling(JournalingMode.NoCommandData)] - public class MoverCommand : IExternalCommand + public class MoverCommand : ExternalCommand { private UIApplication m_app; private Dictionary linkInstances = new Dictionary(); - public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements) + public override void Execute() { - m_app = commandData.Application; + m_app = Context.UiApplication; Log.AppendLog(LogMessageType.INFO, "Started"); // (Konrad) We are gathering information about the addin use. This allows us to // better maintain the most used plug-ins or discontiue the unused ones. AddinUtilities.PublishAddinLog( - new AddinLog("ElementMover", commandData.Application.Application.VersionNumber)); + new AddinLog("ElementMover", Application.VersionNumber)); AppCommand.thisApp.ShowMover(m_app); Log.AppendLog(LogMessageType.INFO, "Ended."); - return Result.Succeeded; } } } diff --git a/Utility Tools/src/HOK.ElementMover/HOK.ElementMover/MoverDataStorageUtil.cs b/HOK.ElementMover/HOK.ElementMover/MoverDataStorageUtil.cs similarity index 100% rename from Utility Tools/src/HOK.ElementMover/HOK.ElementMover/MoverDataStorageUtil.cs rename to HOK.ElementMover/HOK.ElementMover/MoverDataStorageUtil.cs diff --git a/Utility Tools/src/HOK.ElementMover/HOK.ElementMover/MoverHandler.cs b/HOK.ElementMover/HOK.ElementMover/MoverHandler.cs similarity index 99% rename from Utility Tools/src/HOK.ElementMover/HOK.ElementMover/MoverHandler.cs rename to HOK.ElementMover/HOK.ElementMover/MoverHandler.cs index e0912449..e9aec79b 100644 --- a/Utility Tools/src/HOK.ElementMover/HOK.ElementMover/MoverHandler.cs +++ b/HOK.ElementMover/HOK.ElementMover/MoverHandler.cs @@ -502,7 +502,7 @@ public class LinkInstanceSelectionFilter : ISelectionFilter { public bool AllowElement(Element elem) { -#if RELEASE2024 +#if REVIT2024_OR_GREATER return elem.Category.Id.Value == (long)BuiltInCategory.OST_RvtLinks; #else return elem.Category.Id.IntegerValue == (int)BuiltInCategory.OST_RvtLinks; diff --git a/Utility Tools/src/HOK.ElementMover/HOK.ElementMover/Properties/Resources.Designer.cs b/HOK.ElementMover/HOK.ElementMover/Properties/Resources.Designer.cs similarity index 100% rename from Utility Tools/src/HOK.ElementMover/HOK.ElementMover/Properties/Resources.Designer.cs rename to HOK.ElementMover/HOK.ElementMover/Properties/Resources.Designer.cs diff --git a/Smart BCF/src/HOK.SmartBCF/HOK.SmartBCF.Manager/Properties/Resources.resx b/HOK.ElementMover/HOK.ElementMover/Properties/Resources.resx similarity index 100% rename from Smart BCF/src/HOK.SmartBCF/HOK.SmartBCF.Manager/Properties/Resources.resx rename to HOK.ElementMover/HOK.ElementMover/Properties/Resources.resx diff --git a/Utility Tools/src/HOK.ElementMover/HOK.ElementMover/Resources/elementMover_32.png b/HOK.ElementMover/HOK.ElementMover/Resources/elementMover_32.png similarity index 100% rename from Utility Tools/src/HOK.ElementMover/HOK.ElementMover/Resources/elementMover_32.png rename to HOK.ElementMover/HOK.ElementMover/Resources/elementMover_32.png diff --git a/Utility Tools/src/HOK.ElementMover/HOK.ElementMover/TreeViewModel.cs b/HOK.ElementMover/HOK.ElementMover/TreeViewModel.cs similarity index 97% rename from Utility Tools/src/HOK.ElementMover/HOK.ElementMover/TreeViewModel.cs rename to HOK.ElementMover/HOK.ElementMover/TreeViewModel.cs index 017a2da5..9842742a 100644 --- a/Utility Tools/src/HOK.ElementMover/HOK.ElementMover/TreeViewModel.cs +++ b/HOK.ElementMover/HOK.ElementMover/TreeViewModel.cs @@ -26,7 +26,7 @@ public class TreeViewElementModel : INotifyPropertyChanged public List ChildrenNodes { get; private set; } public TreeViewNodeType NodeType { get; private set; } public string ToolTip { get; private set; } - public Visibility ToolTipVisibility { get; private set; } + public System.Windows.Visibility ToolTipVisibility { get; private set; } public bool? isChecked = false; public TreeViewElementModel(string nodeName) @@ -98,7 +98,7 @@ public static List SetTreeView(LinkedInstanceProperties li { var categoryNode = new TreeViewElementModel(categoryName); categoryNode.NodeType = TreeViewNodeType.Category; - categoryNode.ToolTipVisibility = Visibility.Hidden; + categoryNode.ToolTipVisibility = System.Windows.Visibility.Hidden; treeView.Add(categoryNode); if (customCategories.Contains(categoryName)) @@ -115,7 +115,7 @@ public static List SetTreeView(LinkedInstanceProperties li elementNode.NodeType = TreeViewNodeType.ElementMapping; elementNode.Matched = linkInfo.Matched; elementNode.ToolTip = linkInfo.ToolTipText; - elementNode.ToolTipVisibility = Visibility.Visible; + elementNode.ToolTipVisibility = System.Windows.Visibility.Visible; categoryNode.ChildrenNodes.Add(elementNode); } @@ -132,7 +132,7 @@ public static List SetTreeView(LinkedInstanceProperties li { var familyNode = new TreeViewElementModel(familyName); familyNode.NodeType = TreeViewNodeType.Family; - familyNode.ToolTipVisibility = Visibility.Hidden; + familyNode.ToolTipVisibility = System.Windows.Visibility.Hidden; categoryNode.ChildrenNodes.Add(familyNode); var familyTypes = from linkedElement in lip.LinkedElements.Values @@ -145,7 +145,7 @@ public static List SetTreeView(LinkedInstanceProperties li { var familyTypeNode = new TreeViewElementModel(familyTypeName); familyTypeNode.NodeType = TreeViewNodeType.FamilyType; - familyTypeNode.ToolTipVisibility = Visibility.Hidden; + familyTypeNode.ToolTipVisibility = System.Windows.Visibility.Hidden; familyNode.ChildrenNodes.Add(familyTypeNode); var mappings = from linkedElement in lip.LinkedElements.Values @@ -161,7 +161,7 @@ public static List SetTreeView(LinkedInstanceProperties li elementNode.NodeType = TreeViewNodeType.ElementMapping; elementNode.Matched = linkInfo.Matched; elementNode.ToolTip = linkInfo.ToolTipText; - elementNode.ToolTipVisibility = Visibility.Visible; + elementNode.ToolTipVisibility = System.Windows.Visibility.Visible; familyTypeNode.ChildrenNodes.Add(elementNode); } diff --git a/Utility Tools/src/HOK.ElementMover/Readme.md b/HOK.ElementMover/Readme.md similarity index 100% rename from Utility Tools/src/HOK.ElementMover/Readme.md rename to HOK.ElementMover/Readme.md diff --git a/HOK.ElementTools/HOK.ElementTools.sln b/HOK.ElementTools/HOK.ElementTools.sln new file mode 100644 index 00000000..9bc80583 --- /dev/null +++ b/HOK.ElementTools/HOK.ElementTools.sln @@ -0,0 +1,60 @@ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.11.35312.102 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{778DAE3C-4631-46EA-AA77-85C1314464D9}") = "HOK.ElementTools", "HOK.ElementTools\HOK.ElementTools.vbproj", "{5E2C8756-742E-4726-8736-F150469B6C3A}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug R19|x64 = Debug R19|x64 + Debug R20|x64 = Debug R20|x64 + Debug R21|x64 = Debug R21|x64 + Debug R22|x64 = Debug R22|x64 + Debug R23|x64 = Debug R23|x64 + Debug R24|x64 = Debug R24|x64 + Debug R25|x64 = Debug R25|x64 + Release R19|x64 = Release R19|x64 + Release R20|x64 = Release R20|x64 + Release R21|x64 = Release R21|x64 + Release R22|x64 = Release R22|x64 + Release R23|x64 = Release R23|x64 + Release R24|x64 = Release R24|x64 + Release R25|x64 = Release R25|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {5E2C8756-742E-4726-8736-F150469B6C3A}.Debug R19|x64.ActiveCfg = Debug R19|x64 + {5E2C8756-742E-4726-8736-F150469B6C3A}.Debug R19|x64.Build.0 = Debug R19|x64 + {5E2C8756-742E-4726-8736-F150469B6C3A}.Debug R20|x64.ActiveCfg = Debug R20|x64 + {5E2C8756-742E-4726-8736-F150469B6C3A}.Debug R20|x64.Build.0 = Debug R20|x64 + {5E2C8756-742E-4726-8736-F150469B6C3A}.Debug R21|x64.ActiveCfg = Debug R21|x64 + {5E2C8756-742E-4726-8736-F150469B6C3A}.Debug R21|x64.Build.0 = Debug R21|x64 + {5E2C8756-742E-4726-8736-F150469B6C3A}.Debug R22|x64.ActiveCfg = Debug R22|x64 + {5E2C8756-742E-4726-8736-F150469B6C3A}.Debug R22|x64.Build.0 = Debug R22|x64 + {5E2C8756-742E-4726-8736-F150469B6C3A}.Debug R23|x64.ActiveCfg = Debug R23|x64 + {5E2C8756-742E-4726-8736-F150469B6C3A}.Debug R23|x64.Build.0 = Debug R23|x64 + {5E2C8756-742E-4726-8736-F150469B6C3A}.Debug R24|x64.ActiveCfg = Debug R24|x64 + {5E2C8756-742E-4726-8736-F150469B6C3A}.Debug R24|x64.Build.0 = Debug R24|x64 + {5E2C8756-742E-4726-8736-F150469B6C3A}.Debug R25|x64.ActiveCfg = Debug R25|x64 + {5E2C8756-742E-4726-8736-F150469B6C3A}.Debug R25|x64.Build.0 = Debug R25|x64 + {5E2C8756-742E-4726-8736-F150469B6C3A}.Release R19|x64.ActiveCfg = Release R19|x64 + {5E2C8756-742E-4726-8736-F150469B6C3A}.Release R19|x64.Build.0 = Release R19|x64 + {5E2C8756-742E-4726-8736-F150469B6C3A}.Release R20|x64.ActiveCfg = Release R20|x64 + {5E2C8756-742E-4726-8736-F150469B6C3A}.Release R20|x64.Build.0 = Release R20|x64 + {5E2C8756-742E-4726-8736-F150469B6C3A}.Release R21|x64.ActiveCfg = Release R21|x64 + {5E2C8756-742E-4726-8736-F150469B6C3A}.Release R21|x64.Build.0 = Release R21|x64 + {5E2C8756-742E-4726-8736-F150469B6C3A}.Release R22|x64.ActiveCfg = Release R22|x64 + {5E2C8756-742E-4726-8736-F150469B6C3A}.Release R22|x64.Build.0 = Release R22|x64 + {5E2C8756-742E-4726-8736-F150469B6C3A}.Release R23|x64.ActiveCfg = Release R23|x64 + {5E2C8756-742E-4726-8736-F150469B6C3A}.Release R23|x64.Build.0 = Release R23|x64 + {5E2C8756-742E-4726-8736-F150469B6C3A}.Release R24|x64.ActiveCfg = Release R24|x64 + {5E2C8756-742E-4726-8736-F150469B6C3A}.Release R24|x64.Build.0 = Release R24|x64 + {5E2C8756-742E-4726-8736-F150469B6C3A}.Release R25|x64.ActiveCfg = Release R25|x64 + {5E2C8756-742E-4726-8736-F150469B6C3A}.Release R25|x64.Build.0 = Release R25|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {C48C535A-357C-40B7-AEF7-A581181A24AD} + EndGlobalSection +EndGlobal diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Classes/clsSettings.vb b/HOK.ElementTools/HOK.ElementTools/Classes/clsSettings.vb similarity index 100% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/Classes/clsSettings.vb rename to HOK.ElementTools/HOK.ElementTools/Classes/clsSettings.vb diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Classes/clsUtilityIni.vb b/HOK.ElementTools/HOK.ElementTools/Classes/clsUtilityIni.vb similarity index 100% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/Classes/clsUtilityIni.vb rename to HOK.ElementTools/HOK.ElementTools/Classes/clsUtilityIni.vb diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/ElementIdExtensionModule.vb b/HOK.ElementTools/HOK.ElementTools/ElementIdExtensionModule.vb similarity index 95% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/ElementIdExtensionModule.vb rename to HOK.ElementTools/HOK.ElementTools/ElementIdExtensionModule.vb index ea393000..648bd1d4 100644 --- a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/ElementIdExtensionModule.vb +++ b/HOK.ElementTools/HOK.ElementTools/ElementIdExtensionModule.vb @@ -3,7 +3,7 @@ Imports System.Runtime.CompilerServices Public Module ElementIdExtensionModule -#If RELEASE2024 Then +#If REVIT2024_OR_GREATER Then Public Function NewElementId(L As Long) As ElementId Return New ElementId(L) diff --git a/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemAttachmentManager.Designer.vb b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemAttachmentManager.Designer.vb new file mode 100644 index 00000000..eea99902 --- /dev/null +++ b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemAttachmentManager.Designer.vb @@ -0,0 +1,114 @@ + _ +Partial Class form_ElemAttachmentManager + Inherits System.Windows.Forms.Form + + 'Form overrides dispose to clean up the component list. + _ + Protected Overrides Sub Dispose(ByVal disposing As Boolean) + Try + If disposing AndAlso components IsNot Nothing Then + components.Dispose() + End If + Finally + MyBase.Dispose(disposing) + End Try + End Sub + + 'Required by the Windows Form Designer + Private components As System.ComponentModel.IContainer + + 'NOTE: The following procedure is required by the Windows Form Designer + 'It can be modified using the Windows Form Designer. + 'Do not modify it using the code editor. + _ + Private Sub InitializeComponent() + Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(form_ElemAttachmentManager)) + labelMessage = New System.Windows.Forms.Label() + listBoxDwg = New System.Windows.Forms.ListBox() + buttonSelect = New System.Windows.Forms.Button() + buttonClose = New System.Windows.Forms.Button() + label4 = New System.Windows.Forms.Label() + SuspendLayout() + ' + ' labelMessage + ' + labelMessage.AutoSize = True + labelMessage.Location = New System.Drawing.Point(16, 480) + labelMessage.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + labelMessage.Name = "labelMessage" + labelMessage.Size = New System.Drawing.Size(0, 15) + labelMessage.TabIndex = 15 + ' + ' listBoxDwg + ' + listBoxDwg.Font = New System.Drawing.Font("Monospac821 BT", 8.25F, Drawing.FontStyle.Regular, Drawing.GraphicsUnit.Point, CByte(0)) + listBoxDwg.FormattingEnabled = True + listBoxDwg.ItemHeight = 14 + listBoxDwg.Location = New System.Drawing.Point(12, 29) + listBoxDwg.Margin = New System.Windows.Forms.Padding(4) + listBoxDwg.Name = "listBoxDwg" + listBoxDwg.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended + listBoxDwg.Size = New System.Drawing.Size(572, 438) + listBoxDwg.TabIndex = 13 + ' + ' buttonSelect + ' + buttonSelect.Location = New System.Drawing.Point(12, 518) + buttonSelect.Margin = New System.Windows.Forms.Padding(4) + buttonSelect.Name = "buttonSelect" + buttonSelect.Size = New System.Drawing.Size(208, 34) + buttonSelect.TabIndex = 12 + buttonSelect.Text = "Select in Revit" + buttonSelect.UseVisualStyleBackColor = True + ' + ' buttonClose + ' + buttonClose.Location = New System.Drawing.Point(377, 518) + buttonClose.Margin = New System.Windows.Forms.Padding(4) + buttonClose.Name = "buttonClose" + buttonClose.Size = New System.Drawing.Size(208, 34) + buttonClose.TabIndex = 11 + buttonClose.Text = "Close" + buttonClose.UseVisualStyleBackColor = True + ' + ' label4 + ' + label4.AutoSize = True + label4.Font = New System.Drawing.Font("Monospac821 BT", 8.25F, Drawing.FontStyle.Regular, Drawing.GraphicsUnit.Point, CByte(0)) + label4.Location = New System.Drawing.Point(14, 10) + label4.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label4.Name = "label4" + label4.Size = New System.Drawing.Size(504, 14) + label4.TabIndex = 14 + label4.Text = "ElementId Type Name Workset No." + ' + ' form_ElemAttachmentManager + ' + AutoScaleDimensions = New System.Drawing.SizeF(7F, 15F) + AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font + ClientSize = New System.Drawing.Size(603, 564) + Controls.Add(labelMessage) + Controls.Add(listBoxDwg) + Controls.Add(buttonSelect) + Controls.Add(buttonClose) + Controls.Add(label4) + Icon = CType(resources.GetObject("$this.Icon"), Drawing.Icon) + Margin = New System.Windows.Forms.Padding(4) + MaximizeBox = False + MaximumSize = New System.Drawing.Size(619, 800) + MinimizeBox = False + MinimumSize = New System.Drawing.Size(619, 603) + Name = "form_ElemAttachmentManager" + StartPosition = System.Windows.Forms.FormStartPosition.CenterParent + Text = "Attachment Link Manager" + TopMost = True + ResumeLayout(False) + PerformLayout() + + End Sub + Private WithEvents labelMessage As System.Windows.Forms.Label + Private WithEvents listBoxDwg As System.Windows.Forms.ListBox + Private WithEvents buttonSelect As System.Windows.Forms.Button + Private WithEvents buttonClose As System.Windows.Forms.Button + Private WithEvents label4 As System.Windows.Forms.Label +End Class diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemAttachmentManager.resx b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemAttachmentManager.resx similarity index 94% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemAttachmentManager.resx rename to HOK.ElementTools/HOK.ElementTools/Forms/form_ElemAttachmentManager.resx index d3331aa4..e861cdf0 100644 --- a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemAttachmentManager.resx +++ b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemAttachmentManager.resx @@ -1,17 +1,17 @@ - @@ -112,12 +112,12 @@ 2.0 - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + AAABAAEALS0AAAEACAAADgAAFgAAACgAAAAtAAAAWgAAAAEACAAAAAAAAAAAABMLAAATCwAAAAEAAAAA diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemAttachmentManager.vb b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemAttachmentManager.vb similarity index 100% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemAttachmentManager.vb rename to HOK.ElementTools/HOK.ElementTools/Forms/form_ElemAttachmentManager.vb diff --git a/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemImagesFromViews.Designer.vb b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemImagesFromViews.Designer.vb new file mode 100644 index 00000000..684a5f7a --- /dev/null +++ b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemImagesFromViews.Designer.vb @@ -0,0 +1,241 @@ + _ +Partial Class form_ElemImagesFromViews + Inherits System.Windows.Forms.Form + + 'Form overrides dispose to clean up the component list. + _ + Protected Overrides Sub Dispose(ByVal disposing As Boolean) + Try + If disposing AndAlso components IsNot Nothing Then + components.Dispose() + End If + Finally + MyBase.Dispose(disposing) + End Try + End Sub + + 'Required by the Windows Form Designer + Private components As System.ComponentModel.IContainer + + 'NOTE: The following procedure is required by the Windows Form Designer + 'It can be modified using the Windows Form Designer. + 'Do not modify it using the code editor. + _ + Private Sub InitializeComponent() + Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(form_ElemImagesFromViews)) + groupBox1 = New System.Windows.Forms.GroupBox() + checkBoxRestrictPrefix = New System.Windows.Forms.CheckBox() + textBoxRestrictPrefixValue = New System.Windows.Forms.TextBox() + checkBoxIncludeExisting = New System.Windows.Forms.CheckBox() + checkBoxListReverse = New System.Windows.Forms.CheckBox() + buttonBrowse = New System.Windows.Forms.Button() + folderBrowserDialogImages = New System.Windows.Forms.FolderBrowserDialog() + textBoxFolderPath = New System.Windows.Forms.TextBox() + buttonCreate = New System.Windows.Forms.Button() + listBoxViews = New System.Windows.Forms.ListBox() + buttonClose = New System.Windows.Forms.Button() + label4 = New System.Windows.Forms.Label() + label1 = New System.Windows.Forms.Label() + StatusStrip1 = New System.Windows.Forms.StatusStrip() + ToolStripProgressBar1 = New System.Windows.Forms.ToolStripProgressBar() + ToolStripStatusLabel1 = New System.Windows.Forms.ToolStripStatusLabel() + groupBox1.SuspendLayout() + StatusStrip1.SuspendLayout() + SuspendLayout() + ' + ' groupBox1 + ' + groupBox1.Controls.Add(checkBoxRestrictPrefix) + groupBox1.Controls.Add(textBoxRestrictPrefixValue) + groupBox1.Controls.Add(checkBoxIncludeExisting) + groupBox1.Controls.Add(checkBoxListReverse) + groupBox1.ForeColor = Drawing.SystemColors.ControlText + groupBox1.Location = New System.Drawing.Point(382, 80) + groupBox1.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + groupBox1.Name = "groupBox1" + groupBox1.Padding = New System.Windows.Forms.Padding(4, 3, 4, 3) + groupBox1.Size = New System.Drawing.Size(206, 179) + groupBox1.TabIndex = 42 + groupBox1.TabStop = False + groupBox1.Text = "List Selection Options" + ' + ' checkBoxRestrictPrefix + ' + checkBoxRestrictPrefix.AutoSize = True + checkBoxRestrictPrefix.Location = New System.Drawing.Point(13, 74) + checkBoxRestrictPrefix.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + checkBoxRestrictPrefix.Name = "checkBoxRestrictPrefix" + checkBoxRestrictPrefix.Size = New System.Drawing.Size(172, 19) + checkBoxRestrictPrefix.TabIndex = 29 + checkBoxRestrictPrefix.Text = "Restrict to Names w/ Prefix:" + checkBoxRestrictPrefix.UseVisualStyleBackColor = True + ' + ' textBoxRestrictPrefixValue + ' + textBoxRestrictPrefixValue.Location = New System.Drawing.Point(13, 97) + textBoxRestrictPrefixValue.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxRestrictPrefixValue.Name = "textBoxRestrictPrefixValue" + textBoxRestrictPrefixValue.Size = New System.Drawing.Size(184, 23) + textBoxRestrictPrefixValue.TabIndex = 28 + ' + ' checkBoxIncludeExisting + ' + checkBoxIncludeExisting.AutoSize = True + checkBoxIncludeExisting.Location = New System.Drawing.Point(13, 22) + checkBoxIncludeExisting.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + checkBoxIncludeExisting.Name = "checkBoxIncludeExisting" + checkBoxIncludeExisting.Size = New System.Drawing.Size(155, 19) + checkBoxIncludeExisting.TabIndex = 31 + checkBoxIncludeExisting.Text = "List and Replace Existing" + checkBoxIncludeExisting.UseVisualStyleBackColor = True + ' + ' checkBoxListReverse + ' + checkBoxListReverse.AutoSize = True + checkBoxListReverse.Location = New System.Drawing.Point(13, 152) + checkBoxListReverse.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + checkBoxListReverse.Name = "checkBoxListReverse" + checkBoxListReverse.Size = New System.Drawing.Size(120, 19) + checkBoxListReverse.TabIndex = 24 + checkBoxListReverse.Text = "Reverse List Order" + checkBoxListReverse.UseVisualStyleBackColor = True + ' + ' buttonBrowse + ' + buttonBrowse.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25F, Drawing.FontStyle.Bold, Drawing.GraphicsUnit.Point, CByte(0)) + buttonBrowse.Location = New System.Drawing.Point(556, 25) + buttonBrowse.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + buttonBrowse.Name = "buttonBrowse" + buttonBrowse.Size = New System.Drawing.Size(34, 30) + buttonBrowse.TabIndex = 41 + buttonBrowse.Text = "..." + buttonBrowse.UseVisualStyleBackColor = True + ' + ' textBoxFolderPath + ' + textBoxFolderPath.Location = New System.Drawing.Point(16, 29) + textBoxFolderPath.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxFolderPath.Name = "textBoxFolderPath" + textBoxFolderPath.Size = New System.Drawing.Size(532, 23) + textBoxFolderPath.TabIndex = 39 + ' + ' buttonCreate + ' + buttonCreate.Location = New System.Drawing.Point(16, 513) + buttonCreate.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + buttonCreate.Name = "buttonCreate" + buttonCreate.Size = New System.Drawing.Size(208, 33) + buttonCreate.TabIndex = 38 + buttonCreate.Text = "Create Images" + buttonCreate.UseVisualStyleBackColor = True + ' + ' listBoxViews + ' + listBoxViews.FormattingEnabled = True + listBoxViews.ItemHeight = 15 + listBoxViews.Location = New System.Drawing.Point(16, 87) + listBoxViews.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + listBoxViews.Name = "listBoxViews" + listBoxViews.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended + listBoxViews.Size = New System.Drawing.Size(349, 409) + listBoxViews.TabIndex = 36 + ' + ' buttonClose + ' + buttonClose.Location = New System.Drawing.Point(382, 513) + buttonClose.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + buttonClose.Name = "buttonClose" + buttonClose.Size = New System.Drawing.Size(208, 33) + buttonClose.TabIndex = 35 + buttonClose.Text = "Close" + buttonClose.UseVisualStyleBackColor = True + ' + ' label4 + ' + label4.AutoSize = True + label4.Location = New System.Drawing.Point(16, 68) + label4.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label4.Name = "label4" + label4.Size = New System.Drawing.Size(234, 15) + label4.TabIndex = 37 + label4.Text = "Select Views For Which to Create an Image:" + ' + ' label1 + ' + label1.AutoSize = True + label1.Location = New System.Drawing.Point(14, 10) + label1.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label1.Name = "label1" + label1.Size = New System.Drawing.Size(179, 15) + label1.TabIndex = 40 + label1.Text = "Folder In Which to Place Images:" + ' + ' StatusStrip1 + ' + StatusStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {ToolStripProgressBar1, ToolStripStatusLabel1}) + StatusStrip1.Location = New System.Drawing.Point(0, 739) + StatusStrip1.Name = "StatusStrip1" + StatusStrip1.Padding = New System.Windows.Forms.Padding(1, 0, 16, 0) + StatusStrip1.Size = New System.Drawing.Size(601, 22) + StatusStrip1.TabIndex = 43 + ' + ' ToolStripProgressBar1 + ' + ToolStripProgressBar1.Name = "ToolStripProgressBar1" + ToolStripProgressBar1.Size = New System.Drawing.Size(175, 18) + ToolStripProgressBar1.Visible = False + ' + ' ToolStripStatusLabel1 + ' + ToolStripStatusLabel1.Name = "ToolStripStatusLabel1" + ToolStripStatusLabel1.Size = New System.Drawing.Size(39, 17) + ToolStripStatusLabel1.Text = "Ready" + ' + ' form_ElemImagesFromViews + ' + AutoScaleDimensions = New System.Drawing.SizeF(7F, 15F) + AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font + ClientSize = New System.Drawing.Size(601, 761) + Controls.Add(StatusStrip1) + Controls.Add(groupBox1) + Controls.Add(buttonBrowse) + Controls.Add(textBoxFolderPath) + Controls.Add(buttonCreate) + Controls.Add(listBoxViews) + Controls.Add(buttonClose) + Controls.Add(label4) + Controls.Add(label1) + Icon = CType(resources.GetObject("$this.Icon"), Drawing.Icon) + Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + MaximizeBox = False + MinimizeBox = False + MinimumSize = New System.Drawing.Size(617, 800) + Name = "form_ElemImagesFromViews" + StartPosition = System.Windows.Forms.FormStartPosition.CenterParent + Text = "Export Images From Views" + TopMost = True + groupBox1.ResumeLayout(False) + groupBox1.PerformLayout() + StatusStrip1.ResumeLayout(False) + StatusStrip1.PerformLayout() + ResumeLayout(False) + PerformLayout() + + End Sub + Private WithEvents groupBox1 As System.Windows.Forms.GroupBox + Private WithEvents checkBoxRestrictPrefix As System.Windows.Forms.CheckBox + Private WithEvents textBoxRestrictPrefixValue As System.Windows.Forms.TextBox + Private WithEvents checkBoxIncludeExisting As System.Windows.Forms.CheckBox + Private WithEvents checkBoxListReverse As System.Windows.Forms.CheckBox + Private WithEvents buttonBrowse As System.Windows.Forms.Button + Private WithEvents folderBrowserDialogImages As System.Windows.Forms.FolderBrowserDialog + Private WithEvents textBoxFolderPath As System.Windows.Forms.TextBox + Private WithEvents buttonCreate As System.Windows.Forms.Button + Private WithEvents listBoxViews As System.Windows.Forms.ListBox + Private WithEvents buttonClose As System.Windows.Forms.Button + Private WithEvents label4 As System.Windows.Forms.Label + Private WithEvents label1 As System.Windows.Forms.Label + Friend WithEvents StatusStrip1 As System.Windows.Forms.StatusStrip + Friend WithEvents ToolStripProgressBar1 As System.Windows.Forms.ToolStripProgressBar + Friend WithEvents ToolStripStatusLabel1 As System.Windows.Forms.ToolStripStatusLabel +End Class diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemImagesFromViews.resx b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemImagesFromViews.resx similarity index 96% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemImagesFromViews.resx rename to HOK.ElementTools/HOK.ElementTools/Forms/form_ElemImagesFromViews.resx index 917ae25c..744f4994 100644 --- a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemImagesFromViews.resx +++ b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemImagesFromViews.resx @@ -1,17 +1,17 @@ - diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemImagesFromViews.vb b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemImagesFromViews.vb similarity index 100% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemImagesFromViews.vb rename to HOK.ElementTools/HOK.ElementTools/Forms/form_ElemImagesFromViews.vb diff --git a/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemMenu.Designer.vb b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemMenu.Designer.vb new file mode 100644 index 00000000..672dd691 --- /dev/null +++ b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemMenu.Designer.vb @@ -0,0 +1,240 @@ + _ +Partial Class form_ElemMenu + Inherits System.Windows.Forms.Form + + 'Form overrides dispose to clean up the component list. + _ + Protected Overrides Sub Dispose(ByVal disposing As Boolean) + Try + If disposing AndAlso components IsNot Nothing Then + components.Dispose() + End If + Finally + MyBase.Dispose(disposing) + End Try + End Sub + + 'Required by the Windows Form Designer + Private components As System.ComponentModel.IContainer + + 'NOTE: The following procedure is required by the Windows Form Designer + 'It can be modified using the Windows Form Designer. + 'Do not modify it using the code editor. + _ + Private Sub InitializeComponent() + components = New ComponentModel.Container() + Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(form_ElemMenu)) + GroupBox3 = New System.Windows.Forms.GroupBox() + ButtonManageAttachmentLinks = New System.Windows.Forms.Button() + ButtonCreateSheetsFromViews = New System.Windows.Forms.Button() + ButtonCreateTaggedViewsFromRooms = New System.Windows.Forms.Button() + ButtonCreateViewsFromRooms = New System.Windows.Forms.Button() + ToolTipFormMain = New System.Windows.Forms.ToolTip(components) + GroupBox2 = New System.Windows.Forms.GroupBox() + ButtonCreateTaggedViewsFromAreas = New System.Windows.Forms.Button() + ButtonCreateViewsFromAreas = New System.Windows.Forms.Button() + GroupBox1 = New System.Windows.Forms.GroupBox() + ButtonCreateRoomsFromAreas = New System.Windows.Forms.Button() + ButtonPlaceUnplacedRooms = New System.Windows.Forms.Button() + ButtonPlaceUnplacedAreas = New System.Windows.Forms.Button() + buttonReloadSettings = New System.Windows.Forms.Button() + ButtonCancel = New System.Windows.Forms.Button() + GroupBox3.SuspendLayout() + GroupBox2.SuspendLayout() + GroupBox1.SuspendLayout() + SuspendLayout() + ' + ' GroupBox3 + ' + GroupBox3.Controls.Add(ButtonManageAttachmentLinks) + GroupBox3.Location = New System.Drawing.Point(15, 859) + GroupBox3.Margin = New System.Windows.Forms.Padding(8, 9, 8, 9) + GroupBox3.Name = "GroupBox3" + GroupBox3.Padding = New System.Windows.Forms.Padding(8, 9, 8, 9) + GroupBox3.Size = New System.Drawing.Size(775, 168) + GroupBox3.TabIndex = 27 + GroupBox3.TabStop = False + GroupBox3.Text = "Linked Elements" + ' + ' ButtonManageAttachmentLinks + ' + ButtonManageAttachmentLinks.Location = New System.Drawing.Point(15, 54) + ButtonManageAttachmentLinks.Margin = New System.Windows.Forms.Padding(8, 9, 8, 9) + ButtonManageAttachmentLinks.Name = "ButtonManageAttachmentLinks" + ButtonManageAttachmentLinks.Size = New System.Drawing.Size(745, 65) + ButtonManageAttachmentLinks.TabIndex = 28 + ButtonManageAttachmentLinks.Text = "Manage Attachment Links" + ButtonManageAttachmentLinks.UseVisualStyleBackColor = True + ' + ' ButtonCreateSheetsFromViews + ' + ButtonCreateSheetsFromViews.Location = New System.Drawing.Point(15, 384) + ButtonCreateSheetsFromViews.Margin = New System.Windows.Forms.Padding(8, 9, 8, 9) + ButtonCreateSheetsFromViews.Name = "ButtonCreateSheetsFromViews" + ButtonCreateSheetsFromViews.Size = New System.Drawing.Size(745, 65) + ButtonCreateSheetsFromViews.TabIndex = 27 + ButtonCreateSheetsFromViews.Text = "Create Sheets from Views" + ButtonCreateSheetsFromViews.UseVisualStyleBackColor = True + ' + ' ButtonCreateTaggedViewsFromRooms + ' + ButtonCreateTaggedViewsFromRooms.Location = New System.Drawing.Point(15, 137) + ButtonCreateTaggedViewsFromRooms.Margin = New System.Windows.Forms.Padding(8, 9, 8, 9) + ButtonCreateTaggedViewsFromRooms.Name = "ButtonCreateTaggedViewsFromRooms" + ButtonCreateTaggedViewsFromRooms.Size = New System.Drawing.Size(745, 65) + ButtonCreateTaggedViewsFromRooms.TabIndex = 26 + ButtonCreateTaggedViewsFromRooms.Text = "Create Tagged Views from Rooms" + ButtonCreateTaggedViewsFromRooms.UseVisualStyleBackColor = True + ' + ' ButtonCreateViewsFromRooms + ' + ButtonCreateViewsFromRooms.Location = New System.Drawing.Point(15, 54) + ButtonCreateViewsFromRooms.Margin = New System.Windows.Forms.Padding(8, 9, 8, 9) + ButtonCreateViewsFromRooms.Name = "ButtonCreateViewsFromRooms" + ButtonCreateViewsFromRooms.Size = New System.Drawing.Size(745, 65) + ButtonCreateViewsFromRooms.TabIndex = 25 + ButtonCreateViewsFromRooms.Text = "Create Views from Rooms" + ButtonCreateViewsFromRooms.UseVisualStyleBackColor = True + ' + ' GroupBox2 + ' + GroupBox2.Controls.Add(ButtonCreateTaggedViewsFromAreas) + GroupBox2.Controls.Add(ButtonCreateViewsFromAreas) + GroupBox2.Controls.Add(ButtonCreateSheetsFromViews) + GroupBox2.Controls.Add(ButtonCreateTaggedViewsFromRooms) + GroupBox2.Controls.Add(ButtonCreateViewsFromRooms) + GroupBox2.Location = New System.Drawing.Point(15, 352) + GroupBox2.Margin = New System.Windows.Forms.Padding(8, 9, 8, 9) + GroupBox2.Name = "GroupBox2" + GroupBox2.Padding = New System.Windows.Forms.Padding(8, 9, 8, 9) + GroupBox2.Size = New System.Drawing.Size(775, 490) + GroupBox2.TabIndex = 26 + GroupBox2.TabStop = False + GroupBox2.Text = "View and Sheet Elements" + ' + ' ButtonCreateTaggedViewsFromAreas + ' + ButtonCreateTaggedViewsFromAreas.Location = New System.Drawing.Point(15, 302) + ButtonCreateTaggedViewsFromAreas.Margin = New System.Windows.Forms.Padding(8, 9, 8, 9) + ButtonCreateTaggedViewsFromAreas.Name = "ButtonCreateTaggedViewsFromAreas" + ButtonCreateTaggedViewsFromAreas.Size = New System.Drawing.Size(745, 65) + ButtonCreateTaggedViewsFromAreas.TabIndex = 29 + ButtonCreateTaggedViewsFromAreas.Text = "Create Tagged Views from Areas" + ButtonCreateTaggedViewsFromAreas.UseVisualStyleBackColor = True + ' + ' ButtonCreateViewsFromAreas + ' + ButtonCreateViewsFromAreas.Location = New System.Drawing.Point(15, 219) + ButtonCreateViewsFromAreas.Margin = New System.Windows.Forms.Padding(8, 9, 8, 9) + ButtonCreateViewsFromAreas.Name = "ButtonCreateViewsFromAreas" + ButtonCreateViewsFromAreas.Size = New System.Drawing.Size(745, 65) + ButtonCreateViewsFromAreas.TabIndex = 28 + ButtonCreateViewsFromAreas.Text = "Create Views from Areas" + ButtonCreateViewsFromAreas.UseVisualStyleBackColor = True + ' + ' GroupBox1 + ' + GroupBox1.Controls.Add(ButtonCreateRoomsFromAreas) + GroupBox1.Controls.Add(ButtonPlaceUnplacedRooms) + GroupBox1.Controls.Add(ButtonPlaceUnplacedAreas) + GroupBox1.Location = New System.Drawing.Point(15, 19) + GroupBox1.Margin = New System.Windows.Forms.Padding(8, 9, 8, 9) + GroupBox1.Name = "GroupBox1" + GroupBox1.Padding = New System.Windows.Forms.Padding(8, 9, 8, 9) + GroupBox1.Size = New System.Drawing.Size(775, 316) + GroupBox1.TabIndex = 25 + GroupBox1.TabStop = False + GroupBox1.Text = "Room and Area Elements" + ' + ' ButtonCreateRoomsFromAreas + ' + ButtonCreateRoomsFromAreas.Location = New System.Drawing.Point(15, 219) + ButtonCreateRoomsFromAreas.Margin = New System.Windows.Forms.Padding(8, 9, 8, 9) + ButtonCreateRoomsFromAreas.Name = "ButtonCreateRoomsFromAreas" + ButtonCreateRoomsFromAreas.Size = New System.Drawing.Size(745, 65) + ButtonCreateRoomsFromAreas.TabIndex = 24 + ButtonCreateRoomsFromAreas.Text = "Create Rooms from Areas" + ButtonCreateRoomsFromAreas.UseVisualStyleBackColor = True + ' + ' ButtonPlaceUnplacedRooms + ' + ButtonPlaceUnplacedRooms.Location = New System.Drawing.Point(15, 137) + ButtonPlaceUnplacedRooms.Margin = New System.Windows.Forms.Padding(8, 9, 8, 9) + ButtonPlaceUnplacedRooms.Name = "ButtonPlaceUnplacedRooms" + ButtonPlaceUnplacedRooms.Size = New System.Drawing.Size(745, 65) + ButtonPlaceUnplacedRooms.TabIndex = 23 + ButtonPlaceUnplacedRooms.Text = "Place Unplaced Rooms" + ButtonPlaceUnplacedRooms.UseVisualStyleBackColor = True + ' + ' ButtonPlaceUnplacedAreas + ' + ButtonPlaceUnplacedAreas.Location = New System.Drawing.Point(15, 54) + ButtonPlaceUnplacedAreas.Margin = New System.Windows.Forms.Padding(8, 9, 8, 9) + ButtonPlaceUnplacedAreas.Name = "ButtonPlaceUnplacedAreas" + ButtonPlaceUnplacedAreas.Size = New System.Drawing.Size(745, 65) + ButtonPlaceUnplacedAreas.TabIndex = 22 + ButtonPlaceUnplacedAreas.Text = "Place Unplaced Areas" + ButtonPlaceUnplacedAreas.UseVisualStyleBackColor = True + ' + ' buttonReloadSettings + ' + buttonReloadSettings.Location = New System.Drawing.Point(45, 1059) + buttonReloadSettings.Margin = New System.Windows.Forms.Padding(8, 9, 8, 9) + buttonReloadSettings.Name = "buttonReloadSettings" + buttonReloadSettings.Size = New System.Drawing.Size(425, 65) + buttonReloadSettings.TabIndex = 24 + buttonReloadSettings.Text = "Reload Default Settings" + buttonReloadSettings.UseVisualStyleBackColor = True + ' + ' ButtonCancel + ' + ButtonCancel.Location = New System.Drawing.Point(602, 1059) + ButtonCancel.Margin = New System.Windows.Forms.Padding(8, 9, 8, 9) + ButtonCancel.Name = "ButtonCancel" + ButtonCancel.Size = New System.Drawing.Size(188, 65) + ButtonCancel.TabIndex = 23 + ButtonCancel.Text = "Cancel" + ButtonCancel.UseVisualStyleBackColor = True + ' + ' form_ElemMenu + ' + AutoScaleDimensions = New System.Drawing.SizeF(15F, 37F) + AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font + ClientSize = New System.Drawing.Size(808, 1042) + Controls.Add(GroupBox3) + Controls.Add(GroupBox2) + Controls.Add(GroupBox1) + Controls.Add(buttonReloadSettings) + Controls.Add(ButtonCancel) + Icon = CType(resources.GetObject("$this.Icon"), Drawing.Icon) + Margin = New System.Windows.Forms.Padding(8, 9, 8, 9) + MaximizeBox = False + MaximumSize = New System.Drawing.Size(836, 1121) + MinimizeBox = False + MinimumSize = New System.Drawing.Size(836, 1121) + Name = "form_ElemMenu" + StartPosition = System.Windows.Forms.FormStartPosition.CenterParent + Text = "Element Tools" + TopMost = True + GroupBox3.ResumeLayout(False) + GroupBox2.ResumeLayout(False) + GroupBox1.ResumeLayout(False) + ResumeLayout(False) + + End Sub + Friend WithEvents GroupBox3 As System.Windows.Forms.GroupBox + Private WithEvents ButtonManageAttachmentLinks As System.Windows.Forms.Button + Private WithEvents ButtonCreateSheetsFromViews As System.Windows.Forms.Button + Private WithEvents ButtonCreateTaggedViewsFromRooms As System.Windows.Forms.Button + Private WithEvents ButtonCreateViewsFromRooms As System.Windows.Forms.Button + Friend WithEvents ToolTipFormMain As System.Windows.Forms.ToolTip + Friend WithEvents GroupBox2 As System.Windows.Forms.GroupBox + Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox + Private WithEvents ButtonCreateRoomsFromAreas As System.Windows.Forms.Button + Private WithEvents ButtonPlaceUnplacedRooms As System.Windows.Forms.Button + Private WithEvents ButtonPlaceUnplacedAreas As System.Windows.Forms.Button + Private WithEvents buttonReloadSettings As System.Windows.Forms.Button + Friend WithEvents ButtonCancel As System.Windows.Forms.Button + Private WithEvents ButtonCreateTaggedViewsFromAreas As System.Windows.Forms.Button + Private WithEvents ButtonCreateViewsFromAreas As System.Windows.Forms.Button +End Class diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemMenu.resx b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemMenu.resx similarity index 96% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemMenu.resx rename to HOK.ElementTools/HOK.ElementTools/Forms/form_ElemMenu.resx index 6a6a7e40..1f5b13c8 100644 --- a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemMenu.resx +++ b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemMenu.resx @@ -1,17 +1,17 @@ - diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemMenu.vb b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemMenu.vb similarity index 100% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemMenu.vb rename to HOK.ElementTools/HOK.ElementTools/Forms/form_ElemMenu.vb diff --git a/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemPlaceUnplacedAreas.Designer.vb b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemPlaceUnplacedAreas.Designer.vb new file mode 100644 index 00000000..e7795d27 --- /dev/null +++ b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemPlaceUnplacedAreas.Designer.vb @@ -0,0 +1,423 @@ + _ +Partial Class form_ElemPlaceUnplacedAreas + Inherits System.Windows.Forms.Form + + 'Form overrides dispose to clean up the component list. + _ + Protected Overrides Sub Dispose(ByVal disposing As Boolean) + Try + If disposing AndAlso components IsNot Nothing Then + components.Dispose() + End If + Finally + MyBase.Dispose(disposing) + End Try + End Sub + + 'Required by the Windows Form Designer + Private components As System.ComponentModel.IContainer + + 'NOTE: The following procedure is required by the Windows Form Designer + 'It can be modified using the Windows Form Designer. + 'Do not modify it using the code editor. + _ + Private Sub InitializeComponent() + Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(form_ElemPlaceUnplacedAreas)) + textBoxParameterList2 = New System.Windows.Forms.TextBox() + buttonClose = New System.Windows.Forms.Button() + textBoxPad2 = New System.Windows.Forms.TextBox() + textBoxPad1 = New System.Windows.Forms.TextBox() + checkBoxPad2 = New System.Windows.Forms.CheckBox() + checkBoxPad1 = New System.Windows.Forms.CheckBox() + textBoxSpace = New System.Windows.Forms.TextBox() + textBoxStartX = New System.Windows.Forms.TextBox() + checkBoxListReverse = New System.Windows.Forms.CheckBox() + label9 = New System.Windows.Forms.Label() + label1 = New System.Windows.Forms.Label() + textBoxNoRow = New System.Windows.Forms.TextBox() + groupBox2 = New System.Windows.Forms.GroupBox() + textBoxStartY = New System.Windows.Forms.TextBox() + label2 = New System.Windows.Forms.Label() + textBoxParameterRequiredDefault = New System.Windows.Forms.TextBox() + label3 = New System.Windows.Forms.Label() + textBoxParameterRequiredArea = New System.Windows.Forms.TextBox() + label5 = New System.Windows.Forms.Label() + label6 = New System.Windows.Forms.Label() + label8 = New System.Windows.Forms.Label() + textBoxParameterList1 = New System.Windows.Forms.TextBox() + listBoxAreas = New System.Windows.Forms.ListBox() + label4 = New System.Windows.Forms.Label() + buttonCreate = New System.Windows.Forms.Button() + label7 = New System.Windows.Forms.Label() + groupBox1 = New System.Windows.Forms.GroupBox() + StatusStrip1 = New System.Windows.Forms.StatusStrip() + ToolStripProgressBar1 = New System.Windows.Forms.ToolStripProgressBar() + ToolStripStatusLabel1 = New System.Windows.Forms.ToolStripStatusLabel() + groupBox2.SuspendLayout() + groupBox1.SuspendLayout() + StatusStrip1.SuspendLayout() + SuspendLayout() + ' + ' textBoxParameterList2 + ' + textBoxParameterList2.Location = New System.Drawing.Point(13, 112) + textBoxParameterList2.Margin = New System.Windows.Forms.Padding(4) + textBoxParameterList2.Name = "textBoxParameterList2" + textBoxParameterList2.Size = New System.Drawing.Size(182, 23) + textBoxParameterList2.TabIndex = 16 + ' + ' buttonClose + ' + buttonClose.Location = New System.Drawing.Point(380, 518) + buttonClose.Margin = New System.Windows.Forms.Padding(4) + buttonClose.Name = "buttonClose" + buttonClose.Size = New System.Drawing.Size(208, 34) + buttonClose.TabIndex = 38 + buttonClose.Text = "Close" + buttonClose.UseVisualStyleBackColor = True + ' + ' textBoxPad2 + ' + textBoxPad2.Location = New System.Drawing.Point(158, 137) + textBoxPad2.Margin = New System.Windows.Forms.Padding(4) + textBoxPad2.Name = "textBoxPad2" + textBoxPad2.Size = New System.Drawing.Size(36, 23) + textBoxPad2.TabIndex = 23 + ' + ' textBoxPad1 + ' + textBoxPad1.Location = New System.Drawing.Point(158, 65) + textBoxPad1.Margin = New System.Windows.Forms.Padding(4) + textBoxPad1.Name = "textBoxPad1" + textBoxPad1.Size = New System.Drawing.Size(36, 23) + textBoxPad1.TabIndex = 22 + ' + ' checkBoxPad2 + ' + checkBoxPad2.AutoSize = True + checkBoxPad2.Location = New System.Drawing.Point(13, 140) + checkBoxPad2.Margin = New System.Windows.Forms.Padding(4) + checkBoxPad2.Name = "checkBoxPad2" + checkBoxPad2.Size = New System.Drawing.Size(126, 19) + checkBoxPad2.TabIndex = 21 + checkBoxPad2.Text = "Pad Value w/ Zeros" + checkBoxPad2.UseVisualStyleBackColor = True + ' + ' checkBoxPad1 + ' + checkBoxPad1.AutoSize = True + checkBoxPad1.Location = New System.Drawing.Point(13, 67) + checkBoxPad1.Margin = New System.Windows.Forms.Padding(4) + checkBoxPad1.Name = "checkBoxPad1" + checkBoxPad1.Size = New System.Drawing.Size(126, 19) + checkBoxPad1.TabIndex = 20 + checkBoxPad1.Text = "Pad Value w/ Zeros" + checkBoxPad1.UseVisualStyleBackColor = True + ' + ' textBoxSpace + ' + textBoxSpace.Location = New System.Drawing.Point(13, 90) + textBoxSpace.Margin = New System.Windows.Forms.Padding(4) + textBoxSpace.Name = "textBoxSpace" + textBoxSpace.Size = New System.Drawing.Size(84, 23) + textBoxSpace.TabIndex = 6 + ' + ' textBoxStartX + ' + textBoxStartX.Location = New System.Drawing.Point(13, 41) + textBoxStartX.Margin = New System.Windows.Forms.Padding(4) + textBoxStartX.Name = "textBoxStartX" + textBoxStartX.Size = New System.Drawing.Size(84, 23) + textBoxStartX.TabIndex = 1 + ' + ' checkBoxListReverse + ' + checkBoxListReverse.AutoSize = True + checkBoxListReverse.Location = New System.Drawing.Point(13, 174) + checkBoxListReverse.Margin = New System.Windows.Forms.Padding(4) + checkBoxListReverse.Name = "checkBoxListReverse" + checkBoxListReverse.Size = New System.Drawing.Size(120, 19) + checkBoxListReverse.TabIndex = 24 + checkBoxListReverse.Text = "Reverse List Order" + checkBoxListReverse.UseVisualStyleBackColor = True + ' + ' label9 + ' + label9.AutoSize = True + label9.Location = New System.Drawing.Point(116, 73) + label9.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label9.Name = "label9" + label9.Size = New System.Drawing.Size(72, 15) + label9.TabIndex = 19 + label9.Text = "No per Row:" + ' + ' label1 + ' + label1.AutoSize = True + label1.Location = New System.Drawing.Point(10, 24) + label1.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label1.Name = "label1" + label1.Size = New System.Drawing.Size(75, 15) + label1.TabIndex = 2 + label1.Text = "Start Point X:" + ' + ' textBoxNoRow + ' + textBoxNoRow.Location = New System.Drawing.Point(118, 90) + textBoxNoRow.Margin = New System.Windows.Forms.Padding(4) + textBoxNoRow.Name = "textBoxNoRow" + textBoxNoRow.Size = New System.Drawing.Size(76, 23) + textBoxNoRow.TabIndex = 18 + ' + ' groupBox2 + ' + groupBox2.Controls.Add(textBoxSpace) + groupBox2.Controls.Add(textBoxStartX) + groupBox2.Controls.Add(label9) + groupBox2.Controls.Add(label1) + groupBox2.Controls.Add(textBoxNoRow) + groupBox2.Controls.Add(textBoxStartY) + groupBox2.Controls.Add(label2) + groupBox2.Controls.Add(textBoxParameterRequiredDefault) + groupBox2.Controls.Add(label3) + groupBox2.Controls.Add(textBoxParameterRequiredArea) + groupBox2.Controls.Add(label5) + groupBox2.Controls.Add(label6) + groupBox2.ForeColor = Drawing.SystemColors.ControlText + groupBox2.Location = New System.Drawing.Point(380, 246) + groupBox2.Margin = New System.Windows.Forms.Padding(4) + groupBox2.Name = "groupBox2" + groupBox2.Padding = New System.Windows.Forms.Padding(4) + groupBox2.Size = New System.Drawing.Size(206, 253) + groupBox2.TabIndex = 43 + groupBox2.TabStop = False + groupBox2.Text = "Processing Options" + ' + ' textBoxStartY + ' + textBoxStartY.Location = New System.Drawing.Point(116, 41) + textBoxStartY.Margin = New System.Windows.Forms.Padding(4) + textBoxStartY.Name = "textBoxStartY" + textBoxStartY.Size = New System.Drawing.Size(78, 23) + textBoxStartY.TabIndex = 3 + ' + ' label2 + ' + label2.AutoSize = True + label2.Location = New System.Drawing.Point(113, 25) + label2.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label2.Name = "label2" + label2.Size = New System.Drawing.Size(75, 15) + label2.TabIndex = 4 + label2.Text = "Start Point Y:" + ' + ' textBoxParameterRequiredDefault + ' + textBoxParameterRequiredDefault.Location = New System.Drawing.Point(13, 191) + textBoxParameterRequiredDefault.Margin = New System.Windows.Forms.Padding(4) + textBoxParameterRequiredDefault.Name = "textBoxParameterRequiredDefault" + textBoxParameterRequiredDefault.Size = New System.Drawing.Size(182, 23) + textBoxParameterRequiredDefault.TabIndex = 12 + ' + ' label3 + ' + label3.AutoSize = True + label3.Location = New System.Drawing.Point(12, 73) + label3.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label3.Name = "label3" + label3.Size = New System.Drawing.Size(41, 15) + label3.TabIndex = 7 + label3.Text = "Space:" + ' + ' textBoxParameterRequiredArea + ' + textBoxParameterRequiredArea.Location = New System.Drawing.Point(13, 139) + textBoxParameterRequiredArea.Margin = New System.Windows.Forms.Padding(4) + textBoxParameterRequiredArea.Name = "textBoxParameterRequiredArea" + textBoxParameterRequiredArea.Size = New System.Drawing.Size(182, 23) + textBoxParameterRequiredArea.TabIndex = 10 + ' + ' label5 + ' + label5.AutoSize = True + label5.Location = New System.Drawing.Point(10, 121) + label5.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label5.Name = "label5" + label5.Size = New System.Drawing.Size(141, 15) + label5.TabIndex = 11 + label5.Text = "Required Area Parameter:" + ' + ' label6 + ' + label6.AutoSize = True + label6.Location = New System.Drawing.Point(10, 174) + label6.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label6.Name = "label6" + label6.Size = New System.Drawing.Size(125, 15) + label6.TabIndex = 13 + label6.Text = "Default Required Area:" + ' + ' label8 + ' + label8.AutoSize = True + label8.Location = New System.Drawing.Point(10, 95) + label8.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label8.Name = "label8" + label8.Size = New System.Drawing.Size(94, 15) + label8.TabIndex = 17 + label8.Text = "List Parameter 2:" + ' + ' textBoxParameterList1 + ' + textBoxParameterList1.Location = New System.Drawing.Point(13, 39) + textBoxParameterList1.Margin = New System.Windows.Forms.Padding(4) + textBoxParameterList1.Name = "textBoxParameterList1" + textBoxParameterList1.Size = New System.Drawing.Size(182, 23) + textBoxParameterList1.TabIndex = 14 + ' + ' listBoxAreas + ' + listBoxAreas.FormattingEnabled = True + listBoxAreas.ItemHeight = 15 + listBoxAreas.Location = New System.Drawing.Point(15, 29) + listBoxAreas.Margin = New System.Windows.Forms.Padding(4) + listBoxAreas.Name = "listBoxAreas" + listBoxAreas.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended + listBoxAreas.Size = New System.Drawing.Size(350, 469) + listBoxAreas.TabIndex = 39 + ' + ' label4 + ' + label4.AutoSize = True + label4.Location = New System.Drawing.Point(14, 10) + label4.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label4.Name = "label4" + label4.Size = New System.Drawing.Size(118, 15) + label4.TabIndex = 40 + label4.Text = "Select Areas to Place:" + ' + ' buttonCreate + ' + buttonCreate.Location = New System.Drawing.Point(15, 518) + buttonCreate.Margin = New System.Windows.Forms.Padding(4) + buttonCreate.Name = "buttonCreate" + buttonCreate.Size = New System.Drawing.Size(208, 34) + buttonCreate.TabIndex = 41 + buttonCreate.Text = "Create Areas" + buttonCreate.UseVisualStyleBackColor = True + ' + ' label7 + ' + label7.AutoSize = True + label7.Location = New System.Drawing.Point(10, 22) + label7.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label7.Name = "label7" + label7.Size = New System.Drawing.Size(94, 15) + label7.TabIndex = 15 + label7.Text = "List Parameter 1:" + ' + ' groupBox1 + ' + groupBox1.Controls.Add(textBoxParameterList1) + groupBox1.Controls.Add(checkBoxListReverse) + groupBox1.Controls.Add(label7) + groupBox1.Controls.Add(textBoxPad2) + groupBox1.Controls.Add(textBoxParameterList2) + groupBox1.Controls.Add(textBoxPad1) + groupBox1.Controls.Add(label8) + groupBox1.Controls.Add(checkBoxPad2) + groupBox1.Controls.Add(checkBoxPad1) + groupBox1.ForeColor = Drawing.SystemColors.ControlText + groupBox1.Location = New System.Drawing.Point(380, 22) + groupBox1.Margin = New System.Windows.Forms.Padding(4) + groupBox1.Name = "groupBox1" + groupBox1.Padding = New System.Windows.Forms.Padding(4) + groupBox1.Size = New System.Drawing.Size(208, 210) + groupBox1.TabIndex = 42 + groupBox1.TabStop = False + groupBox1.Text = "List Selection Options" + ' + ' StatusStrip1 + ' + StatusStrip1.ImageScalingSize = New System.Drawing.Size(36, 36) + StatusStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {ToolStripProgressBar1, ToolStripStatusLabel1}) + StatusStrip1.Location = New System.Drawing.Point(0, 562) + StatusStrip1.Name = "StatusStrip1" + StatusStrip1.Padding = New System.Windows.Forms.Padding(1, 0, 16, 0) + StatusStrip1.Size = New System.Drawing.Size(592, 22) + StatusStrip1.TabIndex = 44 + ' + ' ToolStripProgressBar1 + ' + ToolStripProgressBar1.Name = "ToolStripProgressBar1" + ToolStripProgressBar1.Size = New System.Drawing.Size(175, 22) + ToolStripProgressBar1.Visible = False + ' + ' ToolStripStatusLabel1 + ' + ToolStripStatusLabel1.Name = "ToolStripStatusLabel1" + ToolStripStatusLabel1.Size = New System.Drawing.Size(0, 17) + ' + ' form_ElemPlaceUnplacedAreas + ' + AutoScaleDimensions = New System.Drawing.SizeF(7F, 15F) + AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font + ClientSize = New System.Drawing.Size(592, 584) + Controls.Add(StatusStrip1) + Controls.Add(buttonClose) + Controls.Add(groupBox2) + Controls.Add(listBoxAreas) + Controls.Add(label4) + Controls.Add(buttonCreate) + Controls.Add(groupBox1) + Icon = CType(resources.GetObject("$this.Icon"), Drawing.Icon) + Margin = New System.Windows.Forms.Padding(4) + MaximizeBox = False + MaximumSize = New System.Drawing.Size(658, 800) + MinimizeBox = False + MinimumSize = New System.Drawing.Size(608, 623) + Name = "form_ElemPlaceUnplacedAreas" + StartPosition = System.Windows.Forms.FormStartPosition.CenterParent + Text = "Place Unplaced Areas" + TopMost = True + groupBox2.ResumeLayout(False) + groupBox2.PerformLayout() + groupBox1.ResumeLayout(False) + groupBox1.PerformLayout() + StatusStrip1.ResumeLayout(False) + StatusStrip1.PerformLayout() + ResumeLayout(False) + PerformLayout() + + End Sub + Private WithEvents textBoxParameterList2 As System.Windows.Forms.TextBox + Private WithEvents buttonClose As System.Windows.Forms.Button + Private WithEvents textBoxPad2 As System.Windows.Forms.TextBox + Private WithEvents textBoxPad1 As System.Windows.Forms.TextBox + Private WithEvents checkBoxPad2 As System.Windows.Forms.CheckBox + Private WithEvents checkBoxPad1 As System.Windows.Forms.CheckBox + Private WithEvents textBoxSpace As System.Windows.Forms.TextBox + Private WithEvents textBoxStartX As System.Windows.Forms.TextBox + Private WithEvents checkBoxListReverse As System.Windows.Forms.CheckBox + Private WithEvents label9 As System.Windows.Forms.Label + Private WithEvents label1 As System.Windows.Forms.Label + Private WithEvents textBoxNoRow As System.Windows.Forms.TextBox + Private WithEvents groupBox2 As System.Windows.Forms.GroupBox + Private WithEvents textBoxStartY As System.Windows.Forms.TextBox + Private WithEvents label2 As System.Windows.Forms.Label + Private WithEvents textBoxParameterRequiredDefault As System.Windows.Forms.TextBox + Private WithEvents label3 As System.Windows.Forms.Label + Private WithEvents textBoxParameterRequiredArea As System.Windows.Forms.TextBox + Private WithEvents label5 As System.Windows.Forms.Label + Private WithEvents label6 As System.Windows.Forms.Label + Private WithEvents label8 As System.Windows.Forms.Label + Private WithEvents textBoxParameterList1 As System.Windows.Forms.TextBox + Private WithEvents listBoxAreas As System.Windows.Forms.ListBox + Private WithEvents label4 As System.Windows.Forms.Label + Private WithEvents buttonCreate As System.Windows.Forms.Button + Private WithEvents label7 As System.Windows.Forms.Label + Private WithEvents groupBox1 As System.Windows.Forms.GroupBox + Friend WithEvents StatusStrip1 As System.Windows.Forms.StatusStrip + Friend WithEvents ToolStripProgressBar1 As System.Windows.Forms.ToolStripProgressBar + Friend WithEvents ToolStripStatusLabel1 As System.Windows.Forms.ToolStripStatusLabel +End Class diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemPlaceUnplacedAreas.resx b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemPlaceUnplacedAreas.resx similarity index 96% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemPlaceUnplacedAreas.resx rename to HOK.ElementTools/HOK.ElementTools/Forms/form_ElemPlaceUnplacedAreas.resx index 747da7f9..8fe91a30 100644 --- a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemPlaceUnplacedAreas.resx +++ b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemPlaceUnplacedAreas.resx @@ -1,17 +1,17 @@ - diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemPlaceUnplacedAreas.vb b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemPlaceUnplacedAreas.vb similarity index 100% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemPlaceUnplacedAreas.vb rename to HOK.ElementTools/HOK.ElementTools/Forms/form_ElemPlaceUnplacedAreas.vb diff --git a/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemPlaceUnplacedRooms.Designer.vb b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemPlaceUnplacedRooms.Designer.vb new file mode 100644 index 00000000..f9f84eb2 --- /dev/null +++ b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemPlaceUnplacedRooms.Designer.vb @@ -0,0 +1,477 @@ + _ +Partial Class form_ElemPlaceUnplacedRooms + Inherits System.Windows.Forms.Form + + 'Form overrides dispose to clean up the component list. + _ + Protected Overrides Sub Dispose(ByVal disposing As Boolean) + Try + If disposing AndAlso components IsNot Nothing Then + components.Dispose() + End If + Finally + MyBase.Dispose(disposing) + End Try + End Sub + + 'Required by the Windows Form Designer + Private components As System.ComponentModel.IContainer + + 'NOTE: The following procedure is required by the Windows Form Designer + 'It can be modified using the Windows Form Designer. + 'Do not modify it using the code editor. + _ + Private Sub InitializeComponent() + Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(form_ElemPlaceUnplacedRooms)) + textBoxStartX = New System.Windows.Forms.TextBox() + label1 = New System.Windows.Forms.Label() + buttonClose = New System.Windows.Forms.Button() + checkBoxPad1 = New System.Windows.Forms.CheckBox() + label9 = New System.Windows.Forms.Label() + textBoxParameterList2 = New System.Windows.Forms.TextBox() + textBoxStartY = New System.Windows.Forms.TextBox() + checkBoxPad2 = New System.Windows.Forms.CheckBox() + textBoxNoRow = New System.Windows.Forms.TextBox() + label2 = New System.Windows.Forms.Label() + textBoxPad1 = New System.Windows.Forms.TextBox() + groupBox2 = New System.Windows.Forms.GroupBox() + ButtonPickPoint = New System.Windows.Forms.Button() + Label10 = New System.Windows.Forms.Label() + ComboBoxWallTypes = New System.Windows.Forms.ComboBox() + textBoxSpace = New System.Windows.Forms.TextBox() + textBoxParameterRequiredDefault = New System.Windows.Forms.TextBox() + label3 = New System.Windows.Forms.Label() + textBoxParameterRequiredArea = New System.Windows.Forms.TextBox() + label5 = New System.Windows.Forms.Label() + label6 = New System.Windows.Forms.Label() + checkBoxListReverse = New System.Windows.Forms.CheckBox() + textBoxPad2 = New System.Windows.Forms.TextBox() + label8 = New System.Windows.Forms.Label() + textBoxParameterList1 = New System.Windows.Forms.TextBox() + listBoxRooms = New System.Windows.Forms.ListBox() + label4 = New System.Windows.Forms.Label() + buttonCreate = New System.Windows.Forms.Button() + label7 = New System.Windows.Forms.Label() + groupBox1 = New System.Windows.Forms.GroupBox() + StatusStrip1 = New System.Windows.Forms.StatusStrip() + ToolStripProgressBar1 = New System.Windows.Forms.ToolStripProgressBar() + ToolStripStatusLabel1 = New System.Windows.Forms.ToolStripStatusLabel() + groupBox2.SuspendLayout() + groupBox1.SuspendLayout() + StatusStrip1.SuspendLayout() + SuspendLayout() + ' + ' textBoxStartX + ' + textBoxStartX.Location = New System.Drawing.Point(12, 73) + textBoxStartX.Margin = New System.Windows.Forms.Padding(4) + textBoxStartX.Name = "textBoxStartX" + textBoxStartX.Size = New System.Drawing.Size(132, 23) + textBoxStartX.TabIndex = 1 + ' + ' label1 + ' + label1.AutoSize = True + label1.Location = New System.Drawing.Point(12, 55) + label1.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label1.Name = "label1" + label1.Size = New System.Drawing.Size(75, 15) + label1.TabIndex = 2 + label1.Text = "Start Point X:" + ' + ' buttonClose + ' + buttonClose.Anchor = System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right + buttonClose.Location = New System.Drawing.Point(541, 620) + buttonClose.Margin = New System.Windows.Forms.Padding(4) + buttonClose.Name = "buttonClose" + buttonClose.Size = New System.Drawing.Size(115, 59) + buttonClose.TabIndex = 38 + buttonClose.Text = "Close" + buttonClose.UseVisualStyleBackColor = True + ' + ' checkBoxPad1 + ' + checkBoxPad1.AutoSize = True + checkBoxPad1.Location = New System.Drawing.Point(13, 70) + checkBoxPad1.Margin = New System.Windows.Forms.Padding(4) + checkBoxPad1.Name = "checkBoxPad1" + checkBoxPad1.Size = New System.Drawing.Size(126, 19) + checkBoxPad1.TabIndex = 20 + checkBoxPad1.Text = "Pad Value w/ Zeros" + checkBoxPad1.UseVisualStyleBackColor = True + ' + ' label9 + ' + label9.AutoSize = True + label9.Location = New System.Drawing.Point(154, 109) + label9.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label9.Name = "label9" + label9.Size = New System.Drawing.Size(57, 15) + label9.TabIndex = 19 + label9.Text = "Qty/Row:" + ' + ' textBoxParameterList2 + ' + textBoxParameterList2.Anchor = System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left Or System.Windows.Forms.AnchorStyles.Right + textBoxParameterList2.Location = New System.Drawing.Point(13, 115) + textBoxParameterList2.Margin = New System.Windows.Forms.Padding(4) + textBoxParameterList2.Name = "textBoxParameterList2" + textBoxParameterList2.Size = New System.Drawing.Size(264, 23) + textBoxParameterList2.TabIndex = 16 + ' + ' textBoxStartY + ' + textBoxStartY.Location = New System.Drawing.Point(156, 73) + textBoxStartY.Margin = New System.Windows.Forms.Padding(4) + textBoxStartY.Name = "textBoxStartY" + textBoxStartY.Size = New System.Drawing.Size(120, 23) + textBoxStartY.TabIndex = 3 + ' + ' checkBoxPad2 + ' + checkBoxPad2.AutoSize = True + checkBoxPad2.Location = New System.Drawing.Point(13, 145) + checkBoxPad2.Margin = New System.Windows.Forms.Padding(4) + checkBoxPad2.Name = "checkBoxPad2" + checkBoxPad2.Size = New System.Drawing.Size(126, 19) + checkBoxPad2.TabIndex = 21 + checkBoxPad2.Text = "Pad Value w/ Zeros" + checkBoxPad2.UseVisualStyleBackColor = True + ' + ' textBoxNoRow + ' + textBoxNoRow.Location = New System.Drawing.Point(158, 126) + textBoxNoRow.Margin = New System.Windows.Forms.Padding(4) + textBoxNoRow.Name = "textBoxNoRow" + textBoxNoRow.Size = New System.Drawing.Size(118, 23) + textBoxNoRow.TabIndex = 18 + ' + ' label2 + ' + label2.AutoSize = True + label2.Location = New System.Drawing.Point(152, 55) + label2.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label2.Name = "label2" + label2.Size = New System.Drawing.Size(75, 15) + label2.TabIndex = 4 + label2.Text = "Start Point Y:" + ' + ' textBoxPad1 + ' + textBoxPad1.Anchor = System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left Or System.Windows.Forms.AnchorStyles.Right + textBoxPad1.Location = New System.Drawing.Point(158, 67) + textBoxPad1.Margin = New System.Windows.Forms.Padding(4) + textBoxPad1.Name = "textBoxPad1" + textBoxPad1.Size = New System.Drawing.Size(120, 23) + textBoxPad1.TabIndex = 22 + ' + ' groupBox2 + ' + groupBox2.Anchor = System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right + groupBox2.Controls.Add(ButtonPickPoint) + groupBox2.Controls.Add(Label10) + groupBox2.Controls.Add(ComboBoxWallTypes) + groupBox2.Controls.Add(textBoxStartX) + groupBox2.Controls.Add(label1) + groupBox2.Controls.Add(label9) + groupBox2.Controls.Add(textBoxStartY) + groupBox2.Controls.Add(textBoxNoRow) + groupBox2.Controls.Add(label2) + groupBox2.Controls.Add(textBoxSpace) + groupBox2.Controls.Add(textBoxParameterRequiredDefault) + groupBox2.Controls.Add(label3) + groupBox2.Controls.Add(textBoxParameterRequiredArea) + groupBox2.Controls.Add(label5) + groupBox2.Controls.Add(label6) + groupBox2.ForeColor = Drawing.SystemColors.ControlText + groupBox2.Location = New System.Drawing.Point(364, 254) + groupBox2.Margin = New System.Windows.Forms.Padding(4) + groupBox2.Name = "groupBox2" + groupBox2.Padding = New System.Windows.Forms.Padding(4) + groupBox2.Size = New System.Drawing.Size(292, 344) + groupBox2.TabIndex = 43 + groupBox2.TabStop = False + groupBox2.Text = "Processing Options" + ' + ' ButtonPickPoint + ' + ButtonPickPoint.Anchor = System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left Or System.Windows.Forms.AnchorStyles.Right + ButtonPickPoint.Location = New System.Drawing.Point(13, 22) + ButtonPickPoint.Margin = New System.Windows.Forms.Padding(4) + ButtonPickPoint.Name = "ButtonPickPoint" + ButtonPickPoint.Size = New System.Drawing.Size(265, 29) + ButtonPickPoint.TabIndex = 44 + ButtonPickPoint.Text = "Pick Start Point" + ButtonPickPoint.UseVisualStyleBackColor = True + ' + ' Label10 + ' + Label10.AutoSize = True + Label10.Location = New System.Drawing.Point(12, 279) + Label10.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + Label10.Name = "Label10" + Label10.Size = New System.Drawing.Size(96, 15) + Label10.TabIndex = 45 + Label10.Text = "Wall Type to Use:" + ' + ' ComboBoxWallTypes + ' + ComboBoxWallTypes.Anchor = System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left Or System.Windows.Forms.AnchorStyles.Right + ComboBoxWallTypes.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList + ComboBoxWallTypes.FormattingEnabled = True + ComboBoxWallTypes.Location = New System.Drawing.Point(13, 300) + ComboBoxWallTypes.Margin = New System.Windows.Forms.Padding(4) + ComboBoxWallTypes.Name = "ComboBoxWallTypes" + ComboBoxWallTypes.Size = New System.Drawing.Size(263, 23) + ComboBoxWallTypes.TabIndex = 44 + ' + ' textBoxSpace + ' + textBoxSpace.Location = New System.Drawing.Point(12, 126) + textBoxSpace.Margin = New System.Windows.Forms.Padding(4) + textBoxSpace.Name = "textBoxSpace" + textBoxSpace.Size = New System.Drawing.Size(132, 23) + textBoxSpace.TabIndex = 6 + ' + ' textBoxParameterRequiredDefault + ' + textBoxParameterRequiredDefault.Anchor = System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left Or System.Windows.Forms.AnchorStyles.Right + textBoxParameterRequiredDefault.Location = New System.Drawing.Point(12, 242) + textBoxParameterRequiredDefault.Margin = New System.Windows.Forms.Padding(4) + textBoxParameterRequiredDefault.Name = "textBoxParameterRequiredDefault" + textBoxParameterRequiredDefault.Size = New System.Drawing.Size(264, 23) + textBoxParameterRequiredDefault.TabIndex = 12 + ' + ' label3 + ' + label3.AutoSize = True + label3.Location = New System.Drawing.Point(12, 109) + label3.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label3.Name = "label3" + label3.Size = New System.Drawing.Size(52, 15) + label3.TabIndex = 7 + label3.Text = "Spacing:" + ' + ' textBoxParameterRequiredArea + ' + textBoxParameterRequiredArea.Anchor = System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left Or System.Windows.Forms.AnchorStyles.Right + textBoxParameterRequiredArea.Location = New System.Drawing.Point(12, 186) + textBoxParameterRequiredArea.Margin = New System.Windows.Forms.Padding(4) + textBoxParameterRequiredArea.Name = "textBoxParameterRequiredArea" + textBoxParameterRequiredArea.Size = New System.Drawing.Size(264, 23) + textBoxParameterRequiredArea.TabIndex = 10 + ' + ' label5 + ' + label5.AutoSize = True + label5.Location = New System.Drawing.Point(10, 166) + label5.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label5.Name = "label5" + label5.Size = New System.Drawing.Size(141, 15) + label5.TabIndex = 11 + label5.Text = "Required Area Parameter:" + ' + ' label6 + ' + label6.AutoSize = True + label6.Location = New System.Drawing.Point(10, 223) + label6.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label6.Name = "label6" + label6.Size = New System.Drawing.Size(125, 15) + label6.TabIndex = 13 + label6.Text = "Default Required Area:" + ' + ' checkBoxListReverse + ' + checkBoxListReverse.AutoSize = True + checkBoxListReverse.Location = New System.Drawing.Point(13, 180) + checkBoxListReverse.Margin = New System.Windows.Forms.Padding(4) + checkBoxListReverse.Name = "checkBoxListReverse" + checkBoxListReverse.Size = New System.Drawing.Size(120, 19) + checkBoxListReverse.TabIndex = 24 + checkBoxListReverse.Text = "Reverse List Order" + checkBoxListReverse.UseVisualStyleBackColor = True + ' + ' textBoxPad2 + ' + textBoxPad2.Anchor = System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left Or System.Windows.Forms.AnchorStyles.Right + textBoxPad2.Location = New System.Drawing.Point(158, 142) + textBoxPad2.Margin = New System.Windows.Forms.Padding(4) + textBoxPad2.Name = "textBoxPad2" + textBoxPad2.Size = New System.Drawing.Size(120, 23) + textBoxPad2.TabIndex = 23 + ' + ' label8 + ' + label8.AutoSize = True + label8.Location = New System.Drawing.Point(12, 98) + label8.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label8.Name = "label8" + label8.Size = New System.Drawing.Size(94, 15) + label8.TabIndex = 17 + label8.Text = "List Parameter 2:" + ' + ' textBoxParameterList1 + ' + textBoxParameterList1.Anchor = System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left Or System.Windows.Forms.AnchorStyles.Right + textBoxParameterList1.Location = New System.Drawing.Point(13, 40) + textBoxParameterList1.Margin = New System.Windows.Forms.Padding(4) + textBoxParameterList1.Name = "textBoxParameterList1" + textBoxParameterList1.Size = New System.Drawing.Size(264, 23) + textBoxParameterList1.TabIndex = 14 + ' + ' listBoxRooms + ' + listBoxRooms.Anchor = System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left Or System.Windows.Forms.AnchorStyles.Right + listBoxRooms.FormattingEnabled = True + listBoxRooms.ItemHeight = 15 + listBoxRooms.Location = New System.Drawing.Point(15, 30) + listBoxRooms.Margin = New System.Windows.Forms.Padding(4) + listBoxRooms.Name = "listBoxRooms" + listBoxRooms.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended + listBoxRooms.Size = New System.Drawing.Size(342, 649) + listBoxRooms.TabIndex = 39 + ' + ' label4 + ' + label4.AutoSize = True + label4.Location = New System.Drawing.Point(14, 10) + label4.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label4.Name = "label4" + label4.Size = New System.Drawing.Size(126, 15) + label4.TabIndex = 40 + label4.Text = "Select Rooms to Place:" + ' + ' buttonCreate + ' + buttonCreate.Anchor = System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right + buttonCreate.Location = New System.Drawing.Point(364, 620) + buttonCreate.Margin = New System.Windows.Forms.Padding(4) + buttonCreate.Name = "buttonCreate" + buttonCreate.Size = New System.Drawing.Size(166, 59) + buttonCreate.TabIndex = 41 + buttonCreate.Text = "Create Selected Rooms" + buttonCreate.UseVisualStyleBackColor = True + ' + ' label7 + ' + label7.AutoSize = True + label7.Location = New System.Drawing.Point(12, 23) + label7.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label7.Name = "label7" + label7.Size = New System.Drawing.Size(94, 15) + label7.TabIndex = 15 + label7.Text = "List Parameter 1:" + ' + ' groupBox1 + ' + groupBox1.Anchor = System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right + groupBox1.Controls.Add(textBoxParameterList1) + groupBox1.Controls.Add(checkBoxListReverse) + groupBox1.Controls.Add(label7) + groupBox1.Controls.Add(textBoxPad2) + groupBox1.Controls.Add(textBoxParameterList2) + groupBox1.Controls.Add(textBoxPad1) + groupBox1.Controls.Add(label8) + groupBox1.Controls.Add(checkBoxPad1) + groupBox1.Controls.Add(checkBoxPad2) + groupBox1.ForeColor = Drawing.SystemColors.ControlText + groupBox1.Location = New System.Drawing.Point(364, 30) + groupBox1.Margin = New System.Windows.Forms.Padding(4) + groupBox1.Name = "groupBox1" + groupBox1.Padding = New System.Windows.Forms.Padding(4) + groupBox1.Size = New System.Drawing.Size(292, 217) + groupBox1.TabIndex = 42 + groupBox1.TabStop = False + groupBox1.Text = "List Selection Options" + ' + ' StatusStrip1 + ' + StatusStrip1.ImageScalingSize = New System.Drawing.Size(36, 36) + StatusStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {ToolStripProgressBar1, ToolStripStatusLabel1}) + StatusStrip1.Location = New System.Drawing.Point(0, 715) + StatusStrip1.Name = "StatusStrip1" + StatusStrip1.Padding = New System.Windows.Forms.Padding(1, 0, 16, 0) + StatusStrip1.Size = New System.Drawing.Size(662, 22) + StatusStrip1.TabIndex = 44 + StatusStrip1.Text = "StatusStrip1" + ' + ' ToolStripProgressBar1 + ' + ToolStripProgressBar1.Name = "ToolStripProgressBar1" + ToolStripProgressBar1.Size = New System.Drawing.Size(175, 22) + ToolStripProgressBar1.Visible = False + ' + ' ToolStripStatusLabel1 + ' + ToolStripStatusLabel1.Name = "ToolStripStatusLabel1" + ToolStripStatusLabel1.Size = New System.Drawing.Size(39, 17) + ToolStripStatusLabel1.Text = "Ready" + ' + ' form_ElemPlaceUnplacedRooms + ' + AutoScaleDimensions = New System.Drawing.SizeF(7F, 15F) + AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font + ClientSize = New System.Drawing.Size(662, 737) + Controls.Add(StatusStrip1) + Controls.Add(buttonClose) + Controls.Add(groupBox2) + Controls.Add(listBoxRooms) + Controls.Add(label4) + Controls.Add(buttonCreate) + Controls.Add(groupBox1) + Icon = CType(resources.GetObject("$this.Icon"), Drawing.Icon) + Margin = New System.Windows.Forms.Padding(4) + MaximizeBox = False + MaximumSize = New System.Drawing.Size(678, 850) + MinimizeBox = False + MinimumSize = New System.Drawing.Size(678, 776) + Name = "form_ElemPlaceUnplacedRooms" + StartPosition = System.Windows.Forms.FormStartPosition.CenterParent + Text = "Place Unplaced Rooms" + TopMost = True + groupBox2.ResumeLayout(False) + groupBox2.PerformLayout() + groupBox1.ResumeLayout(False) + groupBox1.PerformLayout() + StatusStrip1.ResumeLayout(False) + StatusStrip1.PerformLayout() + ResumeLayout(False) + PerformLayout() + + End Sub + Private WithEvents textBoxStartX As System.Windows.Forms.TextBox + Private WithEvents label1 As System.Windows.Forms.Label + Private WithEvents buttonClose As System.Windows.Forms.Button + Private WithEvents checkBoxPad1 As System.Windows.Forms.CheckBox + Private WithEvents label9 As System.Windows.Forms.Label + Private WithEvents textBoxParameterList2 As System.Windows.Forms.TextBox + Private WithEvents textBoxStartY As System.Windows.Forms.TextBox + Private WithEvents checkBoxPad2 As System.Windows.Forms.CheckBox + Private WithEvents textBoxNoRow As System.Windows.Forms.TextBox + Private WithEvents label2 As System.Windows.Forms.Label + Private WithEvents textBoxPad1 As System.Windows.Forms.TextBox + Private WithEvents groupBox2 As System.Windows.Forms.GroupBox + Private WithEvents textBoxSpace As System.Windows.Forms.TextBox + Private WithEvents textBoxParameterRequiredDefault As System.Windows.Forms.TextBox + Private WithEvents label3 As System.Windows.Forms.Label + Private WithEvents textBoxParameterRequiredArea As System.Windows.Forms.TextBox + Private WithEvents label5 As System.Windows.Forms.Label + Private WithEvents label6 As System.Windows.Forms.Label + Private WithEvents checkBoxListReverse As System.Windows.Forms.CheckBox + Private WithEvents textBoxPad2 As System.Windows.Forms.TextBox + Private WithEvents label8 As System.Windows.Forms.Label + Private WithEvents textBoxParameterList1 As System.Windows.Forms.TextBox + Private WithEvents listBoxRooms As System.Windows.Forms.ListBox + Private WithEvents label4 As System.Windows.Forms.Label + Private WithEvents buttonCreate As System.Windows.Forms.Button + Private WithEvents label7 As System.Windows.Forms.Label + Private WithEvents groupBox1 As System.Windows.Forms.GroupBox + Friend WithEvents ComboBoxWallTypes As System.Windows.Forms.ComboBox + Private WithEvents Label10 As System.Windows.Forms.Label + Private WithEvents ButtonPickPoint As System.Windows.Forms.Button + Friend WithEvents StatusStrip1 As System.Windows.Forms.StatusStrip + Friend WithEvents ToolStripProgressBar1 As System.Windows.Forms.ToolStripProgressBar + Friend WithEvents ToolStripStatusLabel1 As System.Windows.Forms.ToolStripStatusLabel +End Class diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemPlaceUnplacedRooms.resx b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemPlaceUnplacedRooms.resx similarity index 95% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemPlaceUnplacedRooms.resx rename to HOK.ElementTools/HOK.ElementTools/Forms/form_ElemPlaceUnplacedRooms.resx index 747da7f9..46697573 100644 --- a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemPlaceUnplacedRooms.resx +++ b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemPlaceUnplacedRooms.resx @@ -1,17 +1,17 @@ - @@ -120,6 +120,9 @@ 17, 17 + + 81 + diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemPlaceUnplacedRooms.vb b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemPlaceUnplacedRooms.vb similarity index 100% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemPlaceUnplacedRooms.vb rename to HOK.ElementTools/HOK.ElementTools/Forms/form_ElemPlaceUnplacedRooms.vb diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemProgress.Designer.vb b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemProgress.Designer.vb similarity index 100% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemProgress.Designer.vb rename to HOK.ElementTools/HOK.ElementTools/Forms/form_ElemProgress.Designer.vb diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemProgress.resx b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemProgress.resx similarity index 100% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemProgress.resx rename to HOK.ElementTools/HOK.ElementTools/Forms/form_ElemProgress.resx diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemProgress.vb b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemProgress.vb similarity index 100% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemProgress.vb rename to HOK.ElementTools/HOK.ElementTools/Forms/form_ElemProgress.vb diff --git a/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemRoomsFromAreas.Designer.vb b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemRoomsFromAreas.Designer.vb new file mode 100644 index 00000000..004e5d49 --- /dev/null +++ b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemRoomsFromAreas.Designer.vb @@ -0,0 +1,341 @@ + _ +Partial Class form_ElemRoomsFromAreas + Inherits System.Windows.Forms.Form + + 'Form overrides dispose to clean up the component list. + _ + Protected Overrides Sub Dispose(ByVal disposing As Boolean) + Try + If disposing AndAlso components IsNot Nothing Then + components.Dispose() + End If + Finally + MyBase.Dispose(disposing) + End Try + End Sub + + 'Required by the Windows Form Designer + Private components As System.ComponentModel.IContainer + + 'NOTE: The following procedure is required by the Windows Form Designer + 'It can be modified using the Windows Form Designer. + 'Do not modify it using the code editor. + _ + Private Sub InitializeComponent() + Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(form_ElemRoomsFromAreas)) + radioButtonPlaced = New System.Windows.Forms.RadioButton() + groupBox1 = New System.Windows.Forms.GroupBox() + checkBoxListReverse = New System.Windows.Forms.CheckBox() + groupBoxPlaced = New System.Windows.Forms.GroupBox() + radioButtonBoth = New System.Windows.Forms.RadioButton() + radioButtonNotPlaced = New System.Windows.Forms.RadioButton() + textBoxPad2 = New System.Windows.Forms.TextBox() + textBoxPad1 = New System.Windows.Forms.TextBox() + textBoxParameterList1 = New System.Windows.Forms.TextBox() + label7 = New System.Windows.Forms.Label() + textBoxParameterList2 = New System.Windows.Forms.TextBox() + label8 = New System.Windows.Forms.Label() + checkBoxPad1 = New System.Windows.Forms.CheckBox() + checkBoxPad2 = New System.Windows.Forms.CheckBox() + groupBox2 = New System.Windows.Forms.GroupBox() + buttonCreate = New System.Windows.Forms.Button() + label4 = New System.Windows.Forms.Label() + buttonClose = New System.Windows.Forms.Button() + listBoxAreas = New System.Windows.Forms.ListBox() + StatusStrip1 = New System.Windows.Forms.StatusStrip() + ToolStripProgressBar1 = New System.Windows.Forms.ToolStripProgressBar() + ToolStripStatusLabel1 = New System.Windows.Forms.ToolStripStatusLabel() + groupBox1.SuspendLayout() + groupBoxPlaced.SuspendLayout() + StatusStrip1.SuspendLayout() + SuspendLayout() + ' + ' radioButtonPlaced + ' + radioButtonPlaced.AutoSize = True + radioButtonPlaced.Location = New System.Drawing.Point(13, 17) + radioButtonPlaced.Margin = New System.Windows.Forms.Padding(4) + radioButtonPlaced.Name = "radioButtonPlaced" + radioButtonPlaced.Size = New System.Drawing.Size(60, 19) + radioButtonPlaced.TabIndex = 0 + radioButtonPlaced.TabStop = True + radioButtonPlaced.Text = "Placed" + radioButtonPlaced.UseVisualStyleBackColor = True + ' + ' groupBox1 + ' + groupBox1.Controls.Add(checkBoxListReverse) + groupBox1.Controls.Add(groupBoxPlaced) + groupBox1.Controls.Add(textBoxPad2) + groupBox1.Controls.Add(textBoxPad1) + groupBox1.Controls.Add(textBoxParameterList1) + groupBox1.Controls.Add(label7) + groupBox1.Controls.Add(textBoxParameterList2) + groupBox1.Controls.Add(label8) + groupBox1.Controls.Add(checkBoxPad1) + groupBox1.Controls.Add(checkBoxPad2) + groupBox1.ForeColor = Drawing.SystemColors.ControlText + groupBox1.Location = New System.Drawing.Point(380, 21) + groupBox1.Margin = New System.Windows.Forms.Padding(4) + groupBox1.Name = "groupBox1" + groupBox1.Padding = New System.Windows.Forms.Padding(4) + groupBox1.Size = New System.Drawing.Size(208, 334) + groupBox1.TabIndex = 57 + groupBox1.TabStop = False + groupBox1.Text = "List Selection Options" + ' + ' checkBoxListReverse + ' + checkBoxListReverse.AutoSize = True + checkBoxListReverse.Location = New System.Drawing.Point(18, 293) + checkBoxListReverse.Margin = New System.Windows.Forms.Padding(4) + checkBoxListReverse.Name = "checkBoxListReverse" + checkBoxListReverse.Size = New System.Drawing.Size(120, 19) + checkBoxListReverse.TabIndex = 49 + checkBoxListReverse.Text = "Reverse List Order" + checkBoxListReverse.UseVisualStyleBackColor = True + ' + ' groupBoxPlaced + ' + groupBoxPlaced.Controls.Add(radioButtonBoth) + groupBoxPlaced.Controls.Add(radioButtonNotPlaced) + groupBoxPlaced.Controls.Add(radioButtonPlaced) + groupBoxPlaced.ForeColor = Drawing.SystemColors.ControlText + groupBoxPlaced.Location = New System.Drawing.Point(16, 22) + groupBoxPlaced.Margin = New System.Windows.Forms.Padding(4) + groupBoxPlaced.Name = "groupBoxPlaced" + groupBoxPlaced.Padding = New System.Windows.Forms.Padding(4) + groupBoxPlaced.Size = New System.Drawing.Size(175, 95) + groupBoxPlaced.TabIndex = 50 + groupBoxPlaced.TabStop = False + groupBoxPlaced.Text = "Include" + ' + ' radioButtonBoth + ' + radioButtonBoth.AutoSize = True + radioButtonBoth.Location = New System.Drawing.Point(13, 65) + radioButtonBoth.Margin = New System.Windows.Forms.Padding(4) + radioButtonBoth.Name = "radioButtonBoth" + radioButtonBoth.Size = New System.Drawing.Size(50, 19) + radioButtonBoth.TabIndex = 2 + radioButtonBoth.TabStop = True + radioButtonBoth.Text = "Both" + radioButtonBoth.UseVisualStyleBackColor = True + ' + ' radioButtonNotPlaced + ' + radioButtonNotPlaced.AutoSize = True + radioButtonNotPlaced.Location = New System.Drawing.Point(13, 40) + radioButtonNotPlaced.Margin = New System.Windows.Forms.Padding(4) + radioButtonNotPlaced.Name = "radioButtonNotPlaced" + radioButtonNotPlaced.Size = New System.Drawing.Size(83, 19) + radioButtonNotPlaced.TabIndex = 1 + radioButtonNotPlaced.TabStop = True + radioButtonNotPlaced.Text = "Not Placed" + radioButtonNotPlaced.UseVisualStyleBackColor = True + ' + ' textBoxPad2 + ' + textBoxPad2.Location = New System.Drawing.Point(156, 248) + textBoxPad2.Margin = New System.Windows.Forms.Padding(4) + textBoxPad2.Name = "textBoxPad2" + textBoxPad2.Size = New System.Drawing.Size(36, 23) + textBoxPad2.TabIndex = 48 + ' + ' textBoxPad1 + ' + textBoxPad1.Location = New System.Drawing.Point(156, 170) + textBoxPad1.Margin = New System.Windows.Forms.Padding(4) + textBoxPad1.Name = "textBoxPad1" + textBoxPad1.Size = New System.Drawing.Size(36, 23) + textBoxPad1.TabIndex = 47 + ' + ' textBoxParameterList1 + ' + textBoxParameterList1.Location = New System.Drawing.Point(18, 144) + textBoxParameterList1.Margin = New System.Windows.Forms.Padding(4) + textBoxParameterList1.Name = "textBoxParameterList1" + textBoxParameterList1.Size = New System.Drawing.Size(176, 23) + textBoxParameterList1.TabIndex = 39 + ' + ' label7 + ' + label7.AutoSize = True + label7.Location = New System.Drawing.Point(18, 127) + label7.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label7.Name = "label7" + label7.Size = New System.Drawing.Size(94, 15) + label7.TabIndex = 40 + label7.Text = "List Parameter 1:" + ' + ' textBoxParameterList2 + ' + textBoxParameterList2.Location = New System.Drawing.Point(18, 223) + textBoxParameterList2.Margin = New System.Windows.Forms.Padding(4) + textBoxParameterList2.Name = "textBoxParameterList2" + textBoxParameterList2.Size = New System.Drawing.Size(176, 23) + textBoxParameterList2.TabIndex = 41 + ' + ' label8 + ' + label8.AutoSize = True + label8.Location = New System.Drawing.Point(14, 205) + label8.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label8.Name = "label8" + label8.Size = New System.Drawing.Size(94, 15) + label8.TabIndex = 42 + label8.Text = "List Parameter 2:" + ' + ' checkBoxPad1 + ' + checkBoxPad1.AutoSize = True + checkBoxPad1.Location = New System.Drawing.Point(18, 173) + checkBoxPad1.Margin = New System.Windows.Forms.Padding(4) + checkBoxPad1.Name = "checkBoxPad1" + checkBoxPad1.Size = New System.Drawing.Size(126, 19) + checkBoxPad1.TabIndex = 45 + checkBoxPad1.Text = "Pad Value w/ Zeros" + checkBoxPad1.UseVisualStyleBackColor = True + ' + ' checkBoxPad2 + ' + checkBoxPad2.AutoSize = True + checkBoxPad2.Location = New System.Drawing.Point(18, 251) + checkBoxPad2.Margin = New System.Windows.Forms.Padding(4) + checkBoxPad2.Name = "checkBoxPad2" + checkBoxPad2.Size = New System.Drawing.Size(126, 19) + checkBoxPad2.TabIndex = 46 + checkBoxPad2.Text = "Pad Value w/ Zeros" + checkBoxPad2.UseVisualStyleBackColor = True + ' + ' groupBox2 + ' + groupBox2.ForeColor = Drawing.SystemColors.ControlText + groupBox2.Location = New System.Drawing.Point(380, 404) + groupBox2.Margin = New System.Windows.Forms.Padding(4) + groupBox2.Name = "groupBox2" + groupBox2.Padding = New System.Windows.Forms.Padding(4) + groupBox2.Size = New System.Drawing.Size(208, 94) + groupBox2.TabIndex = 58 + groupBox2.TabStop = False + groupBox2.Text = "Processing Options" + ' + ' buttonCreate + ' + buttonCreate.Location = New System.Drawing.Point(15, 517) + buttonCreate.Margin = New System.Windows.Forms.Padding(4) + buttonCreate.Name = "buttonCreate" + buttonCreate.Size = New System.Drawing.Size(208, 34) + buttonCreate.TabIndex = 56 + buttonCreate.Text = "Create Rooms" + buttonCreate.UseVisualStyleBackColor = True + ' + ' label4 + ' + label4.AutoSize = True + label4.Location = New System.Drawing.Point(14, 10) + label4.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label4.Name = "label4" + label4.Size = New System.Drawing.Size(172, 15) + label4.TabIndex = 55 + label4.Text = "Select Areas to Place as Rooms:" + ' + ' buttonClose + ' + buttonClose.Location = New System.Drawing.Point(372, 517) + buttonClose.Margin = New System.Windows.Forms.Padding(4) + buttonClose.Name = "buttonClose" + buttonClose.Size = New System.Drawing.Size(208, 34) + buttonClose.TabIndex = 53 + buttonClose.Text = "Close" + buttonClose.UseVisualStyleBackColor = True + ' + ' listBoxAreas + ' + listBoxAreas.FormattingEnabled = True + listBoxAreas.ItemHeight = 15 + listBoxAreas.Location = New System.Drawing.Point(15, 43) + listBoxAreas.Margin = New System.Windows.Forms.Padding(4) + listBoxAreas.Name = "listBoxAreas" + listBoxAreas.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended + listBoxAreas.Size = New System.Drawing.Size(350, 454) + listBoxAreas.TabIndex = 54 + ' + ' StatusStrip1 + ' + StatusStrip1.ImageScalingSize = New System.Drawing.Size(36, 36) + StatusStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {ToolStripProgressBar1, ToolStripStatusLabel1}) + StatusStrip1.Location = New System.Drawing.Point(0, 584) + StatusStrip1.Name = "StatusStrip1" + StatusStrip1.Padding = New System.Windows.Forms.Padding(1, 0, 16, 0) + StatusStrip1.Size = New System.Drawing.Size(590, 22) + StatusStrip1.TabIndex = 59 + StatusStrip1.Text = "StatusStrip1" + ' + ' ToolStripProgressBar1 + ' + ToolStripProgressBar1.Name = "ToolStripProgressBar1" + ToolStripProgressBar1.Size = New System.Drawing.Size(175, 22) + ToolStripProgressBar1.Visible = False + ' + ' ToolStripStatusLabel1 + ' + ToolStripStatusLabel1.Name = "ToolStripStatusLabel1" + ToolStripStatusLabel1.Size = New System.Drawing.Size(39, 17) + ToolStripStatusLabel1.Text = "Ready" + ' + ' form_ElemRoomsFromAreas + ' + AutoScaleDimensions = New System.Drawing.SizeF(7F, 15F) + AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font + ClientSize = New System.Drawing.Size(590, 606) + Controls.Add(StatusStrip1) + Controls.Add(groupBox1) + Controls.Add(groupBox2) + Controls.Add(buttonCreate) + Controls.Add(label4) + Controls.Add(buttonClose) + Controls.Add(listBoxAreas) + Icon = CType(resources.GetObject("$this.Icon"), Drawing.Icon) + Margin = New System.Windows.Forms.Padding(4) + MaximizeBox = False + MaximumSize = New System.Drawing.Size(606, 800) + MinimizeBox = False + MinimumSize = New System.Drawing.Size(606, 623) + Name = "form_ElemRoomsFromAreas" + StartPosition = System.Windows.Forms.FormStartPosition.CenterParent + Text = "Rooms From Areas" + TopMost = True + groupBox1.ResumeLayout(False) + groupBox1.PerformLayout() + groupBoxPlaced.ResumeLayout(False) + groupBoxPlaced.PerformLayout() + StatusStrip1.ResumeLayout(False) + StatusStrip1.PerformLayout() + ResumeLayout(False) + PerformLayout() + + End Sub + Private WithEvents radioButtonPlaced As System.Windows.Forms.RadioButton + Private WithEvents groupBox1 As System.Windows.Forms.GroupBox + Private WithEvents checkBoxListReverse As System.Windows.Forms.CheckBox + Private WithEvents groupBoxPlaced As System.Windows.Forms.GroupBox + Private WithEvents radioButtonBoth As System.Windows.Forms.RadioButton + Private WithEvents radioButtonNotPlaced As System.Windows.Forms.RadioButton + Private WithEvents textBoxPad2 As System.Windows.Forms.TextBox + Private WithEvents textBoxPad1 As System.Windows.Forms.TextBox + Private WithEvents textBoxParameterList1 As System.Windows.Forms.TextBox + Private WithEvents label7 As System.Windows.Forms.Label + Private WithEvents textBoxParameterList2 As System.Windows.Forms.TextBox + Private WithEvents label8 As System.Windows.Forms.Label + Private WithEvents checkBoxPad1 As System.Windows.Forms.CheckBox + Private WithEvents checkBoxPad2 As System.Windows.Forms.CheckBox + Private WithEvents groupBox2 As System.Windows.Forms.GroupBox + Private WithEvents buttonCreate As System.Windows.Forms.Button + Private WithEvents label4 As System.Windows.Forms.Label + Private WithEvents buttonClose As System.Windows.Forms.Button + Private WithEvents listBoxAreas As System.Windows.Forms.ListBox + Friend WithEvents StatusStrip1 As System.Windows.Forms.StatusStrip + Friend WithEvents ToolStripProgressBar1 As System.Windows.Forms.ToolStripProgressBar + Friend WithEvents ToolStripStatusLabel1 As System.Windows.Forms.ToolStripStatusLabel +End Class diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemRoomsFromAreas.resx b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemRoomsFromAreas.resx similarity index 96% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemRoomsFromAreas.resx rename to HOK.ElementTools/HOK.ElementTools/Forms/form_ElemRoomsFromAreas.resx index 747da7f9..8fe91a30 100644 --- a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemRoomsFromAreas.resx +++ b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemRoomsFromAreas.resx @@ -1,17 +1,17 @@ - diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemRoomsFromAreas.vb b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemRoomsFromAreas.vb similarity index 100% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemRoomsFromAreas.vb rename to HOK.ElementTools/HOK.ElementTools/Forms/form_ElemRoomsFromAreas.vb diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSelectAreaTag.Designer.vb b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSelectAreaTag.Designer.vb similarity index 100% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSelectAreaTag.Designer.vb rename to HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSelectAreaTag.Designer.vb diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSelectAreaTag.resx b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSelectAreaTag.resx similarity index 100% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSelectAreaTag.resx rename to HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSelectAreaTag.resx diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSelectAreaTag.vb b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSelectAreaTag.vb similarity index 100% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSelectAreaTag.vb rename to HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSelectAreaTag.vb diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSelectRoomTag.Designer.vb b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSelectRoomTag.Designer.vb similarity index 100% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSelectRoomTag.Designer.vb rename to HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSelectRoomTag.Designer.vb diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSelectRoomTag.resx b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSelectRoomTag.resx similarity index 100% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSelectRoomTag.resx rename to HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSelectRoomTag.resx diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSelectRoomTag.vb b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSelectRoomTag.vb similarity index 100% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSelectRoomTag.vb rename to HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSelectRoomTag.vb diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSelectTitleblock.Designer.vb b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSelectTitleblock.Designer.vb similarity index 100% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSelectTitleblock.Designer.vb rename to HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSelectTitleblock.Designer.vb diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSelectTitleblock.resx b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSelectTitleblock.resx similarity index 100% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSelectTitleblock.resx rename to HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSelectTitleblock.resx diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSelectTitleblock.vb b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSelectTitleblock.vb similarity index 100% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSelectTitleblock.vb rename to HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSelectTitleblock.vb diff --git a/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSheetsFromViews.Designer.vb b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSheetsFromViews.Designer.vb new file mode 100644 index 00000000..7af90d92 --- /dev/null +++ b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSheetsFromViews.Designer.vb @@ -0,0 +1,244 @@ + _ +Partial Class form_ElemSheetsFromViews + Inherits System.Windows.Forms.Form + + 'Form overrides dispose to clean up the component list. + _ + Protected Overrides Sub Dispose(ByVal disposing As Boolean) + Try + If disposing AndAlso components IsNot Nothing Then + components.Dispose() + End If + Finally + MyBase.Dispose(disposing) + End Try + End Sub + + 'Required by the Windows Form Designer + Private components As System.ComponentModel.IContainer + + 'NOTE: The following procedure is required by the Windows Form Designer + 'It can be modified using the Windows Form Designer. + 'Do not modify it using the code editor. + _ + Private Sub InitializeComponent() + Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(form_ElemSheetsFromViews)) + buttonSelect = New System.Windows.Forms.Button() + folderBrowserDialogImages = New System.Windows.Forms.FolderBrowserDialog() + textBoxTitleblock = New System.Windows.Forms.TextBox() + label1 = New System.Windows.Forms.Label() + checkBoxIncludeExisting = New System.Windows.Forms.CheckBox() + buttonClose = New System.Windows.Forms.Button() + checkBoxRestrictPrefix = New System.Windows.Forms.CheckBox() + textBoxRestrictPrefixValue = New System.Windows.Forms.TextBox() + groupBox1 = New System.Windows.Forms.GroupBox() + checkBoxListReverse = New System.Windows.Forms.CheckBox() + buttonCreate = New System.Windows.Forms.Button() + listBoxViews = New System.Windows.Forms.ListBox() + label4 = New System.Windows.Forms.Label() + StatusStrip1 = New System.Windows.Forms.StatusStrip() + ToolStripProgressBar1 = New System.Windows.Forms.ToolStripProgressBar() + ToolStripStatusLabel1 = New System.Windows.Forms.ToolStripStatusLabel() + groupBox1.SuspendLayout() + StatusStrip1.SuspendLayout() + SuspendLayout() + ' + ' buttonSelect + ' + buttonSelect.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25F, Drawing.FontStyle.Bold, Drawing.GraphicsUnit.Point, CByte(0)) + buttonSelect.Location = New System.Drawing.Point(553, 24) + buttonSelect.Margin = New System.Windows.Forms.Padding(4) + buttonSelect.Name = "buttonSelect" + buttonSelect.Size = New System.Drawing.Size(34, 30) + buttonSelect.TabIndex = 43 + buttonSelect.Text = "..." + buttonSelect.UseVisualStyleBackColor = True + ' + ' textBoxTitleblock + ' + textBoxTitleblock.Location = New System.Drawing.Point(14, 29) + textBoxTitleblock.Margin = New System.Windows.Forms.Padding(4) + textBoxTitleblock.Name = "textBoxTitleblock" + textBoxTitleblock.Size = New System.Drawing.Size(532, 23) + textBoxTitleblock.TabIndex = 41 + ' + ' label1 + ' + label1.AutoSize = True + label1.Location = New System.Drawing.Point(14, 10) + label1.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label1.Name = "label1" + label1.Size = New System.Drawing.Size(179, 15) + label1.TabIndex = 42 + label1.Text = "Titleblock to Use for New Sheets:" + ' + ' checkBoxIncludeExisting + ' + checkBoxIncludeExisting.AutoSize = True + checkBoxIncludeExisting.Location = New System.Drawing.Point(13, 25) + checkBoxIncludeExisting.Margin = New System.Windows.Forms.Padding(4) + checkBoxIncludeExisting.Name = "checkBoxIncludeExisting" + checkBoxIncludeExisting.Size = New System.Drawing.Size(155, 19) + checkBoxIncludeExisting.TabIndex = 31 + checkBoxIncludeExisting.Text = "List and Replace Existing" + checkBoxIncludeExisting.UseVisualStyleBackColor = True + ' + ' buttonClose + ' + buttonClose.Location = New System.Drawing.Point(370, 514) + buttonClose.Margin = New System.Windows.Forms.Padding(4) + buttonClose.Name = "buttonClose" + buttonClose.Size = New System.Drawing.Size(208, 34) + buttonClose.TabIndex = 37 + buttonClose.Text = "Close" + buttonClose.UseVisualStyleBackColor = True + ' + ' checkBoxRestrictPrefix + ' + checkBoxRestrictPrefix.AutoSize = True + checkBoxRestrictPrefix.Location = New System.Drawing.Point(13, 65) + checkBoxRestrictPrefix.Margin = New System.Windows.Forms.Padding(4) + checkBoxRestrictPrefix.Name = "checkBoxRestrictPrefix" + checkBoxRestrictPrefix.Size = New System.Drawing.Size(172, 19) + checkBoxRestrictPrefix.TabIndex = 29 + checkBoxRestrictPrefix.Text = "Restrict to Names w/ Prefix:" + checkBoxRestrictPrefix.UseVisualStyleBackColor = True + ' + ' textBoxRestrictPrefixValue + ' + textBoxRestrictPrefixValue.Location = New System.Drawing.Point(13, 85) + textBoxRestrictPrefixValue.Margin = New System.Windows.Forms.Padding(4) + textBoxRestrictPrefixValue.Name = "textBoxRestrictPrefixValue" + textBoxRestrictPrefixValue.Size = New System.Drawing.Size(176, 23) + textBoxRestrictPrefixValue.TabIndex = 28 + ' + ' groupBox1 + ' + groupBox1.Controls.Add(checkBoxIncludeExisting) + groupBox1.Controls.Add(checkBoxRestrictPrefix) + groupBox1.Controls.Add(textBoxRestrictPrefixValue) + groupBox1.Controls.Add(checkBoxListReverse) + groupBox1.ForeColor = Drawing.SystemColors.ControlText + groupBox1.Location = New System.Drawing.Point(379, 80) + groupBox1.Margin = New System.Windows.Forms.Padding(4) + groupBox1.Name = "groupBox1" + groupBox1.Padding = New System.Windows.Forms.Padding(4) + groupBox1.Size = New System.Drawing.Size(208, 172) + groupBox1.TabIndex = 44 + groupBox1.TabStop = False + groupBox1.Text = "List Selection Options" + ' + ' checkBoxListReverse + ' + checkBoxListReverse.AutoSize = True + checkBoxListReverse.Location = New System.Drawing.Point(13, 131) + checkBoxListReverse.Margin = New System.Windows.Forms.Padding(4) + checkBoxListReverse.Name = "checkBoxListReverse" + checkBoxListReverse.Size = New System.Drawing.Size(120, 19) + checkBoxListReverse.TabIndex = 24 + checkBoxListReverse.Text = "Reverse List Order" + checkBoxListReverse.UseVisualStyleBackColor = True + ' + ' buttonCreate + ' + buttonCreate.Location = New System.Drawing.Point(14, 514) + buttonCreate.Margin = New System.Windows.Forms.Padding(4) + buttonCreate.Name = "buttonCreate" + buttonCreate.Size = New System.Drawing.Size(208, 34) + buttonCreate.TabIndex = 40 + buttonCreate.Text = "Create Sheets" + buttonCreate.UseVisualStyleBackColor = True + ' + ' listBoxViews + ' + listBoxViews.FormattingEnabled = True + listBoxViews.ItemHeight = 15 + listBoxViews.Location = New System.Drawing.Point(14, 86) + listBoxViews.Margin = New System.Windows.Forms.Padding(4) + listBoxViews.Name = "listBoxViews" + listBoxViews.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended + listBoxViews.Size = New System.Drawing.Size(350, 409) + listBoxViews.TabIndex = 38 + ' + ' label4 + ' + label4.AutoSize = True + label4.Location = New System.Drawing.Point(14, 68) + label4.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label4.Name = "label4" + label4.Size = New System.Drawing.Size(234, 15) + label4.TabIndex = 39 + label4.Text = "Select Views For Which to Create an Image:" + ' + ' StatusStrip1 + ' + StatusStrip1.ImageScalingSize = New System.Drawing.Size(36, 36) + StatusStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {ToolStripProgressBar1, ToolStripStatusLabel1}) + StatusStrip1.Location = New System.Drawing.Point(0, 559) + StatusStrip1.Name = "StatusStrip1" + StatusStrip1.Padding = New System.Windows.Forms.Padding(1, 0, 16, 0) + StatusStrip1.Size = New System.Drawing.Size(593, 22) + StatusStrip1.TabIndex = 45 + StatusStrip1.Text = "StatusStrip1" + ' + ' ToolStripProgressBar1 + ' + ToolStripProgressBar1.Name = "ToolStripProgressBar1" + ToolStripProgressBar1.Size = New System.Drawing.Size(175, 22) + ToolStripProgressBar1.Visible = False + ' + ' ToolStripStatusLabel1 + ' + ToolStripStatusLabel1.Name = "ToolStripStatusLabel1" + ToolStripStatusLabel1.Size = New System.Drawing.Size(39, 17) + ToolStripStatusLabel1.Text = "Ready" + ' + ' form_ElemSheetsFromViews + ' + AutoScaleDimensions = New System.Drawing.SizeF(7F, 15F) + AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font + ClientSize = New System.Drawing.Size(593, 581) + Controls.Add(StatusStrip1) + Controls.Add(buttonSelect) + Controls.Add(textBoxTitleblock) + Controls.Add(label1) + Controls.Add(buttonClose) + Controls.Add(groupBox1) + Controls.Add(buttonCreate) + Controls.Add(listBoxViews) + Controls.Add(label4) + Icon = CType(resources.GetObject("$this.Icon"), Drawing.Icon) + Margin = New System.Windows.Forms.Padding(4) + MaximizeBox = False + MaximumSize = New System.Drawing.Size(609, 800) + MinimizeBox = False + MinimumSize = New System.Drawing.Size(609, 620) + Name = "form_ElemSheetsFromViews" + StartPosition = System.Windows.Forms.FormStartPosition.CenterParent + Text = "Sheets From Views" + TopMost = True + groupBox1.ResumeLayout(False) + groupBox1.PerformLayout() + StatusStrip1.ResumeLayout(False) + StatusStrip1.PerformLayout() + ResumeLayout(False) + PerformLayout() + + End Sub + Private WithEvents buttonSelect As System.Windows.Forms.Button + Private WithEvents folderBrowserDialogImages As System.Windows.Forms.FolderBrowserDialog + Private WithEvents textBoxTitleblock As System.Windows.Forms.TextBox + Private WithEvents label1 As System.Windows.Forms.Label + Private WithEvents checkBoxIncludeExisting As System.Windows.Forms.CheckBox + Private WithEvents buttonClose As System.Windows.Forms.Button + Private WithEvents checkBoxRestrictPrefix As System.Windows.Forms.CheckBox + Private WithEvents textBoxRestrictPrefixValue As System.Windows.Forms.TextBox + Private WithEvents groupBox1 As System.Windows.Forms.GroupBox + Private WithEvents checkBoxListReverse As System.Windows.Forms.CheckBox + Private WithEvents buttonCreate As System.Windows.Forms.Button + Private WithEvents listBoxViews As System.Windows.Forms.ListBox + Private WithEvents label4 As System.Windows.Forms.Label + Friend WithEvents StatusStrip1 As System.Windows.Forms.StatusStrip + Friend WithEvents ToolStripProgressBar1 As System.Windows.Forms.ToolStripProgressBar + Friend WithEvents ToolStripStatusLabel1 As System.Windows.Forms.ToolStripStatusLabel +End Class diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSheetsFromViews.resx b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSheetsFromViews.resx similarity index 96% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSheetsFromViews.resx rename to HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSheetsFromViews.resx index 917ae25c..744f4994 100644 --- a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSheetsFromViews.resx +++ b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSheetsFromViews.resx @@ -1,17 +1,17 @@ - diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSheetsFromViews.vb b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSheetsFromViews.vb similarity index 100% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSheetsFromViews.vb rename to HOK.ElementTools/HOK.ElementTools/Forms/form_ElemSheetsFromViews.vb diff --git a/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemTagViews.Designer.vb b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemTagViews.Designer.vb new file mode 100644 index 00000000..d52ce28b --- /dev/null +++ b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemTagViews.Designer.vb @@ -0,0 +1,336 @@ + _ +Partial Class form_ElemTagViews + Inherits System.Windows.Forms.Form + + 'Form overrides dispose to clean up the component list. + _ + Protected Overrides Sub Dispose(ByVal disposing As Boolean) + Try + If disposing AndAlso components IsNot Nothing Then + components.Dispose() + End If + Finally + MyBase.Dispose(disposing) + End Try + End Sub + + 'Required by the Windows Form Designer + Private components As System.ComponentModel.IContainer + + 'NOTE: The following procedure is required by the Windows Form Designer + 'It can be modified using the Windows Form Designer. + 'Do not modify it using the code editor. + _ + Private Sub InitializeComponent() + Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(form_ElemTagViews)) + groupBox2 = New System.Windows.Forms.GroupBox() + checkBoxStripSuffix = New System.Windows.Forms.CheckBox() + textBoxPrefixViewSource = New System.Windows.Forms.TextBox() + label3 = New System.Windows.Forms.Label() + textBoxParameterViewName = New System.Windows.Forms.TextBox() + label2 = New System.Windows.Forms.Label() + groupBox1 = New System.Windows.Forms.GroupBox() + label5 = New System.Windows.Forms.Label() + textBoxRestrictPrefixValue = New System.Windows.Forms.TextBox() + checkBoxListReverse = New System.Windows.Forms.CheckBox() + checkBoxRestrictPrefix = New System.Windows.Forms.CheckBox() + checkBoxIncludeExisting = New System.Windows.Forms.CheckBox() + buttonSelect = New System.Windows.Forms.Button() + folderBrowserDialogImages = New System.Windows.Forms.FolderBrowserDialog() + buttonAddTags = New System.Windows.Forms.Button() + listBoxViews = New System.Windows.Forms.ListBox() + label4 = New System.Windows.Forms.Label() + textBoxRoomTag = New System.Windows.Forms.TextBox() + label1 = New System.Windows.Forms.Label() + buttonClose = New System.Windows.Forms.Button() + StatusStrip1 = New System.Windows.Forms.StatusStrip() + ToolStripProgressBar1 = New System.Windows.Forms.ToolStripProgressBar() + ToolStripStatusLabel1 = New System.Windows.Forms.ToolStripStatusLabel() + groupBox2.SuspendLayout() + groupBox1.SuspendLayout() + StatusStrip1.SuspendLayout() + SuspendLayout() + ' + ' groupBox2 + ' + groupBox2.Controls.Add(checkBoxStripSuffix) + groupBox2.Controls.Add(textBoxPrefixViewSource) + groupBox2.Controls.Add(label3) + groupBox2.Controls.Add(textBoxParameterViewName) + groupBox2.Controls.Add(label2) + groupBox2.ForeColor = Drawing.SystemColors.ControlText + groupBox2.Location = New System.Drawing.Point(379, 280) + groupBox2.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + groupBox2.Name = "groupBox2" + groupBox2.Padding = New System.Windows.Forms.Padding(4, 3, 4, 3) + groupBox2.Size = New System.Drawing.Size(208, 186) + groupBox2.TabIndex = 47 + groupBox2.TabStop = False + groupBox2.Text = "Processing Options" + ' + ' checkBoxStripSuffix + ' + checkBoxStripSuffix.AutoSize = True + checkBoxStripSuffix.Location = New System.Drawing.Point(10, 148) + checkBoxStripSuffix.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + checkBoxStripSuffix.Name = "checkBoxStripSuffix" + checkBoxStripSuffix.Size = New System.Drawing.Size(113, 19) + checkBoxStripSuffix.TabIndex = 38 + checkBoxStripSuffix.Text = "Strip Suffix (-2D)" + checkBoxStripSuffix.UseVisualStyleBackColor = True + ' + ' textBoxPrefixViewSource + ' + textBoxPrefixViewSource.Location = New System.Drawing.Point(10, 107) + textBoxPrefixViewSource.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxPrefixViewSource.Name = "textBoxPrefixViewSource" + textBoxPrefixViewSource.Size = New System.Drawing.Size(187, 23) + textBoxPrefixViewSource.TabIndex = 37 + ' + ' label3 + ' + label3.AutoSize = True + label3.Location = New System.Drawing.Point(7, 88) + label3.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label3.Name = "label3" + label3.Size = New System.Drawing.Size(103, 15) + label3.TabIndex = 0 + label3.Text = "View Name Prefix:" + ' + ' textBoxParameterViewName + ' + textBoxParameterViewName.Location = New System.Drawing.Point(10, 48) + textBoxParameterViewName.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxParameterViewName.Name = "textBoxParameterViewName" + textBoxParameterViewName.Size = New System.Drawing.Size(187, 23) + textBoxParameterViewName.TabIndex = 35 + ' + ' label2 + ' + label2.AutoSize = True + label2.Location = New System.Drawing.Point(10, 31) + label2.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label2.Name = "label2" + label2.Size = New System.Drawing.Size(167, 15) + label2.TabIndex = 36 + label2.Text = "Room Parameter - View Name" + ' + ' groupBox1 + ' + groupBox1.Controls.Add(label5) + groupBox1.Controls.Add(textBoxRestrictPrefixValue) + groupBox1.Controls.Add(checkBoxListReverse) + groupBox1.Controls.Add(checkBoxRestrictPrefix) + groupBox1.Controls.Add(checkBoxIncludeExisting) + groupBox1.ForeColor = Drawing.SystemColors.ControlText + groupBox1.Location = New System.Drawing.Point(379, 80) + groupBox1.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + groupBox1.Name = "groupBox1" + groupBox1.Padding = New System.Windows.Forms.Padding(4, 3, 4, 3) + groupBox1.Size = New System.Drawing.Size(208, 194) + groupBox1.TabIndex = 46 + groupBox1.TabStop = False + groupBox1.Text = "List Selection Options" + ' + ' label5 + ' + label5.AutoSize = True + label5.Location = New System.Drawing.Point(12, 148) + label5.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label5.Name = "label5" + label5.Size = New System.Drawing.Size(135, 30) + label5.TabIndex = 32 + label5.Text = "Note: Only 2D views are" & vbCrLf & "supported at this time." + ' + ' textBoxRestrictPrefixValue + ' + textBoxRestrictPrefixValue.Location = New System.Drawing.Point(14, 76) + textBoxRestrictPrefixValue.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxRestrictPrefixValue.Name = "textBoxRestrictPrefixValue" + textBoxRestrictPrefixValue.Size = New System.Drawing.Size(184, 23) + textBoxRestrictPrefixValue.TabIndex = 28 + ' + ' checkBoxListReverse + ' + checkBoxListReverse.AutoSize = True + checkBoxListReverse.Location = New System.Drawing.Point(14, 115) + checkBoxListReverse.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + checkBoxListReverse.Name = "checkBoxListReverse" + checkBoxListReverse.Size = New System.Drawing.Size(120, 19) + checkBoxListReverse.TabIndex = 24 + checkBoxListReverse.Text = "Reverse List Order" + checkBoxListReverse.UseVisualStyleBackColor = True + ' + ' checkBoxRestrictPrefix + ' + checkBoxRestrictPrefix.AutoSize = True + checkBoxRestrictPrefix.Location = New System.Drawing.Point(14, 55) + checkBoxRestrictPrefix.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + checkBoxRestrictPrefix.Name = "checkBoxRestrictPrefix" + checkBoxRestrictPrefix.Size = New System.Drawing.Size(172, 19) + checkBoxRestrictPrefix.TabIndex = 29 + checkBoxRestrictPrefix.Text = "Restrict to Names w/ Prefix:" + checkBoxRestrictPrefix.UseVisualStyleBackColor = True + ' + ' checkBoxIncludeExisting + ' + checkBoxIncludeExisting.AutoSize = True + checkBoxIncludeExisting.Location = New System.Drawing.Point(14, 22) + checkBoxIncludeExisting.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + checkBoxIncludeExisting.Name = "checkBoxIncludeExisting" + checkBoxIncludeExisting.Size = New System.Drawing.Size(128, 19) + checkBoxIncludeExisting.TabIndex = 31 + checkBoxIncludeExisting.Text = "List Already Tagged" + checkBoxIncludeExisting.UseVisualStyleBackColor = True + ' + ' buttonSelect + ' + buttonSelect.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25F, Drawing.FontStyle.Bold, Drawing.GraphicsUnit.Point, CByte(0)) + buttonSelect.Location = New System.Drawing.Point(553, 24) + buttonSelect.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + buttonSelect.Name = "buttonSelect" + buttonSelect.Size = New System.Drawing.Size(34, 30) + buttonSelect.TabIndex = 45 + buttonSelect.Text = "..." + buttonSelect.UseVisualStyleBackColor = True + ' + ' buttonAddTags + ' + buttonAddTags.Location = New System.Drawing.Point(14, 513) + buttonAddTags.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + buttonAddTags.Name = "buttonAddTags" + buttonAddTags.Size = New System.Drawing.Size(208, 33) + buttonAddTags.TabIndex = 42 + buttonAddTags.Text = "Add Tags" + buttonAddTags.UseVisualStyleBackColor = True + ' + ' listBoxViews + ' + listBoxViews.FormattingEnabled = True + listBoxViews.ItemHeight = 15 + listBoxViews.Location = New System.Drawing.Point(14, 87) + listBoxViews.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + listBoxViews.Name = "listBoxViews" + listBoxViews.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended + listBoxViews.Size = New System.Drawing.Size(349, 409) + listBoxViews.TabIndex = 40 + ' + ' label4 + ' + label4.AutoSize = True + label4.Location = New System.Drawing.Point(14, 68) + label4.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label4.Name = "label4" + label4.Size = New System.Drawing.Size(184, 15) + label4.TabIndex = 41 + label4.Text = "Select Views in Which to Add Tag:" + ' + ' textBoxRoomTag + ' + textBoxRoomTag.Location = New System.Drawing.Point(14, 29) + textBoxRoomTag.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxRoomTag.Name = "textBoxRoomTag" + textBoxRoomTag.Size = New System.Drawing.Size(531, 23) + textBoxRoomTag.TabIndex = 43 + ' + ' label1 + ' + label1.AutoSize = True + label1.Location = New System.Drawing.Point(14, 10) + label1.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label1.Name = "label1" + label1.Size = New System.Drawing.Size(156, 15) + label1.TabIndex = 44 + label1.Text = "Room Tag to Add to Rooms:" + ' + ' buttonClose + ' + buttonClose.Location = New System.Drawing.Point(379, 513) + buttonClose.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + buttonClose.Name = "buttonClose" + buttonClose.Size = New System.Drawing.Size(208, 33) + buttonClose.TabIndex = 39 + buttonClose.Text = "Close" + buttonClose.UseVisualStyleBackColor = True + ' + ' StatusStrip1 + ' + StatusStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {ToolStripProgressBar1, ToolStripStatusLabel1}) + StatusStrip1.Location = New System.Drawing.Point(0, 562) + StatusStrip1.Name = "StatusStrip1" + StatusStrip1.Padding = New System.Windows.Forms.Padding(1, 0, 16, 0) + StatusStrip1.Size = New System.Drawing.Size(600, 22) + StatusStrip1.TabIndex = 48 + StatusStrip1.Text = "StatusStrip1" + ' + ' ToolStripProgressBar1 + ' + ToolStripProgressBar1.Name = "ToolStripProgressBar1" + ToolStripProgressBar1.Size = New System.Drawing.Size(175, 18) + ToolStripProgressBar1.Visible = False + ' + ' ToolStripStatusLabel1 + ' + ToolStripStatusLabel1.Name = "ToolStripStatusLabel1" + ToolStripStatusLabel1.Size = New System.Drawing.Size(39, 17) + ToolStripStatusLabel1.Text = "Ready" + ' + ' form_ElemTagViews + ' + AutoScaleDimensions = New System.Drawing.SizeF(7F, 15F) + AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font + ClientSize = New System.Drawing.Size(600, 584) + Controls.Add(StatusStrip1) + Controls.Add(groupBox2) + Controls.Add(groupBox1) + Controls.Add(buttonSelect) + Controls.Add(buttonAddTags) + Controls.Add(listBoxViews) + Controls.Add(label4) + Controls.Add(textBoxRoomTag) + Controls.Add(label1) + Controls.Add(buttonClose) + Icon = CType(resources.GetObject("$this.Icon"), Drawing.Icon) + Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + MaximizeBox = False + MaximumSize = New System.Drawing.Size(616, 800) + MinimizeBox = False + MinimumSize = New System.Drawing.Size(616, 623) + Name = "form_ElemTagViews" + StartPosition = System.Windows.Forms.FormStartPosition.CenterParent + Text = "Tag Views" + TopMost = True + groupBox2.ResumeLayout(False) + groupBox2.PerformLayout() + groupBox1.ResumeLayout(False) + groupBox1.PerformLayout() + StatusStrip1.ResumeLayout(False) + StatusStrip1.PerformLayout() + ResumeLayout(False) + PerformLayout() + + End Sub + Private WithEvents groupBox2 As System.Windows.Forms.GroupBox + Private WithEvents checkBoxStripSuffix As System.Windows.Forms.CheckBox + Private WithEvents textBoxPrefixViewSource As System.Windows.Forms.TextBox + Private WithEvents label3 As System.Windows.Forms.Label + Private WithEvents textBoxParameterViewName As System.Windows.Forms.TextBox + Private WithEvents label2 As System.Windows.Forms.Label + Private WithEvents groupBox1 As System.Windows.Forms.GroupBox + Private WithEvents label5 As System.Windows.Forms.Label + Private WithEvents textBoxRestrictPrefixValue As System.Windows.Forms.TextBox + Private WithEvents checkBoxListReverse As System.Windows.Forms.CheckBox + Private WithEvents checkBoxRestrictPrefix As System.Windows.Forms.CheckBox + Private WithEvents checkBoxIncludeExisting As System.Windows.Forms.CheckBox + Private WithEvents buttonSelect As System.Windows.Forms.Button + Private WithEvents folderBrowserDialogImages As System.Windows.Forms.FolderBrowserDialog + Private WithEvents buttonAddTags As System.Windows.Forms.Button + Private WithEvents listBoxViews As System.Windows.Forms.ListBox + Private WithEvents label4 As System.Windows.Forms.Label + Private WithEvents textBoxRoomTag As System.Windows.Forms.TextBox + Private WithEvents label1 As System.Windows.Forms.Label + Private WithEvents buttonClose As System.Windows.Forms.Button + Friend WithEvents StatusStrip1 As System.Windows.Forms.StatusStrip + Friend WithEvents ToolStripProgressBar1 As System.Windows.Forms.ToolStripProgressBar + Friend WithEvents ToolStripStatusLabel1 As System.Windows.Forms.ToolStripStatusLabel +End Class diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemTagViews.resx b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemTagViews.resx similarity index 96% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemTagViews.resx rename to HOK.ElementTools/HOK.ElementTools/Forms/form_ElemTagViews.resx index 917ae25c..744f4994 100644 --- a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemTagViews.resx +++ b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemTagViews.resx @@ -1,17 +1,17 @@ - diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemTagViews.vb b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemTagViews.vb similarity index 100% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemTagViews.vb rename to HOK.ElementTools/HOK.ElementTools/Forms/form_ElemTagViews.vb diff --git a/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemTagViewsArea.Designer.vb b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemTagViewsArea.Designer.vb new file mode 100644 index 00000000..0ea1e211 --- /dev/null +++ b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemTagViewsArea.Designer.vb @@ -0,0 +1,331 @@ + _ +Partial Class form_ElemTagViewsArea + Inherits System.Windows.Forms.Form + + 'Form overrides dispose to clean up the component list. + _ + Protected Overrides Sub Dispose(ByVal disposing As Boolean) + Try + If disposing AndAlso components IsNot Nothing Then + components.Dispose() + End If + Finally + MyBase.Dispose(disposing) + End Try + End Sub + + 'Required by the Windows Form Designer + Private components As System.ComponentModel.IContainer + + 'NOTE: The following procedure is required by the Windows Form Designer + 'It can be modified using the Windows Form Designer. + 'Do not modify it using the code editor. + _ + Private Sub InitializeComponent() + Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(form_ElemTagViewsArea)) + groupBox2 = New System.Windows.Forms.GroupBox() + checkBoxStripSuffix = New System.Windows.Forms.CheckBox() + textBoxPrefixViewSource = New System.Windows.Forms.TextBox() + label3 = New System.Windows.Forms.Label() + textBoxParameterViewName = New System.Windows.Forms.TextBox() + label2 = New System.Windows.Forms.Label() + groupBox1 = New System.Windows.Forms.GroupBox() + label5 = New System.Windows.Forms.Label() + textBoxRestrictPrefixValue = New System.Windows.Forms.TextBox() + checkBoxListReverse = New System.Windows.Forms.CheckBox() + checkBoxRestrictPrefix = New System.Windows.Forms.CheckBox() + checkBoxIncludeExisting = New System.Windows.Forms.CheckBox() + buttonSelect = New System.Windows.Forms.Button() + buttonAddTags = New System.Windows.Forms.Button() + listBoxViews = New System.Windows.Forms.ListBox() + label4 = New System.Windows.Forms.Label() + textBoxAreaTag = New System.Windows.Forms.TextBox() + label1 = New System.Windows.Forms.Label() + buttonClose = New System.Windows.Forms.Button() + folderBrowserDialogImages = New System.Windows.Forms.FolderBrowserDialog() + StatusStrip1 = New System.Windows.Forms.StatusStrip() + ToolStripProgressBar1 = New System.Windows.Forms.ToolStripProgressBar() + ToolStripStatusLabel1 = New System.Windows.Forms.ToolStripStatusLabel() + groupBox2.SuspendLayout() + groupBox1.SuspendLayout() + StatusStrip1.SuspendLayout() + SuspendLayout() + ' + ' groupBox2 + ' + groupBox2.Controls.Add(checkBoxStripSuffix) + groupBox2.Controls.Add(textBoxPrefixViewSource) + groupBox2.Controls.Add(label3) + groupBox2.Controls.Add(textBoxParameterViewName) + groupBox2.Controls.Add(label2) + groupBox2.ForeColor = Drawing.SystemColors.ControlText + groupBox2.Location = New System.Drawing.Point(379, 283) + groupBox2.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + groupBox2.Name = "groupBox2" + groupBox2.Padding = New System.Windows.Forms.Padding(4, 3, 4, 3) + groupBox2.Size = New System.Drawing.Size(208, 186) + groupBox2.TabIndex = 56 + groupBox2.TabStop = False + groupBox2.Text = "Processing Options" + ' + ' checkBoxStripSuffix + ' + checkBoxStripSuffix.AutoSize = True + checkBoxStripSuffix.Location = New System.Drawing.Point(10, 148) + checkBoxStripSuffix.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + checkBoxStripSuffix.Name = "checkBoxStripSuffix" + checkBoxStripSuffix.Size = New System.Drawing.Size(113, 19) + checkBoxStripSuffix.TabIndex = 38 + checkBoxStripSuffix.Text = "Strip Suffix (-2D)" + checkBoxStripSuffix.UseVisualStyleBackColor = True + ' + ' textBoxPrefixViewSource + ' + textBoxPrefixViewSource.Location = New System.Drawing.Point(10, 107) + textBoxPrefixViewSource.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxPrefixViewSource.Name = "textBoxPrefixViewSource" + textBoxPrefixViewSource.Size = New System.Drawing.Size(187, 23) + textBoxPrefixViewSource.TabIndex = 37 + ' + ' label3 + ' + label3.AutoSize = True + label3.Location = New System.Drawing.Point(7, 88) + label3.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label3.Name = "label3" + label3.Size = New System.Drawing.Size(103, 15) + label3.TabIndex = 0 + label3.Text = "View Name Prefix:" + ' + ' textBoxParameterViewName + ' + textBoxParameterViewName.Location = New System.Drawing.Point(10, 48) + textBoxParameterViewName.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxParameterViewName.Name = "textBoxParameterViewName" + textBoxParameterViewName.Size = New System.Drawing.Size(187, 23) + textBoxParameterViewName.TabIndex = 35 + ' + ' label2 + ' + label2.AutoSize = True + label2.Location = New System.Drawing.Point(10, 31) + label2.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label2.Name = "label2" + label2.Size = New System.Drawing.Size(159, 15) + label2.TabIndex = 36 + label2.Text = "Area Parameter - View Name" + ' + ' groupBox1 + ' + groupBox1.Controls.Add(label5) + groupBox1.Controls.Add(textBoxRestrictPrefixValue) + groupBox1.Controls.Add(checkBoxListReverse) + groupBox1.Controls.Add(checkBoxRestrictPrefix) + groupBox1.Controls.Add(checkBoxIncludeExisting) + groupBox1.ForeColor = Drawing.SystemColors.ControlText + groupBox1.Location = New System.Drawing.Point(379, 82) + groupBox1.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + groupBox1.Name = "groupBox1" + groupBox1.Padding = New System.Windows.Forms.Padding(4, 3, 4, 3) + groupBox1.Size = New System.Drawing.Size(208, 194) + groupBox1.TabIndex = 55 + groupBox1.TabStop = False + groupBox1.Text = "List Selection Options" + ' + ' label5 + ' + label5.AutoSize = True + label5.Location = New System.Drawing.Point(12, 148) + label5.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label5.Name = "label5" + label5.Size = New System.Drawing.Size(135, 30) + label5.TabIndex = 32 + label5.Text = "Note: Only 2D views are" & vbCrLf & "supported at this time." + ' + ' textBoxRestrictPrefixValue + ' + textBoxRestrictPrefixValue.Location = New System.Drawing.Point(14, 76) + textBoxRestrictPrefixValue.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxRestrictPrefixValue.Name = "textBoxRestrictPrefixValue" + textBoxRestrictPrefixValue.Size = New System.Drawing.Size(184, 23) + textBoxRestrictPrefixValue.TabIndex = 28 + ' + ' checkBoxListReverse + ' + checkBoxListReverse.AutoSize = True + checkBoxListReverse.Location = New System.Drawing.Point(14, 115) + checkBoxListReverse.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + checkBoxListReverse.Name = "checkBoxListReverse" + checkBoxListReverse.Size = New System.Drawing.Size(120, 19) + checkBoxListReverse.TabIndex = 24 + checkBoxListReverse.Text = "Reverse List Order" + checkBoxListReverse.UseVisualStyleBackColor = True + ' + ' checkBoxRestrictPrefix + ' + checkBoxRestrictPrefix.AutoSize = True + checkBoxRestrictPrefix.Location = New System.Drawing.Point(14, 55) + checkBoxRestrictPrefix.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + checkBoxRestrictPrefix.Name = "checkBoxRestrictPrefix" + checkBoxRestrictPrefix.Size = New System.Drawing.Size(172, 19) + checkBoxRestrictPrefix.TabIndex = 29 + checkBoxRestrictPrefix.Text = "Restrict to Names w/ Prefix:" + checkBoxRestrictPrefix.UseVisualStyleBackColor = True + ' + ' checkBoxIncludeExisting + ' + checkBoxIncludeExisting.AutoSize = True + checkBoxIncludeExisting.Location = New System.Drawing.Point(14, 22) + checkBoxIncludeExisting.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + checkBoxIncludeExisting.Name = "checkBoxIncludeExisting" + checkBoxIncludeExisting.Size = New System.Drawing.Size(128, 19) + checkBoxIncludeExisting.TabIndex = 31 + checkBoxIncludeExisting.Text = "List Already Tagged" + checkBoxIncludeExisting.UseVisualStyleBackColor = True + ' + ' buttonSelect + ' + buttonSelect.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25F, Drawing.FontStyle.Bold, Drawing.GraphicsUnit.Point, CByte(0)) + buttonSelect.Location = New System.Drawing.Point(553, 27) + buttonSelect.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + buttonSelect.Name = "buttonSelect" + buttonSelect.Size = New System.Drawing.Size(34, 30) + buttonSelect.TabIndex = 54 + buttonSelect.Text = "..." + buttonSelect.UseVisualStyleBackColor = True + ' + ' buttonAddTags + ' + buttonAddTags.Location = New System.Drawing.Point(14, 516) + buttonAddTags.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + buttonAddTags.Name = "buttonAddTags" + buttonAddTags.Size = New System.Drawing.Size(208, 33) + buttonAddTags.TabIndex = 51 + buttonAddTags.Text = "Add Tags" + buttonAddTags.UseVisualStyleBackColor = True + ' + ' listBoxViews + ' + listBoxViews.FormattingEnabled = True + listBoxViews.ItemHeight = 15 + listBoxViews.Location = New System.Drawing.Point(14, 89) + listBoxViews.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + listBoxViews.Name = "listBoxViews" + listBoxViews.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended + listBoxViews.Size = New System.Drawing.Size(349, 409) + listBoxViews.TabIndex = 49 + ' + ' label4 + ' + label4.AutoSize = True + label4.Location = New System.Drawing.Point(14, 70) + label4.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label4.Name = "label4" + label4.Size = New System.Drawing.Size(184, 15) + label4.TabIndex = 50 + label4.Text = "Select Views in Which to Add Tag:" + ' + ' textBoxAreaTag + ' + textBoxAreaTag.Location = New System.Drawing.Point(14, 31) + textBoxAreaTag.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxAreaTag.Name = "textBoxAreaTag" + textBoxAreaTag.Size = New System.Drawing.Size(531, 23) + textBoxAreaTag.TabIndex = 52 + ' + ' label1 + ' + label1.AutoSize = True + label1.Location = New System.Drawing.Point(14, 13) + label1.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label1.Name = "label1" + label1.Size = New System.Drawing.Size(140, 15) + label1.TabIndex = 53 + label1.Text = "Area Tag to Add to Areas:" + ' + ' buttonClose + ' + buttonClose.Location = New System.Drawing.Point(379, 516) + buttonClose.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + buttonClose.Name = "buttonClose" + buttonClose.Size = New System.Drawing.Size(208, 33) + buttonClose.TabIndex = 48 + buttonClose.Text = "Close" + buttonClose.UseVisualStyleBackColor = True + ' + ' StatusStrip1 + ' + StatusStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {ToolStripProgressBar1, ToolStripStatusLabel1}) + StatusStrip1.Location = New System.Drawing.Point(0, 562) + StatusStrip1.Name = "StatusStrip1" + StatusStrip1.Padding = New System.Windows.Forms.Padding(1, 0, 16, 0) + StatusStrip1.Size = New System.Drawing.Size(600, 22) + StatusStrip1.TabIndex = 57 + ' + ' ToolStripProgressBar1 + ' + ToolStripProgressBar1.Name = "ToolStripProgressBar1" + ToolStripProgressBar1.Size = New System.Drawing.Size(175, 18) + ToolStripProgressBar1.Visible = False + ' + ' ToolStripStatusLabel1 + ' + ToolStripStatusLabel1.Name = "ToolStripStatusLabel1" + ToolStripStatusLabel1.Size = New System.Drawing.Size(39, 17) + ToolStripStatusLabel1.Text = "Ready" + ' + ' form_ElemTagViewsArea + ' + AutoScaleDimensions = New System.Drawing.SizeF(7F, 15F) + AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font + ClientSize = New System.Drawing.Size(600, 584) + Controls.Add(StatusStrip1) + Controls.Add(groupBox2) + Controls.Add(groupBox1) + Controls.Add(buttonSelect) + Controls.Add(buttonAddTags) + Controls.Add(listBoxViews) + Controls.Add(label4) + Controls.Add(textBoxAreaTag) + Controls.Add(label1) + Controls.Add(buttonClose) + Icon = CType(resources.GetObject("$this.Icon"), Drawing.Icon) + Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + MaximumSize = New System.Drawing.Size(616, 800) + MinimumSize = New System.Drawing.Size(616, 623) + Name = "form_ElemTagViewsArea" + Text = "Tag Views" + groupBox2.ResumeLayout(False) + groupBox2.PerformLayout() + groupBox1.ResumeLayout(False) + groupBox1.PerformLayout() + StatusStrip1.ResumeLayout(False) + StatusStrip1.PerformLayout() + ResumeLayout(False) + PerformLayout() + + End Sub + Private WithEvents groupBox2 As System.Windows.Forms.GroupBox + Private WithEvents checkBoxStripSuffix As System.Windows.Forms.CheckBox + Private WithEvents textBoxPrefixViewSource As System.Windows.Forms.TextBox + Private WithEvents label3 As System.Windows.Forms.Label + Private WithEvents textBoxParameterViewName As System.Windows.Forms.TextBox + Private WithEvents label2 As System.Windows.Forms.Label + Private WithEvents groupBox1 As System.Windows.Forms.GroupBox + Private WithEvents label5 As System.Windows.Forms.Label + Private WithEvents textBoxRestrictPrefixValue As System.Windows.Forms.TextBox + Private WithEvents checkBoxListReverse As System.Windows.Forms.CheckBox + Private WithEvents checkBoxRestrictPrefix As System.Windows.Forms.CheckBox + Private WithEvents checkBoxIncludeExisting As System.Windows.Forms.CheckBox + Private WithEvents buttonSelect As System.Windows.Forms.Button + Private WithEvents buttonAddTags As System.Windows.Forms.Button + Private WithEvents listBoxViews As System.Windows.Forms.ListBox + Private WithEvents label4 As System.Windows.Forms.Label + Private WithEvents textBoxAreaTag As System.Windows.Forms.TextBox + Private WithEvents label1 As System.Windows.Forms.Label + Private WithEvents buttonClose As System.Windows.Forms.Button + Private WithEvents folderBrowserDialogImages As System.Windows.Forms.FolderBrowserDialog + Friend WithEvents StatusStrip1 As System.Windows.Forms.StatusStrip + Friend WithEvents ToolStripProgressBar1 As System.Windows.Forms.ToolStripProgressBar + Friend WithEvents ToolStripStatusLabel1 As System.Windows.Forms.ToolStripStatusLabel +End Class diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemTagViewsArea.resx b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemTagViewsArea.resx similarity index 96% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemTagViewsArea.resx rename to HOK.ElementTools/HOK.ElementTools/Forms/form_ElemTagViewsArea.resx index a3ae1c28..63a568ae 100644 --- a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemTagViewsArea.resx +++ b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemTagViewsArea.resx @@ -1,17 +1,17 @@  - diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemTagViewsArea.vb b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemTagViewsArea.vb similarity index 100% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemTagViewsArea.vb rename to HOK.ElementTools/HOK.ElementTools/Forms/form_ElemTagViewsArea.vb diff --git a/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemViewsFromAreas.Designer.vb b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemViewsFromAreas.Designer.vb new file mode 100644 index 00000000..95f3a560 --- /dev/null +++ b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemViewsFromAreas.Designer.vb @@ -0,0 +1,876 @@ + _ +Partial Class form_ElemViewsFromAreas + Inherits System.Windows.Forms.Form + + 'Form overrides dispose to clean up the component list. + _ + Protected Overrides Sub Dispose(ByVal disposing As Boolean) + Try + If disposing AndAlso components IsNot Nothing Then + components.Dispose() + End If + Finally + MyBase.Dispose(disposing) + End Try + End Sub + + 'Required by the Windows Form Designer + Private components As System.ComponentModel.IContainer + + 'NOTE: The following procedure is required by the Windows Form Designer + 'It can be modified using the Windows Form Designer. + 'Do not modify it using the code editor. + _ + Private Sub InitializeComponent() + Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(form_ElemViewsFromAreas)) + buttonClose = New System.Windows.Forms.Button() + groupBoxSizeCrop = New System.Windows.Forms.GroupBox() + checkBoxCropShow = New System.Windows.Forms.CheckBox() + textBoxCropFixedY = New System.Windows.Forms.TextBox() + textBoxCropFixedX = New System.Windows.Forms.TextBox() + radioButtonSizeCropFixed = New System.Windows.Forms.RadioButton() + radioButtonSizeCropDynamic = New System.Windows.Forms.RadioButton() + textBoxCropSpace = New System.Windows.Forms.TextBox() + label10 = New System.Windows.Forms.Label() + label11 = New System.Windows.Forms.Label() + groupBoxViewType = New System.Windows.Forms.GroupBox() + checkBoxReplaceExisting = New System.Windows.Forms.CheckBox() + radioButtonType3dBoxCrop = New System.Windows.Forms.RadioButton() + textBoxVectorZ = New System.Windows.Forms.TextBox() + textBoxVectorY = New System.Windows.Forms.TextBox() + textBoxVectorX = New System.Windows.Forms.TextBox() + label4 = New System.Windows.Forms.Label() + radioButtonType3dCrop = New System.Windows.Forms.RadioButton() + radioButtonType2d = New System.Windows.Forms.RadioButton() + radioButtonType3dBox = New System.Windows.Forms.RadioButton() + label14 = New System.Windows.Forms.Label() + label15 = New System.Windows.Forms.Label() + label16 = New System.Windows.Forms.Label() + groupBoxSizeBox = New System.Windows.Forms.GroupBox() + label20 = New System.Windows.Forms.Label() + checkBoxBoxShow = New System.Windows.Forms.CheckBox() + textBoxBoxFixedZ = New System.Windows.Forms.TextBox() + textBoxBoxFixedY = New System.Windows.Forms.TextBox() + textBoxBoxFixedX = New System.Windows.Forms.TextBox() + radioButtonSizeBoxFixed = New System.Windows.Forms.RadioButton() + radioButtonSizeBoxDynamic = New System.Windows.Forms.RadioButton() + textBoxBoxSpace = New System.Windows.Forms.TextBox() + label17 = New System.Windows.Forms.Label() + label18 = New System.Windows.Forms.Label() + label19 = New System.Windows.Forms.Label() + groupBoxSelection = New System.Windows.Forms.GroupBox() + textBoxParameterGroupBy = New System.Windows.Forms.TextBox() + radioButtonGroupMultiple = New System.Windows.Forms.RadioButton() + radioButtonGroupSingle = New System.Windows.Forms.RadioButton() + checkBoxListExisting = New System.Windows.Forms.CheckBox() + checkBoxListReverse = New System.Windows.Forms.CheckBox() + textBoxPad2 = New System.Windows.Forms.TextBox() + textBoxPad1 = New System.Windows.Forms.TextBox() + checkBoxPad2 = New System.Windows.Forms.CheckBox() + checkBoxPad1 = New System.Windows.Forms.CheckBox() + textBoxParameterList2 = New System.Windows.Forms.TextBox() + label7 = New System.Windows.Forms.Label() + textBoxParameterList1 = New System.Windows.Forms.TextBox() + label8 = New System.Windows.Forms.Label() + groupBox2 = New System.Windows.Forms.GroupBox() + textBoxScale = New System.Windows.Forms.TextBox() + label5 = New System.Windows.Forms.Label() + textBoxPrefixViewTarget = New System.Windows.Forms.TextBox() + label6 = New System.Windows.Forms.Label() + textBoxParameterAreaName = New System.Windows.Forms.TextBox() + textBoxParameterViewName = New System.Windows.Forms.TextBox() + label1 = New System.Windows.Forms.Label() + label3 = New System.Windows.Forms.Label() + label9 = New System.Windows.Forms.Label() + buttonCreate = New System.Windows.Forms.Button() + listBoxAreas = New System.Windows.Forms.ListBox() + ProgressBar1 = New System.Windows.Forms.ProgressBar() + labelListTitle = New System.Windows.Forms.Label() + groupBoxSizeCrop.SuspendLayout() + groupBoxViewType.SuspendLayout() + groupBoxSizeBox.SuspendLayout() + groupBoxSelection.SuspendLayout() + groupBox2.SuspendLayout() + SuspendLayout() + ' + ' buttonClose + ' + buttonClose.Location = New System.Drawing.Point(565, 708) + buttonClose.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + buttonClose.Name = "buttonClose" + buttonClose.Size = New System.Drawing.Size(208, 33) + buttonClose.TabIndex = 47 + buttonClose.Text = "Close" + buttonClose.UseVisualStyleBackColor = True + ' + ' groupBoxSizeCrop + ' + groupBoxSizeCrop.Controls.Add(checkBoxCropShow) + groupBoxSizeCrop.Controls.Add(textBoxCropFixedY) + groupBoxSizeCrop.Controls.Add(textBoxCropFixedX) + groupBoxSizeCrop.Controls.Add(radioButtonSizeCropFixed) + groupBoxSizeCrop.Controls.Add(radioButtonSizeCropDynamic) + groupBoxSizeCrop.Controls.Add(textBoxCropSpace) + groupBoxSizeCrop.Controls.Add(label10) + groupBoxSizeCrop.Controls.Add(label11) + groupBoxSizeCrop.ForeColor = Drawing.SystemColors.ControlText + groupBoxSizeCrop.Location = New System.Drawing.Point(383, 570) + groupBoxSizeCrop.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + groupBoxSizeCrop.Name = "groupBoxSizeCrop" + groupBoxSizeCrop.Padding = New System.Windows.Forms.Padding(4, 3, 4, 3) + groupBoxSizeCrop.Size = New System.Drawing.Size(390, 123) + groupBoxSizeCrop.TabIndex = 53 + groupBoxSizeCrop.TabStop = False + groupBoxSizeCrop.Text = "View Size" + ' + ' checkBoxCropShow + ' + checkBoxCropShow.AutoSize = True + checkBoxCropShow.Location = New System.Drawing.Point(12, 91) + checkBoxCropShow.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + checkBoxCropShow.Name = "checkBoxCropShow" + checkBoxCropShow.Size = New System.Drawing.Size(107, 19) + checkBoxCropShow.TabIndex = 52 + checkBoxCropShow.Text = "Show Crop Box" + checkBoxCropShow.UseVisualStyleBackColor = True + ' + ' textBoxCropFixedY + ' + textBoxCropFixedY.Location = New System.Drawing.Point(252, 53) + textBoxCropFixedY.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxCropFixedY.Name = "textBoxCropFixedY" + textBoxCropFixedY.Size = New System.Drawing.Size(47, 23) + textBoxCropFixedY.TabIndex = 49 + ' + ' textBoxCropFixedX + ' + textBoxCropFixedX.Location = New System.Drawing.Point(172, 53) + textBoxCropFixedX.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxCropFixedX.Name = "textBoxCropFixedX" + textBoxCropFixedX.Size = New System.Drawing.Size(46, 23) + textBoxCropFixedX.TabIndex = 47 + ' + ' radioButtonSizeCropFixed + ' + radioButtonSizeCropFixed.AutoSize = True + radioButtonSizeCropFixed.Location = New System.Drawing.Point(12, 55) + radioButtonSizeCropFixed.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + radioButtonSizeCropFixed.Name = "radioButtonSizeCropFixed" + radioButtonSizeCropFixed.Size = New System.Drawing.Size(118, 19) + radioButtonSizeCropFixed.TabIndex = 46 + radioButtonSizeCropFixed.TabStop = True + radioButtonSizeCropFixed.Text = "Fixed Dimensions" + radioButtonSizeCropFixed.UseVisualStyleBackColor = True + ' + ' radioButtonSizeCropDynamic + ' + radioButtonSizeCropDynamic.AutoSize = True + radioButtonSizeCropDynamic.Location = New System.Drawing.Point(12, 22) + radioButtonSizeCropDynamic.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + radioButtonSizeCropDynamic.Name = "radioButtonSizeCropDynamic" + radioButtonSizeCropDynamic.Size = New System.Drawing.Size(129, 19) + radioButtonSizeCropDynamic.TabIndex = 45 + radioButtonSizeCropDynamic.TabStop = True + radioButtonSizeCropDynamic.Text = "Space Around Area:" + radioButtonSizeCropDynamic.UseVisualStyleBackColor = True + ' + ' textBoxCropSpace + ' + textBoxCropSpace.Location = New System.Drawing.Point(172, 21) + textBoxCropSpace.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxCropSpace.Name = "textBoxCropSpace" + textBoxCropSpace.Size = New System.Drawing.Size(47, 23) + textBoxCropSpace.TabIndex = 28 + ' + ' label10 + ' + label10.AutoSize = True + label10.Location = New System.Drawing.Point(149, 59) + label10.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label10.Name = "label10" + label10.Size = New System.Drawing.Size(17, 15) + label10.TabIndex = 48 + label10.Text = "X:" + ' + ' label11 + ' + label11.AutoSize = True + label11.Location = New System.Drawing.Point(230, 59) + label11.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label11.Name = "label11" + label11.Size = New System.Drawing.Size(17, 15) + label11.TabIndex = 50 + label11.Text = "Y:" + ' + ' groupBoxViewType + ' + groupBoxViewType.Controls.Add(checkBoxReplaceExisting) + groupBoxViewType.Controls.Add(radioButtonType3dBoxCrop) + groupBoxViewType.Controls.Add(textBoxVectorZ) + groupBoxViewType.Controls.Add(textBoxVectorY) + groupBoxViewType.Controls.Add(textBoxVectorX) + groupBoxViewType.Controls.Add(label4) + groupBoxViewType.Controls.Add(radioButtonType3dCrop) + groupBoxViewType.Controls.Add(radioButtonType2d) + groupBoxViewType.Controls.Add(radioButtonType3dBox) + groupBoxViewType.Controls.Add(label14) + groupBoxViewType.Controls.Add(label15) + groupBoxViewType.Controls.Add(label16) + groupBoxViewType.ForeColor = Drawing.SystemColors.ControlText + groupBoxViewType.Location = New System.Drawing.Point(383, 324) + groupBoxViewType.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + groupBoxViewType.Name = "groupBoxViewType" + groupBoxViewType.Padding = New System.Windows.Forms.Padding(4, 3, 4, 3) + groupBoxViewType.Size = New System.Drawing.Size(390, 114) + groupBoxViewType.TabIndex = 52 + groupBoxViewType.TabStop = False + groupBoxViewType.Text = "View Type" + ' + ' checkBoxReplaceExisting + ' + checkBoxReplaceExisting.AutoSize = True + checkBoxReplaceExisting.Location = New System.Drawing.Point(13, 82) + checkBoxReplaceExisting.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + checkBoxReplaceExisting.Name = "checkBoxReplaceExisting" + checkBoxReplaceExisting.Size = New System.Drawing.Size(111, 19) + checkBoxReplaceExisting.TabIndex = 38 + checkBoxReplaceExisting.Text = "Replace Existing" + checkBoxReplaceExisting.UseVisualStyleBackColor = True + ' + ' radioButtonType3dBoxCrop + ' + radioButtonType3dBoxCrop.AutoSize = True + radioButtonType3dBoxCrop.Location = New System.Drawing.Point(284, 18) + radioButtonType3dBoxCrop.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + radioButtonType3dBoxCrop.Name = "radioButtonType3dBoxCrop" + radioButtonType3dBoxCrop.Size = New System.Drawing.Size(93, 19) + radioButtonType3dBoxCrop.TabIndex = 58 + radioButtonType3dBoxCrop.TabStop = True + radioButtonType3dBoxCrop.Text = "3D Box-Crop" + radioButtonType3dBoxCrop.UseVisualStyleBackColor = True + ' + ' textBoxVectorZ + ' + textBoxVectorZ.Location = New System.Drawing.Point(324, 47) + textBoxVectorZ.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxVectorZ.Name = "textBoxVectorZ" + textBoxVectorZ.Size = New System.Drawing.Size(46, 23) + textBoxVectorZ.TabIndex = 56 + ' + ' textBoxVectorY + ' + textBoxVectorY.Location = New System.Drawing.Point(251, 48) + textBoxVectorY.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxVectorY.Name = "textBoxVectorY" + textBoxVectorY.Size = New System.Drawing.Size(46, 23) + textBoxVectorY.TabIndex = 54 + ' + ' textBoxVectorX + ' + textBoxVectorX.Location = New System.Drawing.Point(168, 48) + textBoxVectorX.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxVectorX.Name = "textBoxVectorX" + textBoxVectorX.Size = New System.Drawing.Size(46, 23) + textBoxVectorX.TabIndex = 52 + ' + ' label4 + ' + label4.AutoSize = True + label4.Location = New System.Drawing.Point(9, 52) + label4.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label4.Name = "label4" + label4.Size = New System.Drawing.Size(108, 15) + label4.TabIndex = 47 + label4.Text = "3D Direction Vector" + ' + ' radioButtonType3dCrop + ' + radioButtonType3dCrop.AutoSize = True + radioButtonType3dCrop.Location = New System.Drawing.Point(191, 18) + radioButtonType3dCrop.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + radioButtonType3dCrop.Name = "radioButtonType3dCrop" + radioButtonType3dCrop.Size = New System.Drawing.Size(68, 19) + radioButtonType3dCrop.TabIndex = 46 + radioButtonType3dCrop.TabStop = True + radioButtonType3dCrop.Text = "3D Crop" + radioButtonType3dCrop.UseVisualStyleBackColor = True + ' + ' radioButtonType2d + ' + radioButtonType2d.AutoSize = True + radioButtonType2d.Location = New System.Drawing.Point(12, 18) + radioButtonType2d.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + radioButtonType2d.Name = "radioButtonType2d" + radioButtonType2d.Size = New System.Drawing.Size(39, 19) + radioButtonType2d.TabIndex = 44 + radioButtonType2d.TabStop = True + radioButtonType2d.Text = "2D" + radioButtonType2d.UseVisualStyleBackColor = True + ' + ' radioButtonType3dBox + ' + radioButtonType3dBox.AutoSize = True + radioButtonType3dBox.Location = New System.Drawing.Point(100, 18) + radioButtonType3dBox.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + radioButtonType3dBox.Name = "radioButtonType3dBox" + radioButtonType3dBox.Size = New System.Drawing.Size(62, 19) + radioButtonType3dBox.TabIndex = 45 + radioButtonType3dBox.TabStop = True + radioButtonType3dBox.Text = "3D Box" + radioButtonType3dBox.UseVisualStyleBackColor = True + ' + ' label14 + ' + label14.AutoSize = True + label14.Location = New System.Drawing.Point(303, 52) + label14.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label14.Name = "label14" + label14.Size = New System.Drawing.Size(17, 15) + label14.TabIndex = 57 + label14.Text = "Z:" + ' + ' label15 + ' + label15.AutoSize = True + label15.Location = New System.Drawing.Point(229, 52) + label15.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label15.Name = "label15" + label15.Size = New System.Drawing.Size(17, 15) + label15.TabIndex = 55 + label15.Text = "Y:" + ' + ' label16 + ' + label16.AutoSize = True + label16.Location = New System.Drawing.Point(147, 52) + label16.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label16.Name = "label16" + label16.Size = New System.Drawing.Size(17, 15) + label16.TabIndex = 53 + label16.Text = "X:" + ' + ' groupBoxSizeBox + ' + groupBoxSizeBox.Controls.Add(label20) + groupBoxSizeBox.Controls.Add(checkBoxBoxShow) + groupBoxSizeBox.Controls.Add(textBoxBoxFixedZ) + groupBoxSizeBox.Controls.Add(textBoxBoxFixedY) + groupBoxSizeBox.Controls.Add(textBoxBoxFixedX) + groupBoxSizeBox.Controls.Add(radioButtonSizeBoxFixed) + groupBoxSizeBox.Controls.Add(radioButtonSizeBoxDynamic) + groupBoxSizeBox.Controls.Add(textBoxBoxSpace) + groupBoxSizeBox.Controls.Add(label17) + groupBoxSizeBox.Controls.Add(label18) + groupBoxSizeBox.Controls.Add(label19) + groupBoxSizeBox.ForeColor = Drawing.SystemColors.ControlText + groupBoxSizeBox.Location = New System.Drawing.Point(383, 445) + groupBoxSizeBox.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + groupBoxSizeBox.Name = "groupBoxSizeBox" + groupBoxSizeBox.Padding = New System.Windows.Forms.Padding(4, 3, 4, 3) + groupBoxSizeBox.Size = New System.Drawing.Size(390, 118) + groupBoxSizeBox.TabIndex = 54 + groupBoxSizeBox.TabStop = False + groupBoxSizeBox.Text = "Section Box Size" + ' + ' label20 + ' + label20.AutoSize = True + label20.Location = New System.Drawing.Point(250, 23) + label20.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label20.Name = "label20" + label20.Size = New System.Drawing.Size(78, 15) + label20.TabIndex = 63 + label20.Text = "( Z = .9 x HT )" & vbCrLf + ' + ' checkBoxBoxShow + ' + checkBoxBoxShow.AutoSize = True + checkBoxBoxShow.Location = New System.Drawing.Point(15, 87) + checkBoxBoxShow.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + checkBoxBoxShow.Name = "checkBoxBoxShow" + checkBoxBoxShow.Size = New System.Drawing.Size(120, 19) + checkBoxBoxShow.TabIndex = 62 + checkBoxBoxShow.Text = "Show Section Box" + checkBoxBoxShow.UseVisualStyleBackColor = True + ' + ' textBoxBoxFixedZ + ' + textBoxBoxFixedZ.Location = New System.Drawing.Point(328, 52) + textBoxBoxFixedZ.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxBoxFixedZ.Name = "textBoxBoxFixedZ" + textBoxBoxFixedZ.Size = New System.Drawing.Size(47, 23) + textBoxBoxFixedZ.TabIndex = 60 + ' + ' textBoxBoxFixedY + ' + textBoxBoxFixedY.Location = New System.Drawing.Point(251, 52) + textBoxBoxFixedY.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxBoxFixedY.Name = "textBoxBoxFixedY" + textBoxBoxFixedY.Size = New System.Drawing.Size(47, 23) + textBoxBoxFixedY.TabIndex = 58 + ' + ' textBoxBoxFixedX + ' + textBoxBoxFixedX.Location = New System.Drawing.Point(172, 52) + textBoxBoxFixedX.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxBoxFixedX.Name = "textBoxBoxFixedX" + textBoxBoxFixedX.Size = New System.Drawing.Size(46, 23) + textBoxBoxFixedX.TabIndex = 56 + ' + ' radioButtonSizeBoxFixed + ' + radioButtonSizeBoxFixed.AutoSize = True + radioButtonSizeBoxFixed.Location = New System.Drawing.Point(15, 54) + radioButtonSizeBoxFixed.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + radioButtonSizeBoxFixed.Name = "radioButtonSizeBoxFixed" + radioButtonSizeBoxFixed.Size = New System.Drawing.Size(118, 19) + radioButtonSizeBoxFixed.TabIndex = 55 + radioButtonSizeBoxFixed.TabStop = True + radioButtonSizeBoxFixed.Text = "Fixed Dimensions" + radioButtonSizeBoxFixed.UseVisualStyleBackColor = True + ' + ' radioButtonSizeBoxDynamic + ' + radioButtonSizeBoxDynamic.AutoSize = True + radioButtonSizeBoxDynamic.Location = New System.Drawing.Point(15, 21) + radioButtonSizeBoxDynamic.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + radioButtonSizeBoxDynamic.Name = "radioButtonSizeBoxDynamic" + radioButtonSizeBoxDynamic.Size = New System.Drawing.Size(129, 19) + radioButtonSizeBoxDynamic.TabIndex = 54 + radioButtonSizeBoxDynamic.TabStop = True + radioButtonSizeBoxDynamic.Text = "Space Around Area:" + radioButtonSizeBoxDynamic.UseVisualStyleBackColor = True + ' + ' textBoxBoxSpace + ' + textBoxBoxSpace.Location = New System.Drawing.Point(172, 20) + textBoxBoxSpace.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxBoxSpace.Name = "textBoxBoxSpace" + textBoxBoxSpace.Size = New System.Drawing.Size(46, 23) + textBoxBoxSpace.TabIndex = 52 + ' + ' label17 + ' + label17.AutoSize = True + label17.Location = New System.Drawing.Point(150, 58) + label17.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label17.Name = "label17" + label17.Size = New System.Drawing.Size(17, 15) + label17.TabIndex = 57 + label17.Text = "X:" + ' + ' label18 + ' + label18.AutoSize = True + label18.Location = New System.Drawing.Point(227, 58) + label18.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label18.Name = "label18" + label18.Size = New System.Drawing.Size(17, 15) + label18.TabIndex = 59 + label18.Text = "Y:" + ' + ' label19 + ' + label19.AutoSize = True + label19.Location = New System.Drawing.Point(307, 58) + label19.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label19.Name = "label19" + label19.Size = New System.Drawing.Size(17, 15) + label19.TabIndex = 61 + label19.Text = "Z:" + ' + ' groupBoxSelection + ' + groupBoxSelection.Controls.Add(textBoxParameterGroupBy) + groupBoxSelection.Controls.Add(radioButtonGroupMultiple) + groupBoxSelection.Controls.Add(radioButtonGroupSingle) + groupBoxSelection.Controls.Add(checkBoxListExisting) + groupBoxSelection.Controls.Add(checkBoxListReverse) + groupBoxSelection.Controls.Add(textBoxPad2) + groupBoxSelection.Controls.Add(textBoxPad1) + groupBoxSelection.Controls.Add(checkBoxPad2) + groupBoxSelection.Controls.Add(checkBoxPad1) + groupBoxSelection.Controls.Add(textBoxParameterList2) + groupBoxSelection.Controls.Add(label7) + groupBoxSelection.Controls.Add(textBoxParameterList1) + groupBoxSelection.Controls.Add(label8) + groupBoxSelection.ForeColor = Drawing.SystemColors.ControlText + groupBoxSelection.Location = New System.Drawing.Point(383, 20) + groupBoxSelection.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + groupBoxSelection.Name = "groupBoxSelection" + groupBoxSelection.Padding = New System.Windows.Forms.Padding(4, 3, 4, 3) + groupBoxSelection.Size = New System.Drawing.Size(390, 186) + groupBoxSelection.TabIndex = 50 + groupBoxSelection.TabStop = False + groupBoxSelection.Text = "Selection Options" + ' + ' textBoxParameterGroupBy + ' + textBoxParameterGroupBy.Location = New System.Drawing.Point(210, 121) + textBoxParameterGroupBy.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxParameterGroupBy.Name = "textBoxParameterGroupBy" + textBoxParameterGroupBy.Size = New System.Drawing.Size(162, 23) + textBoxParameterGroupBy.TabIndex = 37 + ' + ' radioButtonGroupMultiple + ' + radioButtonGroupMultiple.AutoSize = True + radioButtonGroupMultiple.Location = New System.Drawing.Point(14, 121) + radioButtonGroupMultiple.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + radioButtonGroupMultiple.Name = "radioButtonGroupMultiple" + radioButtonGroupMultiple.Size = New System.Drawing.Size(166, 19) + radioButtonGroupMultiple.TabIndex = 36 + radioButtonGroupMultiple.TabStop = True + radioButtonGroupMultiple.Text = "Group Areas by Parameter:" + radioButtonGroupMultiple.UseVisualStyleBackColor = True + ' + ' radioButtonGroupSingle + ' + radioButtonGroupSingle.AutoSize = True + radioButtonGroupSingle.Location = New System.Drawing.Point(13, 16) + radioButtonGroupSingle.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + radioButtonGroupSingle.Name = "radioButtonGroupSingle" + radioButtonGroupSingle.Size = New System.Drawing.Size(89, 19) + radioButtonGroupSingle.TabIndex = 26 + radioButtonGroupSingle.TabStop = True + radioButtonGroupSingle.Text = "Single Areas" + radioButtonGroupSingle.UseVisualStyleBackColor = True + ' + ' checkBoxListExisting + ' + checkBoxListExisting.AutoSize = True + checkBoxListExisting.Location = New System.Drawing.Point(13, 157) + checkBoxListExisting.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + checkBoxListExisting.Name = "checkBoxListExisting" + checkBoxListExisting.Size = New System.Drawing.Size(88, 19) + checkBoxListExisting.TabIndex = 25 + checkBoxListExisting.Text = "List Existing" + checkBoxListExisting.UseVisualStyleBackColor = True + ' + ' checkBoxListReverse + ' + checkBoxListReverse.AutoSize = True + checkBoxListReverse.Location = New System.Drawing.Point(161, 157) + checkBoxListReverse.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + checkBoxListReverse.Name = "checkBoxListReverse" + checkBoxListReverse.Size = New System.Drawing.Size(87, 19) + checkBoxListReverse.TabIndex = 24 + checkBoxListReverse.Text = "Reverse List" + checkBoxListReverse.UseVisualStyleBackColor = True + ' + ' textBoxPad2 + ' + textBoxPad2.Location = New System.Drawing.Point(337, 82) + textBoxPad2.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxPad2.Name = "textBoxPad2" + textBoxPad2.Size = New System.Drawing.Size(35, 23) + textBoxPad2.TabIndex = 23 + ' + ' textBoxPad1 + ' + textBoxPad1.Location = New System.Drawing.Point(161, 83) + textBoxPad1.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxPad1.Name = "textBoxPad1" + textBoxPad1.Size = New System.Drawing.Size(35, 23) + textBoxPad1.TabIndex = 22 + ' + ' checkBoxPad2 + ' + checkBoxPad2.AutoSize = True + checkBoxPad2.Location = New System.Drawing.Point(211, 85) + checkBoxPad2.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + checkBoxPad2.Name = "checkBoxPad2" + checkBoxPad2.Size = New System.Drawing.Size(95, 19) + checkBoxPad2.TabIndex = 21 + checkBoxPad2.Text = "Pad w/ Zeros" + checkBoxPad2.UseVisualStyleBackColor = True + ' + ' checkBoxPad1 + ' + checkBoxPad1.AutoSize = True + checkBoxPad1.Location = New System.Drawing.Point(35, 87) + checkBoxPad1.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + checkBoxPad1.Name = "checkBoxPad1" + checkBoxPad1.Size = New System.Drawing.Size(95, 19) + checkBoxPad1.TabIndex = 20 + checkBoxPad1.Text = "Pad w/ Zeros" + checkBoxPad1.UseVisualStyleBackColor = True + ' + ' textBoxParameterList2 + ' + textBoxParameterList2.Location = New System.Drawing.Point(211, 57) + textBoxParameterList2.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxParameterList2.Name = "textBoxParameterList2" + textBoxParameterList2.Size = New System.Drawing.Size(162, 23) + textBoxParameterList2.TabIndex = 16 + ' + ' label7 + ' + label7.AutoSize = True + label7.Location = New System.Drawing.Point(31, 38) + label7.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label7.Name = "label7" + label7.Size = New System.Drawing.Size(94, 15) + label7.TabIndex = 15 + label7.Text = "List Parameter 1:" + ' + ' textBoxParameterList1 + ' + textBoxParameterList1.Location = New System.Drawing.Point(35, 58) + textBoxParameterList1.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxParameterList1.Name = "textBoxParameterList1" + textBoxParameterList1.Size = New System.Drawing.Size(162, 23) + textBoxParameterList1.TabIndex = 14 + ' + ' label8 + ' + label8.AutoSize = True + label8.Location = New System.Drawing.Point(208, 38) + label8.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label8.Name = "label8" + label8.Size = New System.Drawing.Size(94, 15) + label8.TabIndex = 17 + label8.Text = "List Parameter 2:" + ' + ' groupBox2 + ' + groupBox2.Controls.Add(textBoxScale) + groupBox2.Controls.Add(label5) + groupBox2.Controls.Add(textBoxPrefixViewTarget) + groupBox2.Controls.Add(label6) + groupBox2.Controls.Add(textBoxParameterAreaName) + groupBox2.Controls.Add(textBoxParameterViewName) + groupBox2.Controls.Add(label1) + groupBox2.Controls.Add(label3) + groupBox2.Controls.Add(label9) + groupBox2.ForeColor = Drawing.SystemColors.ControlText + groupBox2.Location = New System.Drawing.Point(383, 212) + groupBox2.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + groupBox2.Name = "groupBox2" + groupBox2.Padding = New System.Windows.Forms.Padding(4, 3, 4, 3) + groupBox2.Size = New System.Drawing.Size(390, 105) + groupBox2.TabIndex = 51 + groupBox2.TabStop = False + groupBox2.Text = "Processing Options" + ' + ' textBoxScale + ' + textBoxScale.Location = New System.Drawing.Point(102, 68) + textBoxScale.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxScale.Name = "textBoxScale" + textBoxScale.Size = New System.Drawing.Size(65, 23) + textBoxScale.TabIndex = 43 + ' + ' label5 + ' + label5.AutoSize = True + label5.Location = New System.Drawing.Point(10, 73) + label5.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label5.Name = "label5" + label5.Size = New System.Drawing.Size(69, 15) + label5.TabIndex = 42 + label5.Text = "Scale (ratio)" + ' + ' textBoxPrefixViewTarget + ' + textBoxPrefixViewTarget.Location = New System.Drawing.Point(284, 68) + textBoxPrefixViewTarget.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxPrefixViewTarget.Name = "textBoxPrefixViewTarget" + textBoxPrefixViewTarget.Size = New System.Drawing.Size(89, 23) + textBoxPrefixViewTarget.TabIndex = 41 + ' + ' label6 + ' + label6.AutoSize = True + label6.Location = New System.Drawing.Point(176, 72) + label6.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label6.Name = "label6" + label6.Size = New System.Drawing.Size(103, 15) + label6.TabIndex = 39 + label6.Text = "View Name Prefix:" + ' + ' textBoxParameterAreaName + ' + textBoxParameterAreaName.Location = New System.Drawing.Point(198, 38) + textBoxParameterAreaName.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxParameterAreaName.Name = "textBoxParameterAreaName" + textBoxParameterAreaName.Size = New System.Drawing.Size(174, 23) + textBoxParameterAreaName.TabIndex = 30 + ' + ' textBoxParameterViewName + ' + textBoxParameterViewName.Location = New System.Drawing.Point(13, 38) + textBoxParameterViewName.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxParameterViewName.Name = "textBoxParameterViewName" + textBoxParameterViewName.Size = New System.Drawing.Size(173, 23) + textBoxParameterViewName.TabIndex = 26 + ' + ' label1 + ' + label1.AutoSize = True + label1.Location = New System.Drawing.Point(9, 21) + label1.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label1.Name = "label1" + label1.Size = New System.Drawing.Size(162, 15) + label1.TabIndex = 27 + label1.Text = "Area Parameter - View Name:" + ' + ' label3 + ' + label3.AutoSize = True + label3.Location = New System.Drawing.Point(196, 21) + label3.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label3.Name = "label3" + label3.Size = New System.Drawing.Size(161, 15) + label3.TabIndex = 31 + label3.Text = "Area Parameter - Area Name:" + ' + ' label9 + ' + label9.AutoSize = True + label9.Location = New System.Drawing.Point(84, 73) + label9.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label9.Name = "label9" + label9.Size = New System.Drawing.Size(16, 15) + label9.TabIndex = 43 + label9.Text = "1:" + ' + ' buttonCreate + ' + buttonCreate.Location = New System.Drawing.Point(18, 708) + buttonCreate.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + buttonCreate.Name = "buttonCreate" + buttonCreate.Size = New System.Drawing.Size(208, 33) + buttonCreate.TabIndex = 49 + buttonCreate.Text = "Create Views" + buttonCreate.UseVisualStyleBackColor = True + ' + ' listBoxAreas + ' + listBoxAreas.FormattingEnabled = True + listBoxAreas.ItemHeight = 15 + listBoxAreas.Location = New System.Drawing.Point(18, 28) + listBoxAreas.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + listBoxAreas.Name = "listBoxAreas" + listBoxAreas.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended + listBoxAreas.Size = New System.Drawing.Size(349, 664) + listBoxAreas.TabIndex = 48 + ' + ' ProgressBar1 + ' + ProgressBar1.Location = New System.Drawing.Point(18, 708) + ProgressBar1.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + ProgressBar1.Name = "ProgressBar1" + ProgressBar1.Size = New System.Drawing.Size(755, 33) + ProgressBar1.TabIndex = 55 + ' + ' labelListTitle + ' + labelListTitle.AutoSize = True + labelListTitle.Location = New System.Drawing.Point(18, 7) + labelListTitle.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + labelListTitle.Name = "labelListTitle" + labelListTitle.Size = New System.Drawing.Size(218, 15) + labelListTitle.TabIndex = 56 + labelListTitle.Text = "Select Areas For Which to Create a View:" + ' + ' form_ElemViewsFromAreas + ' + AutoScaleDimensions = New System.Drawing.SizeF(7F, 15F) + AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font + ClientSize = New System.Drawing.Size(789, 753) + Controls.Add(labelListTitle) + Controls.Add(buttonClose) + Controls.Add(groupBoxSizeCrop) + Controls.Add(groupBoxViewType) + Controls.Add(groupBoxSizeBox) + Controls.Add(groupBoxSelection) + Controls.Add(groupBox2) + Controls.Add(buttonCreate) + Controls.Add(listBoxAreas) + Controls.Add(ProgressBar1) + Icon = CType(resources.GetObject("$this.Icon"), Drawing.Icon) + Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + MaximumSize = New System.Drawing.Size(805, 900) + MinimumSize = New System.Drawing.Size(805, 792) + Name = "form_ElemViewsFromAreas" + Text = "Views From Areas" + TopMost = True + groupBoxSizeCrop.ResumeLayout(False) + groupBoxSizeCrop.PerformLayout() + groupBoxViewType.ResumeLayout(False) + groupBoxViewType.PerformLayout() + groupBoxSizeBox.ResumeLayout(False) + groupBoxSizeBox.PerformLayout() + groupBoxSelection.ResumeLayout(False) + groupBoxSelection.PerformLayout() + groupBox2.ResumeLayout(False) + groupBox2.PerformLayout() + ResumeLayout(False) + PerformLayout() + + End Sub + Private WithEvents buttonClose As System.Windows.Forms.Button + Private WithEvents groupBoxSizeCrop As System.Windows.Forms.GroupBox + Private WithEvents checkBoxCropShow As System.Windows.Forms.CheckBox + Private WithEvents textBoxCropFixedY As System.Windows.Forms.TextBox + Private WithEvents textBoxCropFixedX As System.Windows.Forms.TextBox + Private WithEvents radioButtonSizeCropFixed As System.Windows.Forms.RadioButton + Private WithEvents radioButtonSizeCropDynamic As System.Windows.Forms.RadioButton + Private WithEvents textBoxCropSpace As System.Windows.Forms.TextBox + Private WithEvents label10 As System.Windows.Forms.Label + Private WithEvents label11 As System.Windows.Forms.Label + Private WithEvents groupBoxViewType As System.Windows.Forms.GroupBox + Private WithEvents checkBoxReplaceExisting As System.Windows.Forms.CheckBox + Private WithEvents radioButtonType3dBoxCrop As System.Windows.Forms.RadioButton + Private WithEvents textBoxVectorZ As System.Windows.Forms.TextBox + Private WithEvents textBoxVectorY As System.Windows.Forms.TextBox + Private WithEvents textBoxVectorX As System.Windows.Forms.TextBox + Private WithEvents label4 As System.Windows.Forms.Label + Private WithEvents radioButtonType3dCrop As System.Windows.Forms.RadioButton + Private WithEvents radioButtonType2d As System.Windows.Forms.RadioButton + Private WithEvents radioButtonType3dBox As System.Windows.Forms.RadioButton + Private WithEvents label14 As System.Windows.Forms.Label + Private WithEvents label15 As System.Windows.Forms.Label + Private WithEvents label16 As System.Windows.Forms.Label + Private WithEvents groupBoxSizeBox As System.Windows.Forms.GroupBox + Private WithEvents label20 As System.Windows.Forms.Label + Private WithEvents checkBoxBoxShow As System.Windows.Forms.CheckBox + Private WithEvents textBoxBoxFixedZ As System.Windows.Forms.TextBox + Private WithEvents textBoxBoxFixedY As System.Windows.Forms.TextBox + Private WithEvents textBoxBoxFixedX As System.Windows.Forms.TextBox + Private WithEvents radioButtonSizeBoxFixed As System.Windows.Forms.RadioButton + Private WithEvents radioButtonSizeBoxDynamic As System.Windows.Forms.RadioButton + Private WithEvents textBoxBoxSpace As System.Windows.Forms.TextBox + Private WithEvents label17 As System.Windows.Forms.Label + Private WithEvents label18 As System.Windows.Forms.Label + Private WithEvents label19 As System.Windows.Forms.Label + Private WithEvents groupBoxSelection As System.Windows.Forms.GroupBox + Private WithEvents textBoxParameterGroupBy As System.Windows.Forms.TextBox + Private WithEvents radioButtonGroupMultiple As System.Windows.Forms.RadioButton + Private WithEvents radioButtonGroupSingle As System.Windows.Forms.RadioButton + Private WithEvents checkBoxListExisting As System.Windows.Forms.CheckBox + Private WithEvents checkBoxListReverse As System.Windows.Forms.CheckBox + Private WithEvents textBoxPad2 As System.Windows.Forms.TextBox + Private WithEvents textBoxPad1 As System.Windows.Forms.TextBox + Private WithEvents checkBoxPad2 As System.Windows.Forms.CheckBox + Private WithEvents checkBoxPad1 As System.Windows.Forms.CheckBox + Private WithEvents textBoxParameterList2 As System.Windows.Forms.TextBox + Private WithEvents label7 As System.Windows.Forms.Label + Private WithEvents textBoxParameterList1 As System.Windows.Forms.TextBox + Private WithEvents label8 As System.Windows.Forms.Label + Private WithEvents groupBox2 As System.Windows.Forms.GroupBox + Private WithEvents textBoxScale As System.Windows.Forms.TextBox + Private WithEvents label5 As System.Windows.Forms.Label + Private WithEvents textBoxPrefixViewTarget As System.Windows.Forms.TextBox + Private WithEvents label6 As System.Windows.Forms.Label + Private WithEvents textBoxParameterAreaName As System.Windows.Forms.TextBox + Private WithEvents textBoxParameterViewName As System.Windows.Forms.TextBox + Private WithEvents label1 As System.Windows.Forms.Label + Private WithEvents label3 As System.Windows.Forms.Label + Private WithEvents label9 As System.Windows.Forms.Label + Private WithEvents buttonCreate As System.Windows.Forms.Button + Private WithEvents listBoxAreas As System.Windows.Forms.ListBox + Friend WithEvents ProgressBar1 As System.Windows.Forms.ProgressBar + Private WithEvents labelListTitle As System.Windows.Forms.Label +End Class diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemViewsFromAreas.resx b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemViewsFromAreas.resx similarity index 96% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemViewsFromAreas.resx rename to HOK.ElementTools/HOK.ElementTools/Forms/form_ElemViewsFromAreas.resx index 875dc979..1ae383f8 100644 --- a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemViewsFromAreas.resx +++ b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemViewsFromAreas.resx @@ -1,17 +1,17 @@  - diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemViewsFromAreas.vb b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemViewsFromAreas.vb similarity index 100% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemViewsFromAreas.vb rename to HOK.ElementTools/HOK.ElementTools/Forms/form_ElemViewsFromAreas.vb diff --git a/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemViewsFromRooms.Designer.vb b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemViewsFromRooms.Designer.vb new file mode 100644 index 00000000..4b5abc14 --- /dev/null +++ b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemViewsFromRooms.Designer.vb @@ -0,0 +1,919 @@ + _ +Partial Class form_ElemViewsFromRooms + Inherits System.Windows.Forms.Form + + 'Form overrides dispose to clean up the component list. + _ + Protected Overrides Sub Dispose(ByVal disposing As Boolean) + Try + If disposing AndAlso components IsNot Nothing Then + components.Dispose() + End If + Finally + MyBase.Dispose(disposing) + End Try + End Sub + + 'Required by the Windows Form Designer + Private components As System.ComponentModel.IContainer + + 'NOTE: The following procedure is required by the Windows Form Designer + 'It can be modified using the Windows Form Designer. + 'Do not modify it using the code editor. + _ + Private Sub InitializeComponent() + Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(form_ElemViewsFromRooms)) + checkBoxCropShow = New System.Windows.Forms.CheckBox() + textBoxCropFixedY = New System.Windows.Forms.TextBox() + textBoxCropFixedX = New System.Windows.Forms.TextBox() + radioButtonSizeCropFixed = New System.Windows.Forms.RadioButton() + radioButtonSizeCropDynamic = New System.Windows.Forms.RadioButton() + textBoxCropSpace = New System.Windows.Forms.TextBox() + buttonClose = New System.Windows.Forms.Button() + label10 = New System.Windows.Forms.Label() + groupBoxSizeCrop = New System.Windows.Forms.GroupBox() + label11 = New System.Windows.Forms.Label() + radioButtonGroupSingle = New System.Windows.Forms.RadioButton() + checkBoxReplaceExisting = New System.Windows.Forms.CheckBox() + radioButtonGroupMultiple = New System.Windows.Forms.RadioButton() + groupBoxViewType = New System.Windows.Forms.GroupBox() + ComboBoxViewTemplate = New System.Windows.Forms.ComboBox() + Label2 = New System.Windows.Forms.Label() + RadioButtonTypeElevation = New System.Windows.Forms.RadioButton() + radioButtonType3dBoxCrop = New System.Windows.Forms.RadioButton() + textBoxVectorZ = New System.Windows.Forms.TextBox() + textBoxVectorY = New System.Windows.Forms.TextBox() + textBoxVectorX = New System.Windows.Forms.TextBox() + label4 = New System.Windows.Forms.Label() + radioButtonType3dCrop = New System.Windows.Forms.RadioButton() + radioButtonType2d = New System.Windows.Forms.RadioButton() + radioButtonType3dBox = New System.Windows.Forms.RadioButton() + label14 = New System.Windows.Forms.Label() + label15 = New System.Windows.Forms.Label() + label16 = New System.Windows.Forms.Label() + label20 = New System.Windows.Forms.Label() + textBoxBoxFixedZ = New System.Windows.Forms.TextBox() + checkBoxBoxShow = New System.Windows.Forms.CheckBox() + textBoxBoxFixedY = New System.Windows.Forms.TextBox() + textBoxBoxFixedX = New System.Windows.Forms.TextBox() + groupBoxSizeBox = New System.Windows.Forms.GroupBox() + radioButtonSizeBoxFixed = New System.Windows.Forms.RadioButton() + radioButtonSizeBoxDynamic = New System.Windows.Forms.RadioButton() + textBoxBoxSpace = New System.Windows.Forms.TextBox() + label17 = New System.Windows.Forms.Label() + label18 = New System.Windows.Forms.Label() + label19 = New System.Windows.Forms.Label() + textBoxParameterGroupBy = New System.Windows.Forms.TextBox() + groupBoxSelection = New System.Windows.Forms.GroupBox() + checkBoxListExisting = New System.Windows.Forms.CheckBox() + checkBoxListReverse = New System.Windows.Forms.CheckBox() + textBoxPad2 = New System.Windows.Forms.TextBox() + textBoxPad1 = New System.Windows.Forms.TextBox() + checkBoxPad2 = New System.Windows.Forms.CheckBox() + checkBoxPad1 = New System.Windows.Forms.CheckBox() + textBoxParameterList2 = New System.Windows.Forms.TextBox() + label7 = New System.Windows.Forms.Label() + textBoxParameterList1 = New System.Windows.Forms.TextBox() + label8 = New System.Windows.Forms.Label() + textBoxScale = New System.Windows.Forms.TextBox() + label5 = New System.Windows.Forms.Label() + textBoxPrefixViewTarget = New System.Windows.Forms.TextBox() + label6 = New System.Windows.Forms.Label() + label9 = New System.Windows.Forms.Label() + groupBox2 = New System.Windows.Forms.GroupBox() + textBoxParameterRoomName = New System.Windows.Forms.TextBox() + textBoxParameterViewName = New System.Windows.Forms.TextBox() + label1 = New System.Windows.Forms.Label() + label3 = New System.Windows.Forms.Label() + buttonCreate = New System.Windows.Forms.Button() + labelListTitle = New System.Windows.Forms.Label() + listBoxRooms = New System.Windows.Forms.ListBox() + ProgressBar1 = New System.Windows.Forms.ProgressBar() + groupBoxSizeCrop.SuspendLayout() + groupBoxViewType.SuspendLayout() + groupBoxSizeBox.SuspendLayout() + groupBoxSelection.SuspendLayout() + groupBox2.SuspendLayout() + SuspendLayout() + ' + ' checkBoxCropShow + ' + checkBoxCropShow.AutoSize = True + checkBoxCropShow.Location = New System.Drawing.Point(12, 91) + checkBoxCropShow.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + checkBoxCropShow.Name = "checkBoxCropShow" + checkBoxCropShow.Size = New System.Drawing.Size(107, 19) + checkBoxCropShow.TabIndex = 52 + checkBoxCropShow.Text = "Show Crop Box" + checkBoxCropShow.UseVisualStyleBackColor = True + ' + ' textBoxCropFixedY + ' + textBoxCropFixedY.Location = New System.Drawing.Point(252, 53) + textBoxCropFixedY.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxCropFixedY.Name = "textBoxCropFixedY" + textBoxCropFixedY.Size = New System.Drawing.Size(47, 23) + textBoxCropFixedY.TabIndex = 49 + ' + ' textBoxCropFixedX + ' + textBoxCropFixedX.Location = New System.Drawing.Point(172, 53) + textBoxCropFixedX.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxCropFixedX.Name = "textBoxCropFixedX" + textBoxCropFixedX.Size = New System.Drawing.Size(46, 23) + textBoxCropFixedX.TabIndex = 47 + ' + ' radioButtonSizeCropFixed + ' + radioButtonSizeCropFixed.AutoSize = True + radioButtonSizeCropFixed.Location = New System.Drawing.Point(12, 55) + radioButtonSizeCropFixed.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + radioButtonSizeCropFixed.Name = "radioButtonSizeCropFixed" + radioButtonSizeCropFixed.Size = New System.Drawing.Size(118, 19) + radioButtonSizeCropFixed.TabIndex = 46 + radioButtonSizeCropFixed.TabStop = True + radioButtonSizeCropFixed.Text = "Fixed Dimensions" + radioButtonSizeCropFixed.UseVisualStyleBackColor = True + ' + ' radioButtonSizeCropDynamic + ' + radioButtonSizeCropDynamic.AutoSize = True + radioButtonSizeCropDynamic.Location = New System.Drawing.Point(12, 22) + radioButtonSizeCropDynamic.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + radioButtonSizeCropDynamic.Name = "radioButtonSizeCropDynamic" + radioButtonSizeCropDynamic.Size = New System.Drawing.Size(137, 19) + radioButtonSizeCropDynamic.TabIndex = 45 + radioButtonSizeCropDynamic.TabStop = True + radioButtonSizeCropDynamic.Text = "Space Around Room:" + radioButtonSizeCropDynamic.UseVisualStyleBackColor = True + ' + ' textBoxCropSpace + ' + textBoxCropSpace.Location = New System.Drawing.Point(172, 21) + textBoxCropSpace.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxCropSpace.Name = "textBoxCropSpace" + textBoxCropSpace.Size = New System.Drawing.Size(47, 23) + textBoxCropSpace.TabIndex = 28 + ' + ' buttonClose + ' + buttonClose.Location = New System.Drawing.Point(586, 774) + buttonClose.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + buttonClose.Name = "buttonClose" + buttonClose.Size = New System.Drawing.Size(208, 33) + buttonClose.TabIndex = 37 + buttonClose.Text = "Close" + buttonClose.UseVisualStyleBackColor = True + ' + ' label10 + ' + label10.AutoSize = True + label10.Location = New System.Drawing.Point(149, 59) + label10.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label10.Name = "label10" + label10.Size = New System.Drawing.Size(17, 15) + label10.TabIndex = 48 + label10.Text = "X:" + ' + ' groupBoxSizeCrop + ' + groupBoxSizeCrop.Controls.Add(checkBoxCropShow) + groupBoxSizeCrop.Controls.Add(textBoxCropFixedY) + groupBoxSizeCrop.Controls.Add(textBoxCropFixedX) + groupBoxSizeCrop.Controls.Add(radioButtonSizeCropFixed) + groupBoxSizeCrop.Controls.Add(radioButtonSizeCropDynamic) + groupBoxSizeCrop.Controls.Add(textBoxCropSpace) + groupBoxSizeCrop.Controls.Add(label10) + groupBoxSizeCrop.Controls.Add(label11) + groupBoxSizeCrop.ForeColor = Drawing.SystemColors.ControlText + groupBoxSizeCrop.Location = New System.Drawing.Point(404, 631) + groupBoxSizeCrop.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + groupBoxSizeCrop.Name = "groupBoxSizeCrop" + groupBoxSizeCrop.Padding = New System.Windows.Forms.Padding(4, 3, 4, 3) + groupBoxSizeCrop.Size = New System.Drawing.Size(390, 123) + groupBoxSizeCrop.TabIndex = 44 + groupBoxSizeCrop.TabStop = False + groupBoxSizeCrop.Text = "View Size" + ' + ' label11 + ' + label11.AutoSize = True + label11.Location = New System.Drawing.Point(230, 59) + label11.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label11.Name = "label11" + label11.Size = New System.Drawing.Size(17, 15) + label11.TabIndex = 50 + label11.Text = "Y:" + ' + ' radioButtonGroupSingle + ' + radioButtonGroupSingle.AutoSize = True + radioButtonGroupSingle.Location = New System.Drawing.Point(13, 16) + radioButtonGroupSingle.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + radioButtonGroupSingle.Name = "radioButtonGroupSingle" + radioButtonGroupSingle.Size = New System.Drawing.Size(97, 19) + radioButtonGroupSingle.TabIndex = 26 + radioButtonGroupSingle.TabStop = True + radioButtonGroupSingle.Text = "Single Rooms" + radioButtonGroupSingle.UseVisualStyleBackColor = True + ' + ' checkBoxReplaceExisting + ' + checkBoxReplaceExisting.AutoSize = True + checkBoxReplaceExisting.Location = New System.Drawing.Point(12, 147) + checkBoxReplaceExisting.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + checkBoxReplaceExisting.Name = "checkBoxReplaceExisting" + checkBoxReplaceExisting.Size = New System.Drawing.Size(111, 19) + checkBoxReplaceExisting.TabIndex = 38 + checkBoxReplaceExisting.Text = "Replace Existing" + checkBoxReplaceExisting.UseVisualStyleBackColor = True + ' + ' radioButtonGroupMultiple + ' + radioButtonGroupMultiple.AutoSize = True + radioButtonGroupMultiple.Location = New System.Drawing.Point(14, 121) + radioButtonGroupMultiple.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + radioButtonGroupMultiple.Name = "radioButtonGroupMultiple" + radioButtonGroupMultiple.Size = New System.Drawing.Size(174, 19) + radioButtonGroupMultiple.TabIndex = 36 + radioButtonGroupMultiple.TabStop = True + radioButtonGroupMultiple.Text = "Group Rooms by Parameter:" + radioButtonGroupMultiple.UseVisualStyleBackColor = True + ' + ' groupBoxViewType + ' + groupBoxViewType.Controls.Add(ComboBoxViewTemplate) + groupBoxViewType.Controls.Add(Label2) + groupBoxViewType.Controls.Add(RadioButtonTypeElevation) + groupBoxViewType.Controls.Add(checkBoxReplaceExisting) + groupBoxViewType.Controls.Add(radioButtonType3dBoxCrop) + groupBoxViewType.Controls.Add(textBoxVectorZ) + groupBoxViewType.Controls.Add(textBoxVectorY) + groupBoxViewType.Controls.Add(textBoxVectorX) + groupBoxViewType.Controls.Add(label4) + groupBoxViewType.Controls.Add(radioButtonType3dCrop) + groupBoxViewType.Controls.Add(radioButtonType2d) + groupBoxViewType.Controls.Add(radioButtonType3dBox) + groupBoxViewType.Controls.Add(label14) + groupBoxViewType.Controls.Add(label15) + groupBoxViewType.Controls.Add(label16) + groupBoxViewType.ForeColor = Drawing.SystemColors.ControlText + groupBoxViewType.Location = New System.Drawing.Point(404, 327) + groupBoxViewType.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + groupBoxViewType.Name = "groupBoxViewType" + groupBoxViewType.Padding = New System.Windows.Forms.Padding(4, 3, 4, 3) + groupBoxViewType.Size = New System.Drawing.Size(390, 173) + groupBoxViewType.TabIndex = 43 + groupBoxViewType.TabStop = False + groupBoxViewType.Text = "View Type" + ' + ' ComboBoxViewTemplate + ' + ComboBoxViewTemplate.FormattingEnabled = True + ComboBoxViewTemplate.Location = New System.Drawing.Point(152, 78) + ComboBoxViewTemplate.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + ComboBoxViewTemplate.Name = "ComboBoxViewTemplate" + ComboBoxViewTemplate.Size = New System.Drawing.Size(220, 23) + ComboBoxViewTemplate.TabIndex = 61 + ' + ' Label2 + ' + Label2.AutoSize = True + Label2.Location = New System.Drawing.Point(30, 82) + Label2.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + Label2.Name = "Label2" + Label2.Size = New System.Drawing.Size(89, 15) + Label2.TabIndex = 60 + Label2.Text = "View Template: " + ' + ' RadioButtonTypeElevation + ' + RadioButtonTypeElevation.AutoSize = True + RadioButtonTypeElevation.Location = New System.Drawing.Point(102, 17) + RadioButtonTypeElevation.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + RadioButtonTypeElevation.Name = "RadioButtonTypeElevation" + RadioButtonTypeElevation.Size = New System.Drawing.Size(73, 19) + RadioButtonTypeElevation.TabIndex = 59 + RadioButtonTypeElevation.TabStop = True + RadioButtonTypeElevation.Text = "Elevation" + RadioButtonTypeElevation.UseVisualStyleBackColor = True + ' + ' radioButtonType3dBoxCrop + ' + radioButtonType3dBoxCrop.AutoSize = True + radioButtonType3dBoxCrop.Location = New System.Drawing.Point(195, 44) + radioButtonType3dBoxCrop.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + radioButtonType3dBoxCrop.Name = "radioButtonType3dBoxCrop" + radioButtonType3dBoxCrop.Size = New System.Drawing.Size(93, 19) + radioButtonType3dBoxCrop.TabIndex = 58 + radioButtonType3dBoxCrop.TabStop = True + radioButtonType3dBoxCrop.Text = "3D Box-Crop" + radioButtonType3dBoxCrop.UseVisualStyleBackColor = True + ' + ' textBoxVectorZ + ' + textBoxVectorZ.Location = New System.Drawing.Point(326, 113) + textBoxVectorZ.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxVectorZ.Name = "textBoxVectorZ" + textBoxVectorZ.Size = New System.Drawing.Size(46, 23) + textBoxVectorZ.TabIndex = 56 + ' + ' textBoxVectorY + ' + textBoxVectorY.Location = New System.Drawing.Point(252, 114) + textBoxVectorY.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxVectorY.Name = "textBoxVectorY" + textBoxVectorY.Size = New System.Drawing.Size(46, 23) + textBoxVectorY.TabIndex = 54 + ' + ' textBoxVectorX + ' + textBoxVectorX.Location = New System.Drawing.Point(169, 114) + textBoxVectorX.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxVectorX.Name = "textBoxVectorX" + textBoxVectorX.Size = New System.Drawing.Size(46, 23) + textBoxVectorX.TabIndex = 52 + ' + ' label4 + ' + label4.AutoSize = True + label4.Location = New System.Drawing.Point(8, 117) + label4.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label4.Name = "label4" + label4.Size = New System.Drawing.Size(108, 15) + label4.TabIndex = 47 + label4.Text = "3D Direction Vector" + ' + ' radioButtonType3dCrop + ' + radioButtonType3dCrop.AutoSize = True + radioButtonType3dCrop.Location = New System.Drawing.Point(103, 44) + radioButtonType3dCrop.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + radioButtonType3dCrop.Name = "radioButtonType3dCrop" + radioButtonType3dCrop.Size = New System.Drawing.Size(68, 19) + radioButtonType3dCrop.TabIndex = 46 + radioButtonType3dCrop.TabStop = True + radioButtonType3dCrop.Text = "3D Crop" + radioButtonType3dCrop.UseVisualStyleBackColor = True + ' + ' radioButtonType2d + ' + radioButtonType2d.AutoSize = True + radioButtonType2d.Location = New System.Drawing.Point(12, 18) + radioButtonType2d.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + radioButtonType2d.Name = "radioButtonType2d" + radioButtonType2d.Size = New System.Drawing.Size(39, 19) + radioButtonType2d.TabIndex = 44 + radioButtonType2d.TabStop = True + radioButtonType2d.Text = "2D" + radioButtonType2d.UseVisualStyleBackColor = True + ' + ' radioButtonType3dBox + ' + radioButtonType3dBox.AutoSize = True + radioButtonType3dBox.Location = New System.Drawing.Point(12, 44) + radioButtonType3dBox.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + radioButtonType3dBox.Name = "radioButtonType3dBox" + radioButtonType3dBox.Size = New System.Drawing.Size(62, 19) + radioButtonType3dBox.TabIndex = 45 + radioButtonType3dBox.TabStop = True + radioButtonType3dBox.Text = "3D Box" + radioButtonType3dBox.UseVisualStyleBackColor = True + ' + ' label14 + ' + label14.AutoSize = True + label14.Location = New System.Drawing.Point(304, 118) + label14.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label14.Name = "label14" + label14.Size = New System.Drawing.Size(17, 15) + label14.TabIndex = 57 + label14.Text = "Z:" + ' + ' label15 + ' + label15.AutoSize = True + label15.Location = New System.Drawing.Point(230, 118) + label15.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label15.Name = "label15" + label15.Size = New System.Drawing.Size(17, 15) + label15.TabIndex = 55 + label15.Text = "Y:" + ' + ' label16 + ' + label16.AutoSize = True + label16.Location = New System.Drawing.Point(148, 118) + label16.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label16.Name = "label16" + label16.Size = New System.Drawing.Size(17, 15) + label16.TabIndex = 53 + label16.Text = "X:" + ' + ' label20 + ' + label20.AutoSize = True + label20.Location = New System.Drawing.Point(250, 23) + label20.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label20.Name = "label20" + label20.Size = New System.Drawing.Size(78, 15) + label20.TabIndex = 63 + label20.Text = "( Z = .9 x HT )" & vbCrLf + ' + ' textBoxBoxFixedZ + ' + textBoxBoxFixedZ.Location = New System.Drawing.Point(328, 52) + textBoxBoxFixedZ.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxBoxFixedZ.Name = "textBoxBoxFixedZ" + textBoxBoxFixedZ.Size = New System.Drawing.Size(47, 23) + textBoxBoxFixedZ.TabIndex = 60 + ' + ' checkBoxBoxShow + ' + checkBoxBoxShow.AutoSize = True + checkBoxBoxShow.Location = New System.Drawing.Point(15, 87) + checkBoxBoxShow.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + checkBoxBoxShow.Name = "checkBoxBoxShow" + checkBoxBoxShow.Size = New System.Drawing.Size(120, 19) + checkBoxBoxShow.TabIndex = 62 + checkBoxBoxShow.Text = "Show Section Box" + checkBoxBoxShow.UseVisualStyleBackColor = True + ' + ' textBoxBoxFixedY + ' + textBoxBoxFixedY.Location = New System.Drawing.Point(251, 52) + textBoxBoxFixedY.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxBoxFixedY.Name = "textBoxBoxFixedY" + textBoxBoxFixedY.Size = New System.Drawing.Size(47, 23) + textBoxBoxFixedY.TabIndex = 58 + ' + ' textBoxBoxFixedX + ' + textBoxBoxFixedX.Location = New System.Drawing.Point(172, 52) + textBoxBoxFixedX.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxBoxFixedX.Name = "textBoxBoxFixedX" + textBoxBoxFixedX.Size = New System.Drawing.Size(46, 23) + textBoxBoxFixedX.TabIndex = 56 + ' + ' groupBoxSizeBox + ' + groupBoxSizeBox.Controls.Add(label20) + groupBoxSizeBox.Controls.Add(checkBoxBoxShow) + groupBoxSizeBox.Controls.Add(textBoxBoxFixedZ) + groupBoxSizeBox.Controls.Add(textBoxBoxFixedY) + groupBoxSizeBox.Controls.Add(textBoxBoxFixedX) + groupBoxSizeBox.Controls.Add(radioButtonSizeBoxFixed) + groupBoxSizeBox.Controls.Add(radioButtonSizeBoxDynamic) + groupBoxSizeBox.Controls.Add(textBoxBoxSpace) + groupBoxSizeBox.Controls.Add(label17) + groupBoxSizeBox.Controls.Add(label18) + groupBoxSizeBox.Controls.Add(label19) + groupBoxSizeBox.ForeColor = Drawing.SystemColors.ControlText + groupBoxSizeBox.Location = New System.Drawing.Point(404, 507) + groupBoxSizeBox.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + groupBoxSizeBox.Name = "groupBoxSizeBox" + groupBoxSizeBox.Padding = New System.Windows.Forms.Padding(4, 3, 4, 3) + groupBoxSizeBox.Size = New System.Drawing.Size(390, 118) + groupBoxSizeBox.TabIndex = 45 + groupBoxSizeBox.TabStop = False + groupBoxSizeBox.Text = "Section Box Size" + ' + ' radioButtonSizeBoxFixed + ' + radioButtonSizeBoxFixed.AutoSize = True + radioButtonSizeBoxFixed.Location = New System.Drawing.Point(15, 54) + radioButtonSizeBoxFixed.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + radioButtonSizeBoxFixed.Name = "radioButtonSizeBoxFixed" + radioButtonSizeBoxFixed.Size = New System.Drawing.Size(118, 19) + radioButtonSizeBoxFixed.TabIndex = 55 + radioButtonSizeBoxFixed.TabStop = True + radioButtonSizeBoxFixed.Text = "Fixed Dimensions" + radioButtonSizeBoxFixed.UseVisualStyleBackColor = True + ' + ' radioButtonSizeBoxDynamic + ' + radioButtonSizeBoxDynamic.AutoSize = True + radioButtonSizeBoxDynamic.Location = New System.Drawing.Point(15, 21) + radioButtonSizeBoxDynamic.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + radioButtonSizeBoxDynamic.Name = "radioButtonSizeBoxDynamic" + radioButtonSizeBoxDynamic.Size = New System.Drawing.Size(137, 19) + radioButtonSizeBoxDynamic.TabIndex = 54 + radioButtonSizeBoxDynamic.TabStop = True + radioButtonSizeBoxDynamic.Text = "Space Around Room:" + radioButtonSizeBoxDynamic.UseVisualStyleBackColor = True + ' + ' textBoxBoxSpace + ' + textBoxBoxSpace.Location = New System.Drawing.Point(172, 20) + textBoxBoxSpace.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxBoxSpace.Name = "textBoxBoxSpace" + textBoxBoxSpace.Size = New System.Drawing.Size(46, 23) + textBoxBoxSpace.TabIndex = 52 + ' + ' label17 + ' + label17.AutoSize = True + label17.Location = New System.Drawing.Point(150, 58) + label17.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label17.Name = "label17" + label17.Size = New System.Drawing.Size(17, 15) + label17.TabIndex = 57 + label17.Text = "X:" + ' + ' label18 + ' + label18.AutoSize = True + label18.Location = New System.Drawing.Point(227, 58) + label18.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label18.Name = "label18" + label18.Size = New System.Drawing.Size(17, 15) + label18.TabIndex = 59 + label18.Text = "Y:" + ' + ' label19 + ' + label19.AutoSize = True + label19.Location = New System.Drawing.Point(307, 58) + label19.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label19.Name = "label19" + label19.Size = New System.Drawing.Size(17, 15) + label19.TabIndex = 61 + label19.Text = "Z:" + ' + ' textBoxParameterGroupBy + ' + textBoxParameterGroupBy.Location = New System.Drawing.Point(211, 120) + textBoxParameterGroupBy.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxParameterGroupBy.Name = "textBoxParameterGroupBy" + textBoxParameterGroupBy.Size = New System.Drawing.Size(162, 23) + textBoxParameterGroupBy.TabIndex = 37 + ' + ' groupBoxSelection + ' + groupBoxSelection.Controls.Add(textBoxParameterGroupBy) + groupBoxSelection.Controls.Add(radioButtonGroupMultiple) + groupBoxSelection.Controls.Add(radioButtonGroupSingle) + groupBoxSelection.Controls.Add(checkBoxListExisting) + groupBoxSelection.Controls.Add(checkBoxListReverse) + groupBoxSelection.Controls.Add(textBoxPad2) + groupBoxSelection.Controls.Add(textBoxPad1) + groupBoxSelection.Controls.Add(checkBoxPad2) + groupBoxSelection.Controls.Add(checkBoxPad1) + groupBoxSelection.Controls.Add(textBoxParameterList2) + groupBoxSelection.Controls.Add(label7) + groupBoxSelection.Controls.Add(textBoxParameterList1) + groupBoxSelection.Controls.Add(label8) + groupBoxSelection.ForeColor = Drawing.SystemColors.ControlText + groupBoxSelection.Location = New System.Drawing.Point(404, 22) + groupBoxSelection.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + groupBoxSelection.Name = "groupBoxSelection" + groupBoxSelection.Padding = New System.Windows.Forms.Padding(4, 3, 4, 3) + groupBoxSelection.Size = New System.Drawing.Size(390, 186) + groupBoxSelection.TabIndex = 41 + groupBoxSelection.TabStop = False + groupBoxSelection.Text = "Selection Options" + ' + ' checkBoxListExisting + ' + checkBoxListExisting.AutoSize = True + checkBoxListExisting.Location = New System.Drawing.Point(13, 157) + checkBoxListExisting.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + checkBoxListExisting.Name = "checkBoxListExisting" + checkBoxListExisting.Size = New System.Drawing.Size(88, 19) + checkBoxListExisting.TabIndex = 25 + checkBoxListExisting.Text = "List Existing" + checkBoxListExisting.UseVisualStyleBackColor = True + ' + ' checkBoxListReverse + ' + checkBoxListReverse.AutoSize = True + checkBoxListReverse.Location = New System.Drawing.Point(161, 157) + checkBoxListReverse.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + checkBoxListReverse.Name = "checkBoxListReverse" + checkBoxListReverse.Size = New System.Drawing.Size(87, 19) + checkBoxListReverse.TabIndex = 24 + checkBoxListReverse.Text = "Reverse List" + checkBoxListReverse.UseVisualStyleBackColor = True + ' + ' textBoxPad2 + ' + textBoxPad2.Location = New System.Drawing.Point(337, 82) + textBoxPad2.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxPad2.Name = "textBoxPad2" + textBoxPad2.Size = New System.Drawing.Size(35, 23) + textBoxPad2.TabIndex = 23 + ' + ' textBoxPad1 + ' + textBoxPad1.Location = New System.Drawing.Point(161, 83) + textBoxPad1.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxPad1.Name = "textBoxPad1" + textBoxPad1.Size = New System.Drawing.Size(35, 23) + textBoxPad1.TabIndex = 22 + ' + ' checkBoxPad2 + ' + checkBoxPad2.AutoSize = True + checkBoxPad2.Location = New System.Drawing.Point(211, 85) + checkBoxPad2.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + checkBoxPad2.Name = "checkBoxPad2" + checkBoxPad2.Size = New System.Drawing.Size(95, 19) + checkBoxPad2.TabIndex = 21 + checkBoxPad2.Text = "Pad w/ Zeros" + checkBoxPad2.UseVisualStyleBackColor = True + ' + ' checkBoxPad1 + ' + checkBoxPad1.AutoSize = True + checkBoxPad1.Location = New System.Drawing.Point(35, 87) + checkBoxPad1.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + checkBoxPad1.Name = "checkBoxPad1" + checkBoxPad1.Size = New System.Drawing.Size(95, 19) + checkBoxPad1.TabIndex = 20 + checkBoxPad1.Text = "Pad w/ Zeros" + checkBoxPad1.UseVisualStyleBackColor = True + ' + ' textBoxParameterList2 + ' + textBoxParameterList2.Location = New System.Drawing.Point(211, 57) + textBoxParameterList2.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxParameterList2.Name = "textBoxParameterList2" + textBoxParameterList2.Size = New System.Drawing.Size(162, 23) + textBoxParameterList2.TabIndex = 16 + ' + ' label7 + ' + label7.AutoSize = True + label7.Location = New System.Drawing.Point(31, 38) + label7.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label7.Name = "label7" + label7.Size = New System.Drawing.Size(94, 15) + label7.TabIndex = 15 + label7.Text = "List Parameter 1:" + ' + ' textBoxParameterList1 + ' + textBoxParameterList1.Location = New System.Drawing.Point(35, 58) + textBoxParameterList1.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxParameterList1.Name = "textBoxParameterList1" + textBoxParameterList1.Size = New System.Drawing.Size(162, 23) + textBoxParameterList1.TabIndex = 14 + ' + ' label8 + ' + label8.AutoSize = True + label8.Location = New System.Drawing.Point(208, 38) + label8.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label8.Name = "label8" + label8.Size = New System.Drawing.Size(94, 15) + label8.TabIndex = 17 + label8.Text = "List Parameter 2:" + ' + ' textBoxScale + ' + textBoxScale.Location = New System.Drawing.Point(102, 68) + textBoxScale.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxScale.Name = "textBoxScale" + textBoxScale.Size = New System.Drawing.Size(65, 23) + textBoxScale.TabIndex = 43 + ' + ' label5 + ' + label5.AutoSize = True + label5.Location = New System.Drawing.Point(10, 73) + label5.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label5.Name = "label5" + label5.Size = New System.Drawing.Size(69, 15) + label5.TabIndex = 42 + label5.Text = "Scale (ratio)" + ' + ' textBoxPrefixViewTarget + ' + textBoxPrefixViewTarget.Location = New System.Drawing.Point(284, 68) + textBoxPrefixViewTarget.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxPrefixViewTarget.Name = "textBoxPrefixViewTarget" + textBoxPrefixViewTarget.Size = New System.Drawing.Size(89, 23) + textBoxPrefixViewTarget.TabIndex = 41 + ' + ' label6 + ' + label6.AutoSize = True + label6.Location = New System.Drawing.Point(176, 72) + label6.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label6.Name = "label6" + label6.Size = New System.Drawing.Size(103, 15) + label6.TabIndex = 39 + label6.Text = "View Name Prefix:" + ' + ' label9 + ' + label9.AutoSize = True + label9.Location = New System.Drawing.Point(84, 73) + label9.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label9.Name = "label9" + label9.Size = New System.Drawing.Size(16, 15) + label9.TabIndex = 43 + label9.Text = "1:" + ' + ' groupBox2 + ' + groupBox2.Controls.Add(textBoxScale) + groupBox2.Controls.Add(label5) + groupBox2.Controls.Add(textBoxPrefixViewTarget) + groupBox2.Controls.Add(label6) + groupBox2.Controls.Add(textBoxParameterRoomName) + groupBox2.Controls.Add(textBoxParameterViewName) + groupBox2.Controls.Add(label1) + groupBox2.Controls.Add(label3) + groupBox2.Controls.Add(label9) + groupBox2.ForeColor = Drawing.SystemColors.ControlText + groupBox2.Location = New System.Drawing.Point(404, 215) + groupBox2.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + groupBox2.Name = "groupBox2" + groupBox2.Padding = New System.Windows.Forms.Padding(4, 3, 4, 3) + groupBox2.Size = New System.Drawing.Size(390, 105) + groupBox2.TabIndex = 42 + groupBox2.TabStop = False + groupBox2.Text = "Processing Options" + ' + ' textBoxParameterRoomName + ' + textBoxParameterRoomName.Location = New System.Drawing.Point(198, 38) + textBoxParameterRoomName.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxParameterRoomName.Name = "textBoxParameterRoomName" + textBoxParameterRoomName.Size = New System.Drawing.Size(174, 23) + textBoxParameterRoomName.TabIndex = 30 + ' + ' textBoxParameterViewName + ' + textBoxParameterViewName.Location = New System.Drawing.Point(13, 38) + textBoxParameterViewName.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + textBoxParameterViewName.Name = "textBoxParameterViewName" + textBoxParameterViewName.Size = New System.Drawing.Size(173, 23) + textBoxParameterViewName.TabIndex = 26 + ' + ' label1 + ' + label1.AutoSize = True + label1.Location = New System.Drawing.Point(9, 21) + label1.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label1.Name = "label1" + label1.Size = New System.Drawing.Size(170, 15) + label1.TabIndex = 27 + label1.Text = "Room Parameter - View Name:" + ' + ' label3 + ' + label3.AutoSize = True + label3.Location = New System.Drawing.Point(196, 21) + label3.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + label3.Name = "label3" + label3.Size = New System.Drawing.Size(177, 15) + label3.TabIndex = 31 + label3.Text = "Room Parameter - Room Name:" + ' + ' buttonCreate + ' + buttonCreate.Location = New System.Drawing.Point(15, 774) + buttonCreate.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + buttonCreate.Name = "buttonCreate" + buttonCreate.Size = New System.Drawing.Size(208, 33) + buttonCreate.TabIndex = 40 + buttonCreate.Text = "Create Views" + buttonCreate.UseVisualStyleBackColor = True + ' + ' labelListTitle + ' + labelListTitle.AutoSize = True + labelListTitle.Location = New System.Drawing.Point(14, 10) + labelListTitle.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + labelListTitle.Name = "labelListTitle" + labelListTitle.Size = New System.Drawing.Size(226, 15) + labelListTitle.TabIndex = 39 + labelListTitle.Text = "Select Rooms For Which to Create a View:" + ' + ' listBoxRooms + ' + listBoxRooms.FormattingEnabled = True + listBoxRooms.ItemHeight = 15 + listBoxRooms.Location = New System.Drawing.Point(15, 30) + listBoxRooms.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + listBoxRooms.Name = "listBoxRooms" + listBoxRooms.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended + listBoxRooms.Size = New System.Drawing.Size(373, 724) + listBoxRooms.TabIndex = 38 + ' + ' ProgressBar1 + ' + ProgressBar1.Location = New System.Drawing.Point(15, 774) + ProgressBar1.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + ProgressBar1.Name = "ProgressBar1" + ProgressBar1.Size = New System.Drawing.Size(778, 33) + ProgressBar1.TabIndex = 46 + ' + ' form_ElemViewsFromRooms + ' + AutoScaleDimensions = New System.Drawing.SizeF(7F, 15F) + AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font + ClientSize = New System.Drawing.Size(810, 832) + Controls.Add(buttonClose) + Controls.Add(groupBoxSizeCrop) + Controls.Add(groupBoxViewType) + Controls.Add(groupBoxSizeBox) + Controls.Add(groupBoxSelection) + Controls.Add(groupBox2) + Controls.Add(buttonCreate) + Controls.Add(labelListTitle) + Controls.Add(listBoxRooms) + Controls.Add(ProgressBar1) + Icon = CType(resources.GetObject("$this.Icon"), Drawing.Icon) + Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) + MaximizeBox = False + MaximumSize = New System.Drawing.Size(826, 950) + MinimizeBox = False + MinimumSize = New System.Drawing.Size(826, 871) + Name = "form_ElemViewsFromRooms" + StartPosition = System.Windows.Forms.FormStartPosition.CenterParent + Text = "Views From Rooms" + TopMost = True + groupBoxSizeCrop.ResumeLayout(False) + groupBoxSizeCrop.PerformLayout() + groupBoxViewType.ResumeLayout(False) + groupBoxViewType.PerformLayout() + groupBoxSizeBox.ResumeLayout(False) + groupBoxSizeBox.PerformLayout() + groupBoxSelection.ResumeLayout(False) + groupBoxSelection.PerformLayout() + groupBox2.ResumeLayout(False) + groupBox2.PerformLayout() + ResumeLayout(False) + PerformLayout() + + End Sub + Private WithEvents checkBoxCropShow As System.Windows.Forms.CheckBox + Private WithEvents textBoxCropFixedY As System.Windows.Forms.TextBox + Private WithEvents textBoxCropFixedX As System.Windows.Forms.TextBox + Private WithEvents radioButtonSizeCropFixed As System.Windows.Forms.RadioButton + Private WithEvents radioButtonSizeCropDynamic As System.Windows.Forms.RadioButton + Private WithEvents textBoxCropSpace As System.Windows.Forms.TextBox + Private WithEvents buttonClose As System.Windows.Forms.Button + Private WithEvents label10 As System.Windows.Forms.Label + Private WithEvents groupBoxSizeCrop As System.Windows.Forms.GroupBox + Private WithEvents label11 As System.Windows.Forms.Label + Private WithEvents radioButtonGroupSingle As System.Windows.Forms.RadioButton + Private WithEvents checkBoxReplaceExisting As System.Windows.Forms.CheckBox + Private WithEvents radioButtonGroupMultiple As System.Windows.Forms.RadioButton + Private WithEvents groupBoxViewType As System.Windows.Forms.GroupBox + Private WithEvents radioButtonType3dBoxCrop As System.Windows.Forms.RadioButton + Private WithEvents textBoxVectorZ As System.Windows.Forms.TextBox + Private WithEvents textBoxVectorY As System.Windows.Forms.TextBox + Private WithEvents textBoxVectorX As System.Windows.Forms.TextBox + Private WithEvents label4 As System.Windows.Forms.Label + Private WithEvents radioButtonType3dCrop As System.Windows.Forms.RadioButton + Private WithEvents radioButtonType2d As System.Windows.Forms.RadioButton + Private WithEvents radioButtonType3dBox As System.Windows.Forms.RadioButton + Private WithEvents label14 As System.Windows.Forms.Label + Private WithEvents label15 As System.Windows.Forms.Label + Private WithEvents label16 As System.Windows.Forms.Label + Private WithEvents label20 As System.Windows.Forms.Label + Private WithEvents textBoxBoxFixedZ As System.Windows.Forms.TextBox + Private WithEvents checkBoxBoxShow As System.Windows.Forms.CheckBox + Private WithEvents textBoxBoxFixedY As System.Windows.Forms.TextBox + Private WithEvents textBoxBoxFixedX As System.Windows.Forms.TextBox + Private WithEvents groupBoxSizeBox As System.Windows.Forms.GroupBox + Private WithEvents radioButtonSizeBoxFixed As System.Windows.Forms.RadioButton + Private WithEvents radioButtonSizeBoxDynamic As System.Windows.Forms.RadioButton + Private WithEvents textBoxBoxSpace As System.Windows.Forms.TextBox + Private WithEvents label17 As System.Windows.Forms.Label + Private WithEvents label18 As System.Windows.Forms.Label + Private WithEvents label19 As System.Windows.Forms.Label + Private WithEvents textBoxParameterGroupBy As System.Windows.Forms.TextBox + Private WithEvents groupBoxSelection As System.Windows.Forms.GroupBox + Private WithEvents checkBoxListExisting As System.Windows.Forms.CheckBox + Private WithEvents checkBoxListReverse As System.Windows.Forms.CheckBox + Private WithEvents textBoxPad2 As System.Windows.Forms.TextBox + Private WithEvents textBoxPad1 As System.Windows.Forms.TextBox + Private WithEvents checkBoxPad2 As System.Windows.Forms.CheckBox + Private WithEvents checkBoxPad1 As System.Windows.Forms.CheckBox + Private WithEvents textBoxParameterList2 As System.Windows.Forms.TextBox + Private WithEvents label7 As System.Windows.Forms.Label + Private WithEvents textBoxParameterList1 As System.Windows.Forms.TextBox + Private WithEvents label8 As System.Windows.Forms.Label + Private WithEvents textBoxScale As System.Windows.Forms.TextBox + Private WithEvents label5 As System.Windows.Forms.Label + Private WithEvents textBoxPrefixViewTarget As System.Windows.Forms.TextBox + Private WithEvents label6 As System.Windows.Forms.Label + Private WithEvents label9 As System.Windows.Forms.Label + Private WithEvents groupBox2 As System.Windows.Forms.GroupBox + Private WithEvents textBoxParameterRoomName As System.Windows.Forms.TextBox + Private WithEvents textBoxParameterViewName As System.Windows.Forms.TextBox + Private WithEvents label1 As System.Windows.Forms.Label + Private WithEvents label3 As System.Windows.Forms.Label + Private WithEvents buttonCreate As System.Windows.Forms.Button + Private WithEvents labelListTitle As System.Windows.Forms.Label + Private WithEvents listBoxRooms As System.Windows.Forms.ListBox + Friend WithEvents ProgressBar1 As System.Windows.Forms.ProgressBar + Friend WithEvents ComboBoxViewTemplate As System.Windows.Forms.ComboBox + Friend WithEvents Label2 As System.Windows.Forms.Label + Friend WithEvents RadioButtonTypeElevation As System.Windows.Forms.RadioButton +End Class diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemViewsFromRooms.resx b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemViewsFromRooms.resx similarity index 96% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemViewsFromRooms.resx rename to HOK.ElementTools/HOK.ElementTools/Forms/form_ElemViewsFromRooms.resx index d7077bba..e861cdf0 100644 --- a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemViewsFromRooms.resx +++ b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemViewsFromRooms.resx @@ -1,17 +1,17 @@ - diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemViewsFromRooms.vb b/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemViewsFromRooms.vb similarity index 100% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/Forms/form_ElemViewsFromRooms.vb rename to HOK.ElementTools/HOK.ElementTools/Forms/form_ElemViewsFromRooms.vb diff --git a/HOK.ElementTools/HOK.ElementTools/HOK.ElementTools.vbproj b/HOK.ElementTools/HOK.ElementTools/HOK.ElementTools.vbproj new file mode 100644 index 00000000..5f13a3ab --- /dev/null +++ b/HOK.ElementTools/HOK.ElementTools/HOK.ElementTools.vbproj @@ -0,0 +1,112 @@ + + + + true + latest + net8.0-windows + x64 + true + disable + true + true + en-US + Debug R19; Debug R20;Debug R21;Debug R22;Debug R23;Debug R24;Debug R25 + $(Configurations);Release R19; Release R20;Release R21;Release R22;Release R23;Release R24;Release R25 + x64 + HOK Revit Add-ins + HOK Group + Copyright © HOK Group 2024 + https://github.com/HOKGroup/HOK-Revit-Addins + https://github.com/HOKGroup/HOK-Revit-Addins + 0.1.0.24 + true + + + + 2019 + net471 + + + 2020 + net472 + REVIT2020_OR_GREATER + + + 2021 + net48 + REVIT2020_OR_GREATER,REVIT2021_OR_GREATER + + + 2022 + net48 + REVIT2020_OR_GREATER,REVIT2021_OR_GREATER,REVIT2022_OR_GREATER + + + 2023 + net48 + REVIT2020_OR_GREATER,REVIT2021_OR_GREATER,REVIT2022_OR_GREATER,REVIT2023_OR_GREATER + + + 2024 + net48 + REVIT2020_OR_GREATER,REVIT2021_OR_GREATER,REVIT2022_OR_GREATER,REVIT2023_OR_GREATER,REVIT2024_OR_GREATER + + + 2025 + net8.0-windows + REVIT2020_OR_GREATER,REVIT2021_OR_GREATER,REVIT2022_OR_GREATER,REVIT2023_OR_GREATER,REVIT2024_OR_GREATER,REVIT2025_OR_GREATER + + + + + + $(SOURCE_DIR)\_artifacts\$(RevitVersion)\HOK.Core.dll + ..\..\HOK.Core\HOK.Core\bin\x64\$(Configuration)\HOK.Core.dll + + + $(SOURCE_DIR)\_artifacts\$(RevitVersion)\HOK.MissionControl.Core.dll + ..\..\HOK.MissionControl\HOK.MissionControl.Core\bin\x64\$(Configuration)\HOK.MissionControl.Core.dll + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + "powershell.exe" '$(ProjectDir)..\..\_postBuild\codeSigning.ps1' $(TargetPath) + + + + \ No newline at end of file diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/My Project/Application.Designer.vb b/HOK.ElementTools/HOK.ElementTools/Project/Application.Designer.vb similarity index 100% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/My Project/Application.Designer.vb rename to HOK.ElementTools/HOK.ElementTools/Project/Application.Designer.vb diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/My Project/Application.myapp b/HOK.ElementTools/HOK.ElementTools/Project/Application.myapp similarity index 100% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/My Project/Application.myapp rename to HOK.ElementTools/HOK.ElementTools/Project/Application.myapp diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/My Project/Resources.Designer.vb b/HOK.ElementTools/HOK.ElementTools/Project/Resources.Designer.vb similarity index 100% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/My Project/Resources.Designer.vb rename to HOK.ElementTools/HOK.ElementTools/Project/Resources.Designer.vb diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/My Project/Resources.resx b/HOK.ElementTools/HOK.ElementTools/Project/Resources.resx similarity index 100% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/My Project/Resources.resx rename to HOK.ElementTools/HOK.ElementTools/Project/Resources.resx diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/My Project/Settings.Designer.vb b/HOK.ElementTools/HOK.ElementTools/Project/Settings.Designer.vb similarity index 100% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/My Project/Settings.Designer.vb rename to HOK.ElementTools/HOK.ElementTools/Project/Settings.Designer.vb diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/My Project/Settings.settings b/HOK.ElementTools/HOK.ElementTools/Project/Settings.settings similarity index 100% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/My Project/Settings.settings rename to HOK.ElementTools/HOK.ElementTools/Project/Settings.settings diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/cmdElementTools.vb b/HOK.ElementTools/HOK.ElementTools/cmdElementTools.vb similarity index 100% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/cmdElementTools.vb rename to HOK.ElementTools/HOK.ElementTools/cmdElementTools.vb diff --git a/Element Tools/src/HOK.ElementTools/HOK.ElementTools/constElementTools.vb b/HOK.ElementTools/HOK.ElementTools/constElementTools.vb similarity index 100% rename from Element Tools/src/HOK.ElementTools/HOK.ElementTools/constElementTools.vb rename to HOK.ElementTools/HOK.ElementTools/constElementTools.vb diff --git a/Element Tools/README b/HOK.ElementTools/README similarity index 100% rename from Element Tools/README rename to HOK.ElementTools/README diff --git a/Element Tools/src/HOK.ElementTools/Revit Guidelines - Element Tools.docx b/HOK.ElementTools/Revit Guidelines - Element Tools.docx similarity index 100% rename from Element Tools/src/HOK.ElementTools/Revit Guidelines - Element Tools.docx rename to HOK.ElementTools/Revit Guidelines - Element Tools.docx diff --git a/HOK.Feedback/HOK.Feedback.sln b/HOK.Feedback/HOK.Feedback.sln index 510e46a7..9966479c 100644 --- a/HOK.Feedback/HOK.Feedback.sln +++ b/HOK.Feedback/HOK.Feedback.sln @@ -7,35 +7,50 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HOK.Feedback", "HOK.Feedbac EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution - 2018|x64 = 2018|x64 - 2019|x64 = 2019|x64 - 2020|x64 = 2020|x64 - 2021|x64 = 2021|x64 - 2022|x64 = 2022|x64 - 2023|x64 = 2023|x64 - 2024|x64 = 2024|x64 - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 + Debug R19|x64 = Debug R19|x64 + Debug R20|x64 = Debug R20|x64 + Debug R21|x64 = Debug R21|x64 + Debug R22|x64 = Debug R22|x64 + Debug R23|x64 = Debug R23|x64 + Debug R24|x64 = Debug R24|x64 + Debug R25|x64 = Debug R25|x64 + Release R19|x64 = Release R19|x64 + Release R20|x64 = Release R20|x64 + Release R21|x64 = Release R21|x64 + Release R22|x64 = Release R22|x64 + Release R23|x64 = Release R23|x64 + Release R24|x64 = Release R24|x64 + Release R25|x64 = Release R25|x64 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.2018|x64.ActiveCfg = 2018|x64 - {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.2018|x64.Build.0 = 2018|x64 - {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.2019|x64.ActiveCfg = 2019|x64 - {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.2019|x64.Build.0 = 2019|x64 - {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.2020|x64.ActiveCfg = 2020|x64 - {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.2020|x64.Build.0 = 2020|x64 - {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.2021|x64.ActiveCfg = 2021|x64 - {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.2021|x64.Build.0 = 2021|x64 - {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.2022|x64.ActiveCfg = 2022|x64 - {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.2022|x64.Build.0 = 2022|x64 - {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.2023|x64.ActiveCfg = 2023|x64 - {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.2023|x64.Build.0 = 2023|x64 - {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.2024|x64.ActiveCfg = 2024|x64 - {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.2024|x64.Build.0 = 2024|x64 - {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.Debug|x64.ActiveCfg = Debug|x64 - {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.Debug|x64.Build.0 = Debug|x64 - {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.Release|x64.ActiveCfg = Release|x64 - {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.Release|x64.Build.0 = Release|x64 + {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.Debug R19|x64.ActiveCfg = Debug R19|x64 + {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.Debug R19|x64.Build.0 = Debug R19|x64 + {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.Debug R20|x64.ActiveCfg = Debug R20|x64 + {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.Debug R20|x64.Build.0 = Debug R20|x64 + {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.Debug R21|x64.ActiveCfg = Debug R21|x64 + {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.Debug R21|x64.Build.0 = Debug R21|x64 + {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.Debug R22|x64.ActiveCfg = Debug R22|x64 + {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.Debug R22|x64.Build.0 = Debug R22|x64 + {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.Debug R23|x64.ActiveCfg = Debug R23|x64 + {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.Debug R23|x64.Build.0 = Debug R23|x64 + {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.Debug R24|x64.ActiveCfg = Debug R24|x64 + {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.Debug R24|x64.Build.0 = Debug R24|x64 + {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.Debug R25|x64.ActiveCfg = Debug R25|x64 + {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.Debug R25|x64.Build.0 = Debug R25|x64 + {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.Release R19|x64.ActiveCfg = Release R19|x64 + {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.Release R19|x64.Build.0 = Release R19|x64 + {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.Release R20|x64.ActiveCfg = Release R20|x64 + {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.Release R20|x64.Build.0 = Release R20|x64 + {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.Release R21|x64.ActiveCfg = Release R21|x64 + {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.Release R21|x64.Build.0 = Release R21|x64 + {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.Release R22|x64.ActiveCfg = Release R22|x64 + {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.Release R22|x64.Build.0 = Release R22|x64 + {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.Release R23|x64.ActiveCfg = Release R23|x64 + {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.Release R23|x64.Build.0 = Release R23|x64 + {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.Release R24|x64.ActiveCfg = Release R24|x64 + {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.Release R24|x64.Build.0 = Release R24|x64 + {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.Release R25|x64.ActiveCfg = Release R25|x64 + {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9}.Release R25|x64.Build.0 = Release R25|x64 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/HOK.Feedback/HOK.Feedback/AttachmentViewModel.cs b/HOK.Feedback/HOK.Feedback/AttachmentViewModel.cs index db3409d3..969fff4d 100644 --- a/HOK.Feedback/HOK.Feedback/AttachmentViewModel.cs +++ b/HOK.Feedback/HOK.Feedback/AttachmentViewModel.cs @@ -1,10 +1,11 @@ -using GalaSoft.MvvmLight; +using CommunityToolkit.Mvvm; +using CommunityToolkit.Mvvm.Input; namespace HOK.Feedback { - public class AttachmentViewModel : ViewModelBase + public class AttachmentViewModel : ObservableRecipient { - public GalaSoft.MvvmLight.Command.RelayCommand Delete { get; set; } + public RelayCommand Delete { get; set; } public FeedbackViewModel ViewModel { get; set; } public string HtmlLink { get; set; } public UploadImageContent UploadImageContent { get; set; } @@ -12,7 +13,7 @@ public class AttachmentViewModel : ViewModelBase public AttachmentViewModel(FeedbackViewModel vm) { ViewModel = vm; - Delete = new GalaSoft.MvvmLight.Command.RelayCommand(OnDelete); + Delete = new RelayCommand(OnDelete); } private void OnDelete() @@ -24,7 +25,7 @@ private void OnDelete() public string FilePath { get { return _filePath; } - set { _filePath = value; RaisePropertyChanged(() => FilePath); } + set { _filePath = value; OnPropertyChanged(nameof(FilePath)); } } } } diff --git a/HOK.Feedback/HOK.Feedback/FeedbackCommand.cs b/HOK.Feedback/HOK.Feedback/FeedbackCommand.cs index b35013df..6ce9670e 100644 --- a/HOK.Feedback/HOK.Feedback/FeedbackCommand.cs +++ b/HOK.Feedback/HOK.Feedback/FeedbackCommand.cs @@ -7,15 +7,16 @@ using HOK.Core.Utilities; using HOK.MissionControl.Core.Schemas; using HOK.MissionControl.Core.Utils; +using Nice3point.Revit.Toolkit.External; namespace HOK.Feedback { [Transaction(TransactionMode.Manual)] [Regeneration(RegenerationOption.Manual)] [Journaling(JournalingMode.NoCommandData)] - public class FeedbackCommand : IExternalCommand + public class FeedbackCommand : ExternalCommand { - public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements) + public override void Execute() { Log.AppendLog(LogMessageType.INFO, "Started"); @@ -24,7 +25,7 @@ public Result Execute(ExternalCommandData commandData, ref string message, Eleme // (Konrad) We are gathering information about the addin use. This allows us to // better maintain the most used plug-ins or discontinue the unused ones. AddinUtilities.PublishAddinLog( - new AddinLog("Feedback Tool", commandData.Application.Application.VersionNumber)); + new AddinLog("Feedback Tool", Application.VersionNumber)); var title = "HOK Feedback Tool v." + System.Reflection.Assembly.GetExecutingAssembly().GetName().Version; var model = new FeedbackModel(); @@ -47,7 +48,6 @@ public Result Execute(ExternalCommandData commandData, ref string message, Eleme } Log.AppendLog(LogMessageType.INFO, "Ended"); - return Result.Succeeded; } } } diff --git a/HOK.Feedback/HOK.Feedback/FeedbackModel.cs b/HOK.Feedback/HOK.Feedback/FeedbackModel.cs index 88743271..c0584d4b 100644 --- a/HOK.Feedback/HOK.Feedback/FeedbackModel.cs +++ b/HOK.Feedback/HOK.Feedback/FeedbackModel.cs @@ -11,13 +11,13 @@ namespace HOK.Feedback { public class FeedbackModel { - private Settings Settings { get; set; } + private HOK.Core.Utilities.Settings Settings { get; set; } private const string baseUrl = "https://api.github.com"; public FeedbackModel() { var settingsString = Resources.StreamEmbeddedResource("HOK.Core.Resources.Settings.json"); - Settings = Json.Deserialize(settingsString); + Settings = Json.Deserialize(settingsString); } /// @@ -35,11 +35,7 @@ public FeedbackModel() ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; var client = new RestClient(baseUrl); - var request = new RestRequest(Settings.FeedbackPath + "contents/" + att.UploadImageContent.path, Method.DELETE) - { - OnBeforeDeserialization = resp => { resp.ContentType = "application/json"; } - }; - request.AddHeader("Content-type", "application/json"); + var request = new RestRequest(Settings.FeedbackPath + "contents/" + att.UploadImageContent.path, Method.Delete); request.AddHeader("Authorization", "Token " + Settings.FeedbackToken); request.RequestFormat = DataFormat.Json; @@ -107,11 +103,7 @@ public FeedbackModel() ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; var client = new RestClient(baseUrl); - var request = new RestRequest(Settings.FeedbackPath + "contents/" + body.path, Method.PUT) - { - OnBeforeDeserialization = resp => { resp.ContentType = "application/json"; } - }; - request.AddHeader("Content-type", "application/json"); + var request = new RestRequest(Settings.FeedbackPath + "contents/" + body.path, Method.Put); request.AddHeader("Authorization", "Token " + Settings.FeedbackToken); request.RequestFormat = DataFormat.Json; request.AddJsonBody(body); @@ -169,11 +161,7 @@ public FeedbackModel() ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; var client = new RestClient(baseUrl); - var request = new RestRequest(Settings.FeedbackPath + "issues", Method.POST) - { - OnBeforeDeserialization = resp => { resp.ContentType = "application/json"; } - }; - request.AddHeader("Content-type", "application/json"); + var request = new RestRequest(Settings.FeedbackPath + "issues", Method.Post); request.AddHeader("Authorization", "Token " + Settings.FeedbackToken); request.RequestFormat = DataFormat.Json; request.AddJsonBody(body); diff --git a/HOK.Feedback/HOK.Feedback/FeedbackView.xaml b/HOK.Feedback/HOK.Feedback/FeedbackView.xaml index eaea39ef..769c95cf 100644 --- a/HOK.Feedback/HOK.Feedback/FeedbackView.xaml +++ b/HOK.Feedback/HOK.Feedback/FeedbackView.xaml @@ -5,20 +5,19 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:HOK.Feedback" - xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" - xmlns:command="clr-namespace:GalaSoft.MvvmLight.Command;assembly=HOK.Core" + xmlns:Behaviors="http://schemas.microsoft.com/xaml/behaviors" xmlns:wpfUtilities="clr-namespace:HOK.Core.WpfUtilities;assembly=HOK.Core" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="300" Icon="Resources/hoklogo.ico" Width="600" MinWidth="600" MinHeight="380" SizeToContent="Height" Title="{Binding Title}" WindowStartupLocation="CenterScreen" BorderThickness="0,5,0,0" BorderBrush="#C45C44" ResizeMode="NoResize"> - - - - - - - - + + + + + + + + diff --git a/HOK.Feedback/HOK.Feedback/FeedbackViewModel.cs b/HOK.Feedback/HOK.Feedback/FeedbackViewModel.cs index 44f8e143..d7133532 100644 --- a/HOK.Feedback/HOK.Feedback/FeedbackViewModel.cs +++ b/HOK.Feedback/HOK.Feedback/FeedbackViewModel.cs @@ -4,14 +4,14 @@ using System.Windows; using System.Windows.Input; using System.Windows.Media.Imaging; -using GalaSoft.MvvmLight; -using GalaSoft.MvvmLight.Command; +using CommunityToolkit.Mvvm; +using CommunityToolkit.Mvvm.Input; using HOK.Core.Utilities; using HOK.Core.WpfUtilities; namespace HOK.Feedback { - public class FeedbackViewModel : ViewModelBase + public class FeedbackViewModel : ObservableRecipient { public string ToolName { get; set; } public string Title { get; set; } @@ -20,7 +20,7 @@ public class FeedbackViewModel : ViewModelBase public RelayCommand WindowKeyDown { get; } public RelayCommand Submit { get; } public RelayCommand Cancel { get; } - public GalaSoft.MvvmLight.Command.RelayCommand ChooseFile { get; } + public CommunityToolkit.Mvvm.Input.RelayCommand ChooseFile { get; } public ObservableCollection Attachments { get; set; } = new ObservableCollection(); public FeedbackViewModel(FeedbackModel model, string toolname) @@ -32,7 +32,7 @@ public FeedbackViewModel(FeedbackModel model, string toolname) WindowKeyDown = new RelayCommand(OnWindowKeyDown); Submit = new RelayCommand(OnSubmit); Cancel = new RelayCommand(OnCancel); - ChooseFile = new GalaSoft.MvvmLight.Command.RelayCommand(OnChooseFile); + ChooseFile = new CommunityToolkit.Mvvm.Input.RelayCommand(OnChooseFile); } private static void OnWindowLoaded(Window win) @@ -43,7 +43,7 @@ private static void OnWindowLoaded(Window win) public async void DeleteAttachment(AttachmentViewModel vm) { Attachments.Remove(vm); - var currentState = string.Copy(Feedback); + var currentState = "" + Feedback; Feedback = Feedback.Replace(vm.HtmlLink.Replace(Environment.NewLine, ""), ""); var response = await Model.RemoveImage(vm); @@ -163,21 +163,21 @@ private async void OnSubmit(Window win) public string Feedback { get { return _feedback; } - set { _feedback = value; RaisePropertyChanged(() => Feedback); } + set { _feedback = value; OnPropertyChanged(nameof(Feedback)); } } private string _email = Environment.UserName.ToLower() + "@hok.com"; public string Email { get { return _email; } - set { _email = value; RaisePropertyChanged(() => Email); } + set { _email = value; OnPropertyChanged(nameof(Email)); } } private string _name = Environment.UserName.ToLower().Replace('.', ' '); public string Name { get { return _name; } - set { _name = value; RaisePropertyChanged(() => Name); } + set { _name = value; OnPropertyChanged(nameof(Name)); } } } } \ No newline at end of file diff --git a/HOK.Feedback/HOK.Feedback/HOK.Feedback.csproj b/HOK.Feedback/HOK.Feedback/HOK.Feedback.csproj index 07f2b0b0..544a9721 100644 --- a/HOK.Feedback/HOK.Feedback/HOK.Feedback.csproj +++ b/HOK.Feedback/HOK.Feedback/HOK.Feedback.csproj @@ -1,155 +1,73 @@ - - - + + - Debug - x64 - {0D88A8C5-88B1-47D5-BD40-9B77D56F30B9} - Library - Properties - HOK.Feedback - HOK.Feedback - 512 - true - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - 2023 - v4.8 + true + latest + net8.0-windows + x64 + AnyCPU;x64 + true + disable + true + true + en-US + Debug R19; Debug R20;Debug R21;Debug R22;Debug R23;Debug R24;Debug R25 + $(Configurations);Release R19; Release R20;Release R21;Release R22;Release R23;Release R24;Release R25 + x64 + HOK Revit Add-ins + HOK Group + Copyright © HOK Group 2024 + https://github.com/HOKGroup/HOK-Revit-Addins + https://github.com/HOKGroup/HOK-Revit-Addins + 0.1.0.24 - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - 2023 - v4.8 + + + 2019 + net471 - - true - bin\2018\ - TRACE;DEBUG;RELEASE2018 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2018 - v4.5.2 + + 2020 + net472 - - true - bin\2019\ - TRACE;DEBUG;RELEASE2019 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2019 - v4.7.1 + + 2021 + net48 - - true - bin\2020\ - TRACE;DEBUG;RELEASE2020 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2020 - v4.7.2 + + 2022 + net48 - - true - bin\2021\ - TRACE;DEBUG;RELEASE2021 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2021 - v4.8 + + 2023 + net48 - - true - bin\2022\ - TRACE;DEBUG;RELEASE2022 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2022 - v4.8 + + 2024 + net48 - - true - bin\2023\ - TRACE;DEBUG;RELEASE2023 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2023 - v4.8 - - true - bin\2024\ - TRACE;DEBUG;RELEASE2024 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2024 - v4.8 + + 2025 + net8.0-windows + - ..\..\HOK.Core\HOK.Core\bin\$(RevitVersion)\HOK.Core.dll - False - False + $(SOURCE_DIR)\_artifacts\$(RevitVersion)\HOK.Core.dll + ..\..\HOK.Core\HOK.Core\bin\x64\$(Configuration)\HOK.Core.dll - ..\..\HOK.MissionControl\HOK.MissionControl.Core\bin\$(RevitVersion)\HOK.MissionControl.Core.dll - False - - - ..\packages\MvvmLightLibs.5.3.0.0\lib\net45\GalaSoft.MvvmLight.dll - - - ..\packages\CommonServiceLocator.1.3\lib\portable-net4+sl5+netcore45+wpa81+wp8\Microsoft.Practices.ServiceLocation.dll - - - ..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll - - - ..\packages\RestSharp.106.12.0\lib\net452\RestSharp.dll - - - C:\Program Files\Autodesk\Revit $(RevitVersion)\RevitAPI.dll - $(HOKDepsDirectory)\HOK Addins Deps\Revit\$(RevitVersion)\RevitAPI.dll - False - - - C:\Program Files\Autodesk\Revit $(RevitVersion)\RevitAPIUI.dll - $(HOKDepsDirectory)\HOK Addins Deps\Revit\$(RevitVersion)\RevitAPIUI.dll - False + $(SOURCE_DIR)\_artifacts\$(RevitVersion)\HOK.MissionControl.Core.dll + ..\..\HOK.MissionControl\HOK.MissionControl.Core\bin\x64\$(Configuration)\HOK.MissionControl.Core.dll + + - - ..\packages\Expression.Blend.Sdk.1.0.2\lib\net45\System.Windows.Interactivity.dll - @@ -159,73 +77,38 @@ - - - AttachmentView.xaml - - - - - - FeedbackView.xaml - - - - - - True - True - Resources.resx - - - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - - - ResXFileCodeGenerator - Resources.Designer.cs - Designer - - - - - - - - + + - + + + + + + + + + - - + + + + + + + - + - + "powershell.exe" '$(ProjectDir)..\..\_postBuild\codeSigning.ps1' $(TargetPath) - - - - - - - - - + diff --git a/HOK.Feedback/HOK.Feedback/Properties/AssemblyInfo.cs b/HOK.Feedback/HOK.Feedback/Properties/AssemblyInfo.cs deleted file mode 100644 index 8094f8b0..00000000 --- a/HOK.Feedback/HOK.Feedback/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("HOK.Feedback")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("HOK Group")] -[assembly: AssemblyProduct("HOK.Feedback")] -[assembly: AssemblyCopyright("Copyright © HOK Group 2021")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("0d88a8c5-88b1-47d5-bd40-9b77d56f30b9")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2024.1.0.22")] -[assembly: AssemblyFileVersion("2024.1.0.22")] diff --git a/HOK.Feedback/HOK.Feedback/app.config b/HOK.Feedback/HOK.Feedback/app.config index dacf1f67..9f1f1974 100644 --- a/HOK.Feedback/HOK.Feedback/app.config +++ b/HOK.Feedback/HOK.Feedback/app.config @@ -4,7 +4,7 @@ - + diff --git a/HOK.Feedback/HOK.Feedback/packages.config b/HOK.Feedback/HOK.Feedback/packages.config deleted file mode 100644 index 49585a55..00000000 --- a/HOK.Feedback/HOK.Feedback/packages.config +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/HOK.FileOpeningMonitor/HOK.FileOpeningMonitor.sln b/HOK.FileOpeningMonitor/HOK.FileOpeningMonitor.sln new file mode 100644 index 00000000..36dd37d5 --- /dev/null +++ b/HOK.FileOpeningMonitor/HOK.FileOpeningMonitor.sln @@ -0,0 +1,61 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.26403.7 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HOK.FileOpeningMonitor", "HOK.FileOpeningMonitor\HOK.FileOpeningMonitor.csproj", "{97100534-BD15-43FB-B05E-0B42FDCBA3A5}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug R19|x64 = Debug R19|x64 + Debug R20|x64 = Debug R20|x64 + Debug R21|x64 = Debug R21|x64 + Debug R22|x64 = Debug R22|x64 + Debug R23|x64 = Debug R23|x64 + Debug R24|x64 = Debug R24|x64 + Debug R25|x64 = Debug R25|x64 + Release R19|x64 = Release R19|x64 + Release R20|x64 = Release R20|x64 + Release R21|x64 = Release R21|x64 + Release R22|x64 = Release R22|x64 + Release R23|x64 = Release R23|x64 + Release R24|x64 = Release R24|x64 + Release R25|x64 = Release R25|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {97100534-BD15-43FB-B05E-0B42FDCBA3A5}.Debug R19|x64.ActiveCfg = Debug R19|x64 + {97100534-BD15-43FB-B05E-0B42FDCBA3A5}.Debug R19|x64.Build.0 = Debug R19|x64 + {97100534-BD15-43FB-B05E-0B42FDCBA3A5}.Debug R20|x64.ActiveCfg = Debug R20|x64 + {97100534-BD15-43FB-B05E-0B42FDCBA3A5}.Debug R20|x64.Build.0 = Debug R20|x64 + {97100534-BD15-43FB-B05E-0B42FDCBA3A5}.Debug R21|x64.ActiveCfg = Debug R21|x64 + {97100534-BD15-43FB-B05E-0B42FDCBA3A5}.Debug R21|x64.Build.0 = Debug R21|x64 + {97100534-BD15-43FB-B05E-0B42FDCBA3A5}.Debug R22|x64.ActiveCfg = Debug R22|x64 + {97100534-BD15-43FB-B05E-0B42FDCBA3A5}.Debug R22|x64.Build.0 = Debug R22|x64 + {97100534-BD15-43FB-B05E-0B42FDCBA3A5}.Debug R23|x64.ActiveCfg = Debug R23|x64 + {97100534-BD15-43FB-B05E-0B42FDCBA3A5}.Debug R23|x64.Build.0 = Debug R23|x64 + {97100534-BD15-43FB-B05E-0B42FDCBA3A5}.Debug R24|x64.ActiveCfg = Debug R24|x64 + {97100534-BD15-43FB-B05E-0B42FDCBA3A5}.Debug R24|x64.Build.0 = Debug R24|x64 + {97100534-BD15-43FB-B05E-0B42FDCBA3A5}.Debug R25|x64.ActiveCfg = Debug R25|x64 + {97100534-BD15-43FB-B05E-0B42FDCBA3A5}.Debug R25|x64.Build.0 = Debug R25|x64 + {97100534-BD15-43FB-B05E-0B42FDCBA3A5}.Release R19|x64.ActiveCfg = Release R19|x64 + {97100534-BD15-43FB-B05E-0B42FDCBA3A5}.Release R19|x64.Build.0 = Release R19|x64 + {97100534-BD15-43FB-B05E-0B42FDCBA3A5}.Release R20|x64.ActiveCfg = Release R20|x64 + {97100534-BD15-43FB-B05E-0B42FDCBA3A5}.Release R20|x64.Build.0 = Release R20|x64 + {97100534-BD15-43FB-B05E-0B42FDCBA3A5}.Release R21|x64.ActiveCfg = Release R21|x64 + {97100534-BD15-43FB-B05E-0B42FDCBA3A5}.Release R21|x64.Build.0 = Release R21|x64 + {97100534-BD15-43FB-B05E-0B42FDCBA3A5}.Release R22|x64.ActiveCfg = Release R22|x64 + {97100534-BD15-43FB-B05E-0B42FDCBA3A5}.Release R22|x64.Build.0 = Release R22|x64 + {97100534-BD15-43FB-B05E-0B42FDCBA3A5}.Release R23|x64.ActiveCfg = Release R23|x64 + {97100534-BD15-43FB-B05E-0B42FDCBA3A5}.Release R23|x64.Build.0 = Release R23|x64 + {97100534-BD15-43FB-B05E-0B42FDCBA3A5}.Release R24|x64.ActiveCfg = Release R24|x64 + {97100534-BD15-43FB-B05E-0B42FDCBA3A5}.Release R24|x64.Build.0 = Release R24|x64 + {97100534-BD15-43FB-B05E-0B42FDCBA3A5}.Release R25|x64.ActiveCfg = Release R25|x64 + {97100534-BD15-43FB-B05E-0B42FDCBA3A5}.Release R25|x64.Build.0 = Release R25|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {C8B71F90-DE98-4CCF-9353-1E15D489F46F} + EndGlobalSection +EndGlobal diff --git a/Utility Tools/src/HOK.FileOnpeningMonitor/HOK.FileOnpeningMonitor/AppCommand.cs b/HOK.FileOpeningMonitor/HOK.FileOpeningMonitor/AppCommand.cs similarity index 98% rename from Utility Tools/src/HOK.FileOnpeningMonitor/HOK.FileOnpeningMonitor/AppCommand.cs rename to HOK.FileOpeningMonitor/HOK.FileOpeningMonitor/AppCommand.cs index d8924bb7..e6bd8478 100644 --- a/Utility Tools/src/HOK.FileOnpeningMonitor/HOK.FileOnpeningMonitor/AppCommand.cs +++ b/HOK.FileOpeningMonitor/HOK.FileOpeningMonitor/AppCommand.cs @@ -8,9 +8,9 @@ using Autodesk.Revit.DB.Events; using HOK.Core.Utilities; -namespace HOK.FileOnpeningMonitor +namespace HOK.FileOpeningMonitor { - public class AppCommand : IExternalApplication + public class AppCommand : ExternalApplication { private readonly Dictionary openedCentralFiles = new Dictionary(); private Document openedDocument; @@ -27,7 +27,7 @@ public Result OnShutdown(UIControlledApplication application) return Result.Succeeded; } - public Result OnStartup(UIControlledApplication application) + public override void OnStartup() { try { diff --git a/Utility Tools/src/HOK.FileOnpeningMonitor/HOK.FileOnpeningMonitor/CentralFileInfo.cs b/HOK.FileOpeningMonitor/HOK.FileOpeningMonitor/CentralFileInfo.cs similarity index 99% rename from Utility Tools/src/HOK.FileOnpeningMonitor/HOK.FileOnpeningMonitor/CentralFileInfo.cs rename to HOK.FileOpeningMonitor/HOK.FileOpeningMonitor/CentralFileInfo.cs index a381ee1a..b16986e9 100644 --- a/Utility Tools/src/HOK.FileOnpeningMonitor/HOK.FileOnpeningMonitor/CentralFileInfo.cs +++ b/HOK.FileOpeningMonitor/HOK.FileOpeningMonitor/CentralFileInfo.cs @@ -8,7 +8,7 @@ using Autodesk.Revit.DB; using HOK.Core.Utilities; -namespace HOK.FileOnpeningMonitor +namespace HOK.FileOpeningMonitor { public class CentralFileInfo { diff --git a/Utility Tools/src/HOK.FileOnpeningMonitor/HOK.FileOnpeningMonitor/CentralFileWarningWindow.xaml b/HOK.FileOpeningMonitor/HOK.FileOpeningMonitor/CentralFileWarningWindow.xaml similarity index 96% rename from Utility Tools/src/HOK.FileOnpeningMonitor/HOK.FileOnpeningMonitor/CentralFileWarningWindow.xaml rename to HOK.FileOpeningMonitor/HOK.FileOpeningMonitor/CentralFileWarningWindow.xaml index 6509af13..eb37c8c1 100644 --- a/Utility Tools/src/HOK.FileOnpeningMonitor/HOK.FileOnpeningMonitor/CentralFileWarningWindow.xaml +++ b/HOK.FileOpeningMonitor/HOK.FileOpeningMonitor/CentralFileWarningWindow.xaml @@ -1,4 +1,4 @@ - /// Interaction logic for CentralFileWarningWindow.xaml diff --git a/Utility Tools/src/HOK.FileOnpeningMonitor/HOK.FileOnpeningMonitor/FMEServerUtil.cs b/HOK.FileOpeningMonitor/HOK.FileOpeningMonitor/FMEServerUtil.cs similarity index 98% rename from Utility Tools/src/HOK.FileOnpeningMonitor/HOK.FileOnpeningMonitor/FMEServerUtil.cs rename to HOK.FileOpeningMonitor/HOK.FileOpeningMonitor/FMEServerUtil.cs index 88044735..6b0faff5 100644 --- a/Utility Tools/src/HOK.FileOnpeningMonitor/HOK.FileOnpeningMonitor/FMEServerUtil.cs +++ b/HOK.FileOpeningMonitor/HOK.FileOpeningMonitor/FMEServerUtil.cs @@ -6,7 +6,7 @@ using HOK.Core.Utilities; using System.Net; -namespace HOK.FileOnpeningMonitor +namespace HOK.FileOpeningMonitor { public static class FMEServerUtil { diff --git a/Utility Tools/src/HOK.FileOnpeningMonitor/HOK.FileOnpeningMonitor/FMEWrappers.cs b/HOK.FileOpeningMonitor/HOK.FileOpeningMonitor/FMEWrappers.cs similarity index 96% rename from Utility Tools/src/HOK.FileOnpeningMonitor/HOK.FileOnpeningMonitor/FMEWrappers.cs rename to HOK.FileOpeningMonitor/HOK.FileOpeningMonitor/FMEWrappers.cs index 1e347f08..53b53882 100644 --- a/Utility Tools/src/HOK.FileOnpeningMonitor/HOK.FileOnpeningMonitor/FMEWrappers.cs +++ b/HOK.FileOpeningMonitor/HOK.FileOpeningMonitor/FMEWrappers.cs @@ -4,7 +4,7 @@ using System.Text; using System.Threading.Tasks; -namespace HOK.FileOnpeningMonitor +namespace HOK.FileOpeningMonitor { public class Transformation { diff --git a/Utility Tools/src/HOK.FileOnpeningMonitor/HOK.FileOnpeningMonitor/FodyWeavers.xml b/HOK.FileOpeningMonitor/HOK.FileOpeningMonitor/FodyWeavers.xml similarity index 88% rename from Utility Tools/src/HOK.FileOnpeningMonitor/HOK.FileOnpeningMonitor/FodyWeavers.xml rename to HOK.FileOpeningMonitor/HOK.FileOpeningMonitor/FodyWeavers.xml index 1b0fbe5f..235fbe45 100644 --- a/Utility Tools/src/HOK.FileOnpeningMonitor/HOK.FileOnpeningMonitor/FodyWeavers.xml +++ b/HOK.FileOpeningMonitor/HOK.FileOpeningMonitor/FodyWeavers.xml @@ -1,6 +1,6 @@  - - + + HOK.Core HOK.MissionControl.Core diff --git a/HOK.FileOpeningMonitor/HOK.FileOpeningMonitor/FodyWeavers.xsd b/HOK.FileOpeningMonitor/HOK.FileOpeningMonitor/FodyWeavers.xsd new file mode 100644 index 00000000..05e92c11 --- /dev/null +++ b/HOK.FileOpeningMonitor/HOK.FileOpeningMonitor/FodyWeavers.xsd @@ -0,0 +1,141 @@ + + + + + + + + + + + + A list of assembly names to exclude from the default action of "embed all Copy Local references", delimited with line breaks + + + + + A list of assembly names to include from the default action of "embed all Copy Local references", delimited with line breaks. + + + + + A list of runtime assembly names to exclude from the default action of "embed all Copy Local references", delimited with line breaks + + + + + A list of runtime assembly names to include from the default action of "embed all Copy Local references", delimited with line breaks. + + + + + A list of unmanaged 32 bit assembly names to include, delimited with line breaks. + + + + + A list of unmanaged 64 bit assembly names to include, delimited with line breaks. + + + + + The order of preloaded assemblies, delimited with line breaks. + + + + + + This will copy embedded files to disk before loading them into memory. This is helpful for some scenarios that expected an assembly to be loaded from a physical file. + + + + + Controls if .pdbs for reference assemblies are also embedded. + + + + + Controls if runtime assemblies are also embedded. + + + + + Controls whether the runtime assemblies are embedded with their full path or only with their assembly name. + + + + + Embedded assemblies are compressed by default, and uncompressed when they are loaded. You can turn compression off with this option. + + + + + As part of Costura, embedded assemblies are no longer included as part of the build. This cleanup can be turned off. + + + + + Costura by default will load as part of the module initialization. This flag disables that behavior. Make sure you call CosturaUtility.Initialize() somewhere in your code. + + + + + Costura will by default use assemblies with a name like 'resources.dll' as a satellite resource and prepend the output path. This flag disables that behavior. + + + + + A list of assembly names to exclude from the default action of "embed all Copy Local references", delimited with | + + + + + A list of assembly names to include from the default action of "embed all Copy Local references", delimited with |. + + + + + A list of runtime assembly names to exclude from the default action of "embed all Copy Local references", delimited with | + + + + + A list of runtime assembly names to include from the default action of "embed all Copy Local references", delimited with |. + + + + + A list of unmanaged 32 bit assembly names to include, delimited with |. + + + + + A list of unmanaged 64 bit assembly names to include, delimited with |. + + + + + The order of preloaded assemblies, delimited with |. + + + + + + + + 'true' to run assembly verification (PEVerify) on the target assembly after all weavers have been executed. + + + + + A comma-separated list of error codes that can be safely ignored in assembly verification. + + + + + 'false' to turn off automatic generation of the XML Schema file. + + + + + \ No newline at end of file diff --git a/Utility Tools/src/HOK.FileOnpeningMonitor/HOK.FileOnpeningMonitor/HOK.FileOpeningMonitor.addin b/HOK.FileOpeningMonitor/HOK.FileOpeningMonitor/HOK.FileOpeningMonitor.addin similarity index 65% rename from Utility Tools/src/HOK.FileOnpeningMonitor/HOK.FileOnpeningMonitor/HOK.FileOpeningMonitor.addin rename to HOK.FileOpeningMonitor/HOK.FileOpeningMonitor/HOK.FileOpeningMonitor.addin index cb20792a..d0968c15 100644 --- a/Utility Tools/src/HOK.FileOnpeningMonitor/HOK.FileOnpeningMonitor/HOK.FileOpeningMonitor.addin +++ b/HOK.FileOpeningMonitor/HOK.FileOpeningMonitor/HOK.FileOpeningMonitor.addin @@ -2,9 +2,9 @@ File Opening Monitor - HOK-Addin.bundle\Contents\HOK.FileOnpeningMonitor.dll + HOK-Addin.bundle\Contents\HOK.FileOpeningMonitor.dll 65651F57-F594-42E4-8D9E-AF02BA11B37B - HOK.FileOnpeningMonitor.AppCommand + HOK.FileOpeningMonitor.AppCommand JKIM JKIM diff --git a/HOK.FileOpeningMonitor/HOK.FileOpeningMonitor/HOK.FileOpeningMonitor.csproj b/HOK.FileOpeningMonitor/HOK.FileOpeningMonitor/HOK.FileOpeningMonitor.csproj new file mode 100644 index 00000000..76ebf998 --- /dev/null +++ b/HOK.FileOpeningMonitor/HOK.FileOpeningMonitor/HOK.FileOpeningMonitor.csproj @@ -0,0 +1,125 @@ + + + + true + latest + net8.0-windows + x64 + AnyCPU;x64 + true + disable + true + en-US + Debug R19; Debug R20;Debug R21;Debug R22;Debug R23;Debug R24;Debug R25 + $(Configurations);Release R19; Release R20;Release R21;Release R22;Release R23;Release R24;Release R25 + x64 + HOK Revit Add-ins + HOK Group + Copyright © HOK Group 2024 + https://github.com/HOKGroup/HOK-Revit-Addins + https://github.com/HOKGroup/HOK-Revit-Addins + 0.1.0.24 + + + + 2019 + net471 + + + 2020 + net472 + + + 2021 + net48 + + + 2022 + net48 + + + 2023 + net48 + + + 2024 + net48 + + + 2025 + net8.0-windows + + + + + $(SOURCE_DIR)\_artifacts\$(RevitVersion)\HOK.Core.dll + ..\..\HOK.Core\HOK.Core\bin\x64\$(Configuration)\HOK.Core.dll + + + $(SOURCE_DIR)\_artifacts\$(RevitVersion)\HOK.MissionControl.Core.dll + ..\..\HOK.MissionControl\HOK.MissionControl.Core\bin\x64\$(Configuration)\HOK.MissionControl.Core.dll + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {97D25DB0-0363-11CF-ABC4-02608C9E7553} + 1 + 0 + 0 + tlbimp + False + True + + + + + + + + + + + PreserveNewest + + + + + + + + + + "powershell.exe" '$(ProjectDir)..\..\_postBuild\codeSigning.ps1' $(TargetPath) + + + + diff --git a/Utility Tools/src/HOK.FileOnpeningMonitor/HOK.FileOnpeningMonitor/Images/hok.ico b/HOK.FileOpeningMonitor/HOK.FileOpeningMonitor/Images/hok.ico similarity index 100% rename from Utility Tools/src/HOK.FileOnpeningMonitor/HOK.FileOnpeningMonitor/Images/hok.ico rename to HOK.FileOpeningMonitor/HOK.FileOpeningMonitor/Images/hok.ico diff --git a/Utility Tools/src/HOK.FileOnpeningMonitor/HOK.FileOnpeningMonitor/Images/stop.png b/HOK.FileOpeningMonitor/HOK.FileOpeningMonitor/Images/stop.png similarity index 100% rename from Utility Tools/src/HOK.FileOnpeningMonitor/HOK.FileOnpeningMonitor/Images/stop.png rename to HOK.FileOpeningMonitor/HOK.FileOpeningMonitor/Images/stop.png diff --git a/Utility Tools/src/HOK.FileOnpeningMonitor/HOK.FileOnpeningMonitor/Images/stop_hand.png b/HOK.FileOpeningMonitor/HOK.FileOpeningMonitor/Images/stop_hand.png similarity index 100% rename from Utility Tools/src/HOK.FileOnpeningMonitor/HOK.FileOnpeningMonitor/Images/stop_hand.png rename to HOK.FileOpeningMonitor/HOK.FileOpeningMonitor/Images/stop_hand.png diff --git a/Utility Tools/src/HOK.FileOnpeningMonitor/HOK.FileOnpeningMonitor/TimedWarningWindow.xaml b/HOK.FileOpeningMonitor/HOK.FileOpeningMonitor/TimedWarningWindow.xaml similarity index 96% rename from Utility Tools/src/HOK.FileOnpeningMonitor/HOK.FileOnpeningMonitor/TimedWarningWindow.xaml rename to HOK.FileOpeningMonitor/HOK.FileOpeningMonitor/TimedWarningWindow.xaml index 3f0a0a36..862a4b48 100644 --- a/Utility Tools/src/HOK.FileOnpeningMonitor/HOK.FileOnpeningMonitor/TimedWarningWindow.xaml +++ b/HOK.FileOpeningMonitor/HOK.FileOpeningMonitor/TimedWarningWindow.xaml @@ -1,4 +1,4 @@ - /// Interaction logic for TimedWarningWindow.xaml diff --git a/Utility Tools/src/HOK.FileOnpeningMonitor/HOK.FileOnpeningMonitor/app.config b/HOK.FileOpeningMonitor/HOK.FileOpeningMonitor/app.config similarity index 100% rename from Utility Tools/src/HOK.FileOnpeningMonitor/HOK.FileOnpeningMonitor/app.config rename to HOK.FileOpeningMonitor/HOK.FileOpeningMonitor/app.config diff --git a/Utility Tools/src/HOK.FileOnpeningMonitor/HOK.FileOnpeningMonitor/packages.config b/HOK.FileOpeningMonitor/HOK.FileOpeningMonitor/packages.config similarity index 100% rename from Utility Tools/src/HOK.FileOnpeningMonitor/HOK.FileOnpeningMonitor/packages.config rename to HOK.FileOpeningMonitor/HOK.FileOpeningMonitor/packages.config diff --git a/Utility Tools/src/HOK.FileOnpeningMonitor/README.md b/HOK.FileOpeningMonitor/README.md similarity index 100% rename from Utility Tools/src/HOK.FileOnpeningMonitor/README.md rename to HOK.FileOpeningMonitor/README.md diff --git a/HOK.LPDCalculator/HOK.LPDCalculator.sln b/HOK.LPDCalculator/HOK.LPDCalculator.sln new file mode 100644 index 00000000..a360e275 --- /dev/null +++ b/HOK.LPDCalculator/HOK.LPDCalculator.sln @@ -0,0 +1,61 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.26403.7 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HOK.LPDCalculator", "HOK.LPDCalculator\HOK.LPDCalculator.csproj", "{D70B1882-15EC-49FD-8DB9-56E50528D6E2}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug R19|x64 = Debug R19|x64 + Debug R20|x64 = Debug R20|x64 + Debug R21|x64 = Debug R21|x64 + Debug R22|x64 = Debug R22|x64 + Debug R23|x64 = Debug R23|x64 + Debug R24|x64 = Debug R24|x64 + Debug R25|x64 = Debug R25|x64 + Release R19|x64 = Release R19|x64 + Release R20|x64 = Release R20|x64 + Release R21|x64 = Release R21|x64 + Release R22|x64 = Release R22|x64 + Release R23|x64 = Release R23|x64 + Release R24|x64 = Release R24|x64 + Release R25|x64 = Release R25|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {D70B1882-15EC-49FD-8DB9-56E50528D6E2}.Debug R19|x64.ActiveCfg = Debug R19|x64 + {D70B1882-15EC-49FD-8DB9-56E50528D6E2}.Debug R19|x64.Build.0 = Debug R19|x64 + {D70B1882-15EC-49FD-8DB9-56E50528D6E2}.Debug R20|x64.ActiveCfg = Debug R20|x64 + {D70B1882-15EC-49FD-8DB9-56E50528D6E2}.Debug R20|x64.Build.0 = Debug R20|x64 + {D70B1882-15EC-49FD-8DB9-56E50528D6E2}.Debug R21|x64.ActiveCfg = Debug R21|x64 + {D70B1882-15EC-49FD-8DB9-56E50528D6E2}.Debug R21|x64.Build.0 = Debug R21|x64 + {D70B1882-15EC-49FD-8DB9-56E50528D6E2}.Debug R22|x64.ActiveCfg = Debug R22|x64 + {D70B1882-15EC-49FD-8DB9-56E50528D6E2}.Debug R22|x64.Build.0 = Debug R22|x64 + {D70B1882-15EC-49FD-8DB9-56E50528D6E2}.Debug R23|x64.ActiveCfg = Debug R23|x64 + {D70B1882-15EC-49FD-8DB9-56E50528D6E2}.Debug R23|x64.Build.0 = Debug R23|x64 + {D70B1882-15EC-49FD-8DB9-56E50528D6E2}.Debug R24|x64.ActiveCfg = Debug R24|x64 + {D70B1882-15EC-49FD-8DB9-56E50528D6E2}.Debug R24|x64.Build.0 = Debug R24|x64 + {D70B1882-15EC-49FD-8DB9-56E50528D6E2}.Debug R25|x64.ActiveCfg = Debug R25|x64 + {D70B1882-15EC-49FD-8DB9-56E50528D6E2}.Debug R25|x64.Build.0 = Debug R25|x64 + {D70B1882-15EC-49FD-8DB9-56E50528D6E2}.Release R19|x64.ActiveCfg = Release R19|x64 + {D70B1882-15EC-49FD-8DB9-56E50528D6E2}.Release R19|x64.Build.0 = Release R19|x64 + {D70B1882-15EC-49FD-8DB9-56E50528D6E2}.Release R20|x64.ActiveCfg = Release R20|x64 + {D70B1882-15EC-49FD-8DB9-56E50528D6E2}.Release R20|x64.Build.0 = Release R20|x64 + {D70B1882-15EC-49FD-8DB9-56E50528D6E2}.Release R21|x64.ActiveCfg = Release R21|x64 + {D70B1882-15EC-49FD-8DB9-56E50528D6E2}.Release R21|x64.Build.0 = Release R21|x64 + {D70B1882-15EC-49FD-8DB9-56E50528D6E2}.Release R22|x64.ActiveCfg = Release R22|x64 + {D70B1882-15EC-49FD-8DB9-56E50528D6E2}.Release R22|x64.Build.0 = Release R22|x64 + {D70B1882-15EC-49FD-8DB9-56E50528D6E2}.Release R23|x64.ActiveCfg = Release R23|x64 + {D70B1882-15EC-49FD-8DB9-56E50528D6E2}.Release R23|x64.Build.0 = Release R23|x64 + {D70B1882-15EC-49FD-8DB9-56E50528D6E2}.Release R24|x64.ActiveCfg = Release R24|x64 + {D70B1882-15EC-49FD-8DB9-56E50528D6E2}.Release R24|x64.Build.0 = Release R24|x64 + {D70B1882-15EC-49FD-8DB9-56E50528D6E2}.Release R25|x64.ActiveCfg = Release R25|x64 + {D70B1882-15EC-49FD-8DB9-56E50528D6E2}.Release R25|x64.Build.0 = Release R25|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {22E3F5E8-10C2-4899-9181-E3E75D35A8D0} + EndGlobalSection +EndGlobal diff --git a/LPD Calculator/src/HOK.LPDCalculator/HOK.LPDCalculator/CalculatorMethods.cs b/HOK.LPDCalculator/HOK.LPDCalculator/CalculatorMethods.cs similarity index 100% rename from LPD Calculator/src/HOK.LPDCalculator/HOK.LPDCalculator/CalculatorMethods.cs rename to HOK.LPDCalculator/HOK.LPDCalculator/CalculatorMethods.cs diff --git a/LPD Calculator/src/HOK.LPDCalculator/HOK.LPDCalculator/Command.cs b/HOK.LPDCalculator/HOK.LPDCalculator/Command.cs similarity index 78% rename from LPD Calculator/src/HOK.LPDCalculator/HOK.LPDCalculator/Command.cs rename to HOK.LPDCalculator/HOK.LPDCalculator/Command.cs index 3c9e39a9..82ecb0da 100644 --- a/LPD Calculator/src/HOK.LPDCalculator/HOK.LPDCalculator/Command.cs +++ b/HOK.LPDCalculator/HOK.LPDCalculator/Command.cs @@ -5,26 +5,27 @@ using HOK.Core.Utilities; using HOK.MissionControl.Core.Schemas; using HOK.MissionControl.Core.Utils; +using Nice3point.Revit.Toolkit.External; namespace HOK.LPDCalculator { [Transaction(TransactionMode.Manual)] [Regeneration(RegenerationOption.Manual)] [Journaling(JournalingMode.NoCommandData)] - public class Command : IExternalCommand + public class Command : ExternalCommand { private UIApplication m_app; private Document m_doc; - Result IExternalCommand.Execute(ExternalCommandData commandData, ref string message, ElementSet elements) + public override void Execute() { - m_app = commandData.Application; - m_doc = m_app.ActiveUIDocument.Document; + m_app = Context.UiApplication; + m_doc = Context.ActiveDocument; Log.AppendLog(LogMessageType.INFO, "Started"); // (Konrad) We are gathering information about the addin use. This allows us to // better maintain the most used plug-ins or discontiue the unused ones. - AddinUtilities.PublishAddinLog(new AddinLog("ViewAnalysis-LPD Analysis", commandData.Application.Application.VersionNumber)); + AddinUtilities.PublishAddinLog(new AddinLog("ViewAnalysis-LPD Analysis", Application.VersionNumber)); var docPath = RevitDocument.GetCentralPath(m_doc); if (!string.IsNullOrEmpty(docPath)) @@ -39,7 +40,6 @@ Result IExternalCommand.Execute(ExternalCommandData commandData, ref string mess } Log.AppendLog(LogMessageType.INFO, "Ended"); - return Result.Succeeded; } } } diff --git a/LPD Calculator/src/HOK.LPDCalculator/HOK.LPDCalculator/CommandForm.Designer.cs b/HOK.LPDCalculator/HOK.LPDCalculator/CommandForm.Designer.cs similarity index 100% rename from LPD Calculator/src/HOK.LPDCalculator/HOK.LPDCalculator/CommandForm.Designer.cs rename to HOK.LPDCalculator/HOK.LPDCalculator/CommandForm.Designer.cs diff --git a/LPD Calculator/src/HOK.LPDCalculator/HOK.LPDCalculator/CommandForm.cs b/HOK.LPDCalculator/HOK.LPDCalculator/CommandForm.cs similarity index 96% rename from LPD Calculator/src/HOK.LPDCalculator/HOK.LPDCalculator/CommandForm.cs rename to HOK.LPDCalculator/HOK.LPDCalculator/CommandForm.cs index 089e9213..a0617e84 100644 --- a/LPD Calculator/src/HOK.LPDCalculator/HOK.LPDCalculator/CommandForm.cs +++ b/HOK.LPDCalculator/HOK.LPDCalculator/CommandForm.cs @@ -1,15 +1,8 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Drawing; -using System.Linq; +using System.Data; using System.Text; using System.Windows.Forms; using Autodesk.Revit.UI; -using Autodesk.Revit.DB; using Autodesk.Revit.DB.Architecture; -using Autodesk.Revit.UI.Selection; namespace HOK.LPDCalculator @@ -46,7 +39,7 @@ private void bttnBuilding_Click(object sender, EventArgs e) var collector = new FilteredElementCollector(m_doc); var area = collector.OfCategory(BuiltInCategory.OST_Areas).ToElements().ToList().First() as Area; -#if RELEASE2022 || RELEASE2023 || RELEASE2024 +#if REVIT2022_OR_GREATER var param1Found = FindParameter(area, "ActualLightingLoad", SpecTypeId.ApparentPower); var param2Found = FindParameter(area, "ActualLPD", SpecTypeId.ElectricalPowerDensity); #else @@ -119,7 +112,7 @@ private void bttnSpace_Click(object sender, EventArgs e) var collector = new FilteredElementCollector(m_doc); var area = collector.OfCategory(BuiltInCategory.OST_Areas).ToElements().ToList().First() as Area; -#if RELEASE2022 || RELEASE2023 || RELEASE2024 +#if REVIT2022_OR_GREATER var param1Found = FindParameter(area, "ActualLightingLoad", SpecTypeId.ApparentPower); var param2Found = FindParameter(area, "ActualLPD", SpecTypeId.ElectricalPowerDensity); #else @@ -241,7 +234,7 @@ private ModelSelection GetModelSelection() return selection; } -#if RELEASE2022 || RELEASE2023 || RELEASE2024 +#if REVIT2022_OR_GREATER private bool FindParameter(Area area, string paramName, ForgeTypeId paramType) { #else @@ -255,7 +248,7 @@ private bool FindParameter(Area area, string paramName, ParameterType paramType) if (null != param) { -#if RELEASE2022 || RELEASE2023 || RELEASE2024 +#if REVIT2022_OR_GREATER if (param.Definition.GetDataType() == paramType) #else if (param.Definition.ParameterType == paramType) @@ -280,7 +273,7 @@ private bool FindParameter(Area area, string paramName, ParameterType paramType) return result; } -#if RELEASE2022 || RELEASE2023 || RELEASE2024 +#if REVIT2022_OR_GREATER private bool FindParameter(Room room, string paramName, ForgeTypeId paramType) { #else @@ -294,7 +287,7 @@ private bool FindParameter(Room room, string paramName, ParameterType paramType) if (null != param) { -#if RELEASE2022 || RELEASE2023 || RELEASE2024 +#if REVIT2022_OR_GREATER if (param.Definition.GetDataType() == paramType) #else if (param.Definition.ParameterType == paramType) @@ -348,7 +341,7 @@ private void linkLabelHelp_LinkClicked(object sender, LinkLabelLinkClickedEventA try { var helpPath = @"V:\RVT-Data\HOK Program\Documentation\LPD Calculator_Instruction.pdf"; - System.Diagnostics.Process.Start(helpPath); + System.Diagnostics.Process.Start("explorer.exe", helpPath); } catch { diff --git a/LPD Calculator/src/HOK.LPDCalculator/HOK.LPDCalculator/CommandForm.resx b/HOK.LPDCalculator/HOK.LPDCalculator/CommandForm.resx similarity index 100% rename from LPD Calculator/src/HOK.LPDCalculator/HOK.LPDCalculator/CommandForm.resx rename to HOK.LPDCalculator/HOK.LPDCalculator/CommandForm.resx diff --git a/HOK.LPDCalculator/HOK.LPDCalculator/HOK.LPDCalculator.csproj b/HOK.LPDCalculator/HOK.LPDCalculator/HOK.LPDCalculator.csproj new file mode 100644 index 00000000..927418cd --- /dev/null +++ b/HOK.LPDCalculator/HOK.LPDCalculator/HOK.LPDCalculator.csproj @@ -0,0 +1,110 @@ + + + + true + latest + net8.0-windows + x64 + AnyCPU;x64 + true + disable + true + true + en-US + Debug R19; Debug R20;Debug R21;Debug R22;Debug R23;Debug R24;Debug R25 + $(Configurations);Release R19; Release R20;Release R21;Release R22;Release R23;Release R24;Release R25 + x64 + HOK Revit Add-ins + HOK Group + Copyright © HOK Group 2024 + https://github.com/HOKGroup/HOK-Revit-Addins + https://github.com/HOKGroup/HOK-Revit-Addins + 0.1.0.24 + + + + 2019 + net471 + + + 2020 + net472 + + + 2021 + net48 + + + 2022 + net48 + + + 2023 + net48 + + + 2024 + net48 + + + 2025 + net8.0-windows + + + + + $(SOURCE_DIR)\_artifacts\$(RevitVersion)\HOK.Core.dll + ..\..\HOK.Core\HOK.Core\bin\x64\$(Configuration)\HOK.Core.dll + + + $(SOURCE_DIR)\_artifacts\$(RevitVersion)\HOK.MissionControl.Core.dll + ..\..\HOK.MissionControl\HOK.MissionControl.Core\bin\x64\$(Configuration)\HOK.MissionControl.Core.dll + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + "powershell.exe" '$(ProjectDir)..\..\_postBuild\codeSigning.ps1' $(TargetPath) + + + + diff --git a/LPD Calculator/src/HOK.LPDCalculator/HOK.LPDCalculator/Properties/Resources.Designer.cs b/HOK.LPDCalculator/HOK.LPDCalculator/Properties/Resources.Designer.cs similarity index 100% rename from LPD Calculator/src/HOK.LPDCalculator/HOK.LPDCalculator/Properties/Resources.Designer.cs rename to HOK.LPDCalculator/HOK.LPDCalculator/Properties/Resources.Designer.cs diff --git a/LPD Calculator/src/HOK.LPDCalculator/HOK.LPDCalculator/Properties/Resources.resx b/HOK.LPDCalculator/HOK.LPDCalculator/Properties/Resources.resx similarity index 100% rename from LPD Calculator/src/HOK.LPDCalculator/HOK.LPDCalculator/Properties/Resources.resx rename to HOK.LPDCalculator/HOK.LPDCalculator/Properties/Resources.resx diff --git a/LPD Calculator/src/HOK.LPDCalculator/HOK.LPDCalculator/Resources/lpdCalculator_32.png b/HOK.LPDCalculator/HOK.LPDCalculator/Resources/lpdCalculator_32.png similarity index 100% rename from LPD Calculator/src/HOK.LPDCalculator/HOK.LPDCalculator/Resources/lpdCalculator_32.png rename to HOK.LPDCalculator/HOK.LPDCalculator/Resources/lpdCalculator_32.png diff --git a/LPD Calculator/src/HOK.LPDCalculator/HOK.LPDCalculator/Schedule/AnnotationProperties.cs b/HOK.LPDCalculator/HOK.LPDCalculator/Schedule/AnnotationProperties.cs similarity index 100% rename from LPD Calculator/src/HOK.LPDCalculator/HOK.LPDCalculator/Schedule/AnnotationProperties.cs rename to HOK.LPDCalculator/HOK.LPDCalculator/Schedule/AnnotationProperties.cs diff --git a/LPD Calculator/src/HOK.LPDCalculator/HOK.LPDCalculator/Schedule/ScheduleDataManager.cs b/HOK.LPDCalculator/HOK.LPDCalculator/Schedule/ScheduleDataManager.cs similarity index 99% rename from LPD Calculator/src/HOK.LPDCalculator/HOK.LPDCalculator/Schedule/ScheduleDataManager.cs rename to HOK.LPDCalculator/HOK.LPDCalculator/Schedule/ScheduleDataManager.cs index 70213053..52020bea 100644 --- a/LPD Calculator/src/HOK.LPDCalculator/HOK.LPDCalculator/Schedule/ScheduleDataManager.cs +++ b/HOK.LPDCalculator/HOK.LPDCalculator/Schedule/ScheduleDataManager.cs @@ -59,11 +59,7 @@ private ViewSchedule FindViewSchedule(CalculationTypes calType) foreach (var element in collector) { var vs = (ViewSchedule)element; -#if RELEASE2018 - if (vs.ViewName != viewName) continue; -#else if (vs.Name != viewName) continue; -#endif viewSchedule = vs; break; } diff --git a/LPD Calculator/src/HOK.LPDCalculator/HOK.LPDCalculator/Schedule/ScheduleDataParser.cs b/HOK.LPDCalculator/HOK.LPDCalculator/Schedule/ScheduleDataParser.cs similarity index 100% rename from LPD Calculator/src/HOK.LPDCalculator/HOK.LPDCalculator/Schedule/ScheduleDataParser.cs rename to HOK.LPDCalculator/HOK.LPDCalculator/Schedule/ScheduleDataParser.cs diff --git a/LPD Calculator/README b/HOK.LPDCalculator/README similarity index 100% rename from LPD Calculator/README rename to HOK.LPDCalculator/README diff --git a/HOK.MissionControl/HOK.MissionControl.Core/HOK.MissionControl.Core.csproj b/HOK.MissionControl/HOK.MissionControl.Core/HOK.MissionControl.Core.csproj index 0c7191e3..34c6aebe 100644 --- a/HOK.MissionControl/HOK.MissionControl.Core/HOK.MissionControl.Core.csproj +++ b/HOK.MissionControl/HOK.MissionControl.Core/HOK.MissionControl.Core.csproj @@ -1,141 +1,66 @@ - - - + + - Debug - x64 - {09FDA7EE-7A4B-4D34-8B22-4CE0AF04CCE0} - Library - Properties - HOK.MissionControl.Core - HOK.MissionControl.Core - 512 - - - + true + latest + net8.0-windows + x64 + AnyCPU;x64 + true + disable + true + en-US + Debug R19; Debug R20;Debug R21;Debug R22;Debug R23;Debug R24;Debug R25 + $(Configurations);Release R19; Release R20;Release R21;Release R22;Release R23;Release R24;Release R25 + x64 + HOK Revit Add-ins + HOK Group + Copyright © HOK Group 2024 + https://github.com/HOKGroup/HOK-Revit-Addins + https://github.com/HOKGroup/HOK-Revit-Addins + 0.1.0.24 - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - 2023 - v4.8 + + + 2019 + net471 - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - 2023 - v4.8 + + 2020 + net472 - - true - bin\2018\ - TRACE;DEBUG;RELEASE2018 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2018 - v4.5.2 + + 2021 + net48 - - true - bin\2019\ - TRACE;DEBUG;RELEASE2019 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2019 - v4.7.1 + + 2022 + net48 - - true - bin\2020\ - TRACE;DEBUG;RELEASE2020 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2020 - v4.7.2 + + 2023 + net48 - - true - bin\2021\ - TRACE;DEBUG;RELEASE2021 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2021 - v4.8 + + 2024 + net48 - - true - bin\2022\ - TRACE;DEBUG;RELEASE2022 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2022 - v4.8 - - - true - bin\2023\ - TRACE;DEBUG;RELEASE2023 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2023 - v4.8 - - true - bin\2024\ - TRACE;DEBUG;RELEASE2024 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2024 - v4.8 + + 2025 + net8.0-windows + + + + + - - ..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll - - - ..\packages\RestSharp.106.12.0\lib\net452\RestSharp.dll - - - C:\Program Files\Autodesk\Revit $(RevitVersion)\RevitAPI.dll - $(HOKDepsDirectory)\HOK Addins Deps\Revit\$(RevitVersion)\RevitAPI.dll - False - - - C:\Program Files\Autodesk\Revit $(RevitVersion)\RevitAPIUI.dll - $(HOKDepsDirectory)\HOK Addins Deps\Revit\$(RevitVersion)\RevitAPIUI.dll - False - - ..\..\HOK.Core\HOK.Core\bin\$(RevitVersion)\HOK.Core.dll - False - False - - - ..\packages\MongoDB.Bson.2.3.0\lib\net45\MongoDB.Bson.dll + $(SOURCE_DIR)\_artifacts\$(RevitVersion)\HOK.Core.dll + ..\..\HOK.Core\HOK.Core\bin\x64\$(Configuration)\HOK.Core.dll + + @@ -147,74 +72,26 @@ - - Properties\SharedAssemblyInfo.cs - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + - - + + + + + + + - - + "powershell.exe" '$(ProjectDir)..\..\_postBuild\codeSigning.ps1' $(TargetPath) - - - - + diff --git a/HOK.MissionControl/HOK.MissionControl.Core/Properties/AssemblyInfo.cs b/HOK.MissionControl/HOK.MissionControl.Core/Properties/AssemblyInfo.cs deleted file mode 100644 index e3a9efff..00000000 --- a/HOK.MissionControl/HOK.MissionControl.Core/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System.Reflection; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("HOK.MissionControl.Core")] -[assembly: AssemblyDescription("Classes and Utilities for Mission Control")] -[assembly: AssemblyProduct("HOK.MissionControl.Core")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("2f8af927-85d1-4f32-9600-79279ed94840")] diff --git a/HOK.MissionControl/HOK.MissionControl.Core/Utils/AppSettings.cs b/HOK.MissionControl/HOK.MissionControl.Core/Utils/AppSettings.cs index c7870555..d568752e 100644 --- a/HOK.MissionControl/HOK.MissionControl.Core/Utils/AppSettings.cs +++ b/HOK.MissionControl/HOK.MissionControl.Core/Utils/AppSettings.cs @@ -12,7 +12,7 @@ public sealed class AppSettings : INotifyPropertyChanged public List LocalPathRgx { get; set; } = new List(); public UserLocation UserLocation { get; set; } public TempLocation TempLocation { get; set; } - public ProjectInfo ProjectInfo { get; set; } + public HOK.MissionControl.Core.Schemas.Settings.ProjectInfo ProjectInfo { get; set; } static AppSettings() { @@ -26,7 +26,7 @@ private AppSettings() /// Utility for passing Settings properties into the Static class. /// /// - public void SetSettings(Settings settings) + public void SetSettings(HOK.MissionControl.Core.Schemas.Settings.Settings settings) { LocalPathRgx = settings.LocalPathRgx; UserLocation = settings.UserLocation; diff --git a/HOK.MissionControl/HOK.MissionControl.Core/Utils/RestSharpJsonNetSerializer.cs b/HOK.MissionControl/HOK.MissionControl.Core/Utils/RestSharpJsonNetSerializer.cs deleted file mode 100644 index 9afbc062..00000000 --- a/HOK.MissionControl/HOK.MissionControl.Core/Utils/RestSharpJsonNetSerializer.cs +++ /dev/null @@ -1,92 +0,0 @@ -using System.IO; -using Newtonsoft.Json; -using RestSharp; -using RestSharp.Deserializers; -using RestSharp.Serializers; - -namespace HOK.MissionControl.Core.Utils -{ - /// - /// Default JSON serializer for request bodies - /// Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes - /// - public class NewtonsoftJsonSerializer : ISerializer, IDeserializer - { - private readonly Newtonsoft.Json.JsonSerializer _serializer; - - /// - /// Default serializer - /// - public NewtonsoftJsonSerializer() - { - ContentType = "application/json"; - _serializer = new Newtonsoft.Json.JsonSerializer - { - MissingMemberHandling = MissingMemberHandling.Ignore, - NullValueHandling = NullValueHandling.Ignore, // this matters when serializing Id. - DefaultValueHandling = DefaultValueHandling.Include - }; - } - - /// - /// Default serializer with overload for allowing custom Json.NET settings - /// - public NewtonsoftJsonSerializer(Newtonsoft.Json.JsonSerializer serializer) - { - ContentType = "application/json"; - _serializer = serializer; - } - - /// - /// Serialize the object as JSON - /// - /// Object to serialize - /// JSON as String - public string Serialize(object obj) - { - using (var stringWriter = new StringWriter()) - { - using (var jsonTextWriter = new JsonTextWriter(stringWriter)) - { - jsonTextWriter.Formatting = Formatting.Indented; - jsonTextWriter.QuoteChar = '"'; - - _serializer.Serialize(jsonTextWriter, obj); - - var result = stringWriter.ToString(); - return result; - } - } - } - - public T Deserialize(IRestResponse response) - { - var content = response.Content; - - using (var stringReader = new StringReader(content)) - { - using (var jsonTextReader = new JsonTextReader(stringReader)) - { - return _serializer.Deserialize(jsonTextReader); - } - } - } - - /// - /// Unused for JSON Serialization - /// - public string DateFormat { get; set; } - /// - /// Unused for JSON Serialization - /// - public string RootElement { get; set; } - /// - /// Unused for JSON Serialization - /// - public string Namespace { get; set; } - /// - /// Content type for serialized content - /// - public string ContentType { get; set; } - } -} diff --git a/HOK.MissionControl/HOK.MissionControl.Core/Utils/ServerUtilities.cs b/HOK.MissionControl/HOK.MissionControl.Core/Utils/ServerUtilities.cs index a2638ce3..d0617141 100644 --- a/HOK.MissionControl/HOK.MissionControl.Core/Utils/ServerUtilities.cs +++ b/HOK.MissionControl/HOK.MissionControl.Core/Utils/ServerUtilities.cs @@ -18,16 +18,15 @@ public static class ServerUtilities { public static string RestApiBaseUrl { get; set; } public const string ApiVersion = "api/v2"; - private static Func serializerFactory = () => { return new NewtonsoftJsonSerializer(); }; - private static Settings Settings { get; set; } + private static HOK.Core.Utilities.Settings Settings { get; set; } static ServerUtilities() { var settingsString = Resources.StreamEmbeddedResource("HOK.Core.Resources.Settings.json"); - RestApiBaseUrl = Json.Deserialize(settingsString)?.HttpAddress; //production + RestApiBaseUrl = Json.Deserialize(settingsString)?.HttpAddress; //production //RestApiBaseUrl = Json.Deserialize(settingsString)?.HttpAddressDebug; //debug - Settings = Json.Deserialize(settingsString); + Settings = Json.Deserialize(settingsString); } #region GET @@ -45,7 +44,7 @@ static ServerUtilities() try { var client = new RestClient(RestApiBaseUrl); - var request = new RestRequest(ApiVersion + "/" + path, Method.GET); + var request = new RestRequest(ApiVersion + "/" + path, Method.Get); var response = client.Execute(request); if (response.StatusCode != HttpStatusCode.OK) return false; @@ -83,7 +82,7 @@ static ServerUtilities() try { var client = new RestClient(RestApiBaseUrl); - var request = new RestRequest(ApiVersion + "/" + path, Method.GET); + var request = new RestRequest(ApiVersion + "/" + path, Method.Get); var response = client.Execute(request); if (response.StatusCode != HttpStatusCode.OK) return false; @@ -133,20 +132,9 @@ static ServerUtilities() } var client = new RestClient(RestApiBaseUrl); - client.ClearHandlers(); - client.AddHandler("application/json", serializerFactory); - client.AddHandler("text/json", serializerFactory); - client.AddHandler("text/x-json", serializerFactory); - client.AddHandler("text/javascript", serializerFactory); - client.AddHandler("*+json", serializerFactory); - - var request = new RestRequest(ApiVersion + "/" + path + "/" + filePath, Method.GET) - { - OnBeforeDeserialization = resp => { resp.ContentType = "application/json"; } - }; - request.AddHeader("Content-type", "application/json"); + + var request = new RestRequest(ApiVersion + "/" + path + "/" + filePath, Method.Get); request.RequestFormat = DataFormat.Json; - request.JsonSerializer = new NewtonsoftJsonSerializer(); var response = client.Execute(request); if (response.StatusCode != HttpStatusCode.OK) return false; @@ -179,25 +167,14 @@ static ServerUtilities() /// /// /// - public static bool Put(T body, string route) + public static bool Put(T body, string route) where T : class { try { var client = new RestClient(RestApiBaseUrl); - client.ClearHandlers(); - client.AddHandler("application/json", serializerFactory); - client.AddHandler("text/json", serializerFactory); - client.AddHandler("text/x-json", serializerFactory); - client.AddHandler("text/javascript", serializerFactory); - client.AddHandler("*+json", serializerFactory); - - var request = new RestRequest(ApiVersion + "/" + route, Method.PUT) - { - OnBeforeDeserialization = resp => { resp.ContentType = "application/json"; } - }; - request.AddHeader("Content-type", "application/json"); + + var request = new RestRequest(ApiVersion + "/" + route, Method.Put); request.RequestFormat = DataFormat.Json; - request.JsonSerializer = new NewtonsoftJsonSerializer(); request.AddJsonBody(body); var response = client.Execute(request); @@ -226,20 +203,9 @@ public static bool Put(T body, string route) public static async Task PostAsync(object body, string route) where T : new() { var client = new RestClient(RestApiBaseUrl); - client.ClearHandlers(); - client.AddHandler("application/json", serializerFactory); - client.AddHandler("text/json", serializerFactory); - client.AddHandler("text/x-json", serializerFactory); - client.AddHandler("text/javascript", serializerFactory); - client.AddHandler("*+json", serializerFactory); - - var request = new RestRequest(ApiVersion + "/" + route, Method.POST) - { - OnBeforeDeserialization = resp => { resp.ContentType = "application/json"; } - }; - request.AddHeader("Content-type", "application/json"); + + var request = new RestRequest(ApiVersion + "/" + route, Method.Post); request.RequestFormat = DataFormat.Json; - request.JsonSerializer = new NewtonsoftJsonSerializer(); request.AddJsonBody(body); var response = await client.ExecuteAsync(request); @@ -268,20 +234,9 @@ public static bool Put(T body, string route) try { var client = new RestClient(RestApiBaseUrl); - client.ClearHandlers(); - client.AddHandler("application/json", serializerFactory); - client.AddHandler("text/json", serializerFactory); - client.AddHandler("text/x-json", serializerFactory); - client.AddHandler("text/javascript", serializerFactory); - client.AddHandler("*+json", serializerFactory); - - var request = new RestRequest(ApiVersion + "/" + route, Method.POST) - { - OnBeforeDeserialization = resp => { resp.ContentType = "application/json"; } - }; - request.AddHeader("Content-type", "application/json"); + + var request = new RestRequest(ApiVersion + "/" + route, Method.Post); request.RequestFormat = DataFormat.Json; - request.JsonSerializer = new NewtonsoftJsonSerializer(); request.AddJsonBody(body); var response = client.Execute(request); @@ -316,7 +271,7 @@ public static bool Put(T body, string route) try { var client = new RestClient(clientPath); - var request = new RestRequest(requestPath, Method.GET); + var request = new RestRequest(requestPath, Method.Get); request.AddHeader("User-Name", Environment.UserName); request.AddHeader("Operation-GUID", Guid.NewGuid().ToString()); string[] clarityServers = Settings.ClarityServers; diff --git a/HOK.MissionControl/HOK.MissionControl.Core/app.config b/HOK.MissionControl/HOK.MissionControl.Core/app.config deleted file mode 100644 index de5386a4..00000000 --- a/HOK.MissionControl/HOK.MissionControl.Core/app.config +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/HOK.MissionControl/HOK.MissionControl.Core/packages.config b/HOK.MissionControl/HOK.MissionControl.Core/packages.config deleted file mode 100644 index 3ad0545c..00000000 --- a/HOK.MissionControl/HOK.MissionControl.Core/packages.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/HOK.MissionControl/HOK.MissionControl.FamilyPublish/FamilyMonitorView.xaml b/HOK.MissionControl/HOK.MissionControl.FamilyPublish/FamilyMonitorView.xaml index 82926c89..a2e09b7c 100644 --- a/HOK.MissionControl/HOK.MissionControl.FamilyPublish/FamilyMonitorView.xaml +++ b/HOK.MissionControl/HOK.MissionControl.FamilyPublish/FamilyMonitorView.xaml @@ -4,7 +4,7 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" - xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" + xmlns:Behaviors="http://schemas.microsoft.com/xaml/behaviors" mc:Ignorable="d" Height="524" Width="500" MinHeight="524" MinWidth="500" ResizeMode="NoResize" @@ -12,14 +12,14 @@ Title="{Binding Title, Mode=OneWay, FallbackValue='DTM Tool'}" Style="{DynamicResource MetroWindowStyle}" WindowStartupLocation="CenterScreen"> - - - - - - - - + + + + + + + + diff --git a/HOK.MissionControl/HOK.MissionControl.FamilyPublish/FamilyMonitorViewModel.cs b/HOK.MissionControl/HOK.MissionControl.FamilyPublish/FamilyMonitorViewModel.cs index e7d8cf97..43770ad3 100644 --- a/HOK.MissionControl/HOK.MissionControl.FamilyPublish/FamilyMonitorViewModel.cs +++ b/HOK.MissionControl/HOK.MissionControl.FamilyPublish/FamilyMonitorViewModel.cs @@ -1,12 +1,12 @@ using System.Reflection; using System.Windows; -using GalaSoft.MvvmLight; -using GalaSoft.MvvmLight.Command; +using CommunityToolkit.Mvvm; +using CommunityToolkit.Mvvm.Input; using HOK.Core.WpfUtilities; namespace HOK.MissionControl.FamilyPublish { - public class FamilyMonitorViewModel : ViewModelBase + public class FamilyMonitorViewModel : ObservableRecipient { public RelayCommand Close { get; } public RelayCommand Cancel { get; } @@ -61,7 +61,7 @@ private static void OnClose(Window window) public string Message { get { return _message; } - set { _message = value; RaisePropertyChanged(() => Message); } + set { _message = value; OnPropertyChanged(nameof(Message)); } } } } diff --git a/HOK.MissionControl/HOK.MissionControl.FamilyPublish/FamilyPublishCommand.cs b/HOK.MissionControl/HOK.MissionControl.FamilyPublish/FamilyPublishCommand.cs index 37db4a91..b2c8ba4b 100644 --- a/HOK.MissionControl/HOK.MissionControl.FamilyPublish/FamilyPublishCommand.cs +++ b/HOK.MissionControl/HOK.MissionControl.FamilyPublish/FamilyPublishCommand.cs @@ -12,6 +12,7 @@ using HOK.MissionControl.Core.Utils; using HOK.MissionControl.FamilyPublish.Utilities; using Visibility = System.Windows.Visibility; +using Nice3point.Revit.Toolkit.External; #endregion @@ -20,12 +21,12 @@ namespace HOK.MissionControl.FamilyPublish [Transaction(TransactionMode.Manual)] [Regeneration(RegenerationOption.Manual)] [Journaling(JournalingMode.NoCommandData)] - public class FamilyPublishCommand : IExternalCommand + public class FamilyPublishCommand : ExternalCommand { - public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements) + public override void Execute() { - var uiApp = commandData.Application; - var doc = uiApp.ActiveUIDocument.Document; + var uiApp = Context.UiApplication; + var doc = Context.ActiveDocument; Log.AppendLog(LogMessageType.INFO, "Started"); try @@ -33,7 +34,7 @@ public Result Execute(ExternalCommandData commandData, ref string message, Eleme // (Konrad) We are gathering information about the addin use. This allows us to // better maintain the most used plug-ins or discontiue the unused ones. AddinUtilities.PublishAddinLog( - new AddinLog("MissionControl-PublishFamilyData", commandData.Application.Application.VersionNumber)); + new AddinLog("MissionControl-PublishFamilyData", Context.Application.VersionNumber)); var pathName = doc.PathName; if (string.IsNullOrEmpty(pathName)) @@ -48,7 +49,8 @@ public Result Execute(ExternalCommandData commandData, ref string message, Eleme }; dialog.ShowDialog(); - return Result.Failed; + Result = Result.Failed; + return; } var centralPath = FileInfoUtil.GetCentralFilePath(doc); @@ -64,7 +66,8 @@ public Result Execute(ExternalCommandData commandData, ref string message, Eleme }; dialog.ShowDialog(); - return Result.Failed; + Result = Result.Failed; + return; } if (!MissionControlSetup.Projects.ContainsKey(centralPath) || @@ -81,7 +84,8 @@ public Result Execute(ExternalCommandData commandData, ref string message, Eleme }; dialog.ShowDialog(); - return Result.Failed; + Result = Result.Failed; + return; } uiApp.Application.FailuresProcessing += FailureProcessing; @@ -109,7 +113,6 @@ public Result Execute(ExternalCommandData commandData, ref string message, Eleme uiApp.Application.FailuresProcessing -= FailureProcessing; Log.AppendLog(LogMessageType.INFO, "Ended"); - return Result.Succeeded; } /// diff --git a/HOK.MissionControl/HOK.MissionControl.FamilyPublish/HOK.MissionControl.FamilyPublish.csproj b/HOK.MissionControl/HOK.MissionControl.FamilyPublish/HOK.MissionControl.FamilyPublish.csproj index 7844c4c6..8683a04f 100644 --- a/HOK.MissionControl/HOK.MissionControl.FamilyPublish/HOK.MissionControl.FamilyPublish.csproj +++ b/HOK.MissionControl/HOK.MissionControl.FamilyPublish/HOK.MissionControl.FamilyPublish.csproj @@ -1,147 +1,71 @@ - - - + + - Debug - x64 - {8E18902C-90D5-44DA-B72D-E3F129A67161} - Library - Properties - HOK.MissionControl.FamilyPublish - HOK.MissionControl.FamilyPublish - 512 - - - - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - 2023 - v4.8 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - 2023 - v4.8 + true + latest + net8.0-windows + x64 + AnyCPU;x64 + true + disable + true + true + en-US + Debug R19; Debug R20;Debug R21;Debug R22;Debug R23;Debug R24;Debug R25 + $(Configurations);Release R19; Release R20;Release R21;Release R22;Release R23;Release R24;Release R25 + x64 + HOK Revit Add-ins + HOK Group + Copyright © HOK Group 2024 + https://github.com/HOKGroup/HOK-Revit-Addins + https://github.com/HOKGroup/HOK-Revit-Addins + 0.1.0.24 - - true - bin\2018\ - TRACE;DEBUG;RELEASE2018 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2018 - v4.5.2 + + 2019 + net471 - - true - bin\2019\ - TRACE;DEBUG;RELEASE2019 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2019 - v4.7.1 + + 2020 + net472 - - true - bin\2020\ - TRACE;DEBUG;RELEASE2020 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2020 - v4.7.2 + + 2021 + net48 - - true - bin\2021\ - TRACE;DEBUG;RELEASE2021 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2021 - v4.8 + + 2022 + net48 - - true - bin\2022\ - TRACE;DEBUG;RELEASE2022 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2022 - v4.8 + + 2023 + net48 - - true - bin\2023\ - TRACE;DEBUG;RELEASE2023 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2023 - v4.8 - - true - bin\2024\ - TRACE;DEBUG;RELEASE2024 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2024 - v4.8 + + 2024 + net48 + + + 2025 + net8.0-windows + + + + - - ..\packages\MvvmLightLibs.5.3.0.0\lib\net45\GalaSoft.MvvmLight.dll - - ..\..\HOK.Core\HOK.Core\bin\$(RevitVersion)\HOK.Core.dll - True - False - - - C:\Program Files\Autodesk\Revit $(RevitVersion)\RevitAPI.dll - $(HOKDepsDirectory)\HOK Addins Deps\Revit\$(RevitVersion)\RevitAPI.dll - False - - - C:\Program Files\Autodesk\Revit $(RevitVersion)\RevitAPIUI.dll - $(HOKDepsDirectory)\HOK Addins Deps\Revit\$(RevitVersion)\RevitAPIUI.dll - False - - - ..\packages\CommonServiceLocator.1.3\lib\portable-net4+sl5+netcore45+wpa81+wp8\Microsoft.Practices.ServiceLocation.dll + $(SOURCE_DIR)\_artifacts\$(RevitVersion)\HOK.Core.dll + ..\..\HOK.Core\HOK.Core\bin\x64\$(Configuration)\HOK.Core.dll + + - - ..\packages\MvvmLightLibs.5.3.0.0\lib\net45\System.Windows.Interactivity.dll - @@ -151,24 +75,6 @@ - - - Properties\SharedAssemblyInfo.cs - - - - FamilyMonitorView.xaml - - - - - - True - True - Resources.resx - - - {09fda7ee-7a4b-4d34-8b22-4ce0af04cce0} @@ -176,40 +82,37 @@ - - - Designer - - - - - MSBuild:Compile - Designer - + + + + - - ResXFileCodeGenerator - Resources1.Designer.cs - Designer - + + + + + + + + - + + + - - + + + + - + - - + "powershell.exe" '$(ProjectDir)..\..\_postBuild\codeSigning.ps1' $(TargetPath) - - - - + diff --git a/HOK.MissionControl/HOK.MissionControl.FamilyPublish/Properties/AssemblyInfo.cs b/HOK.MissionControl/HOK.MissionControl.FamilyPublish/Properties/AssemblyInfo.cs deleted file mode 100644 index ce414c02..00000000 --- a/HOK.MissionControl/HOK.MissionControl.FamilyPublish/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System.Reflection; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("HOK.MissionControl.FamilyPublish")] -[assembly: AssemblyDescription("Publishes information about Families to Mission Control server.")] -[assembly: AssemblyProduct("HOK.MissionControl.FamilyPublish")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("8e18902c-90d5-44da-b72d-e3f129a67161")] diff --git a/HOK.MissionControl/HOK.MissionControl.FamilyPublish/packages.config b/HOK.MissionControl/HOK.MissionControl.FamilyPublish/packages.config deleted file mode 100644 index cd76e92c..00000000 --- a/HOK.MissionControl/HOK.MissionControl.FamilyPublish/packages.config +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/HOK.MissionControl/HOK.MissionControl.GroupsManager/AppCommand.cs b/HOK.MissionControl/HOK.MissionControl.GroupsManager/AppCommand.cs index 528e08ff..f18cc936 100644 --- a/HOK.MissionControl/HOK.MissionControl.GroupsManager/AppCommand.cs +++ b/HOK.MissionControl/HOK.MissionControl.GroupsManager/AppCommand.cs @@ -4,31 +4,32 @@ using Autodesk.Revit.DB; using Autodesk.Revit.DB.Events; using Autodesk.Revit.UI; -using GalaSoft.MvvmLight.Messaging; +using CommunityToolkit.Mvvm.Messaging; using HOK.Core.Utilities; using HOK.MissionControl.GroupsManager.Utilities; +using Nice3point.Revit.Toolkit.External; namespace HOK.MissionControl.GroupsManager { - public class AppCommand : IExternalApplication + public class AppCommand : ExternalApplication { private const string tabName = " HOK "; public static GroupManagerRequestHandler GroupManagerHandler { get; set; } public static ExternalEvent GroupManagerEvent { get; set; } - public Result OnStartup(UIControlledApplication application) + public override void OnStartup() { try { - application.CreateRibbonTab(tabName); + Application.CreateRibbonTab(tabName); } catch { Log.AppendLog(LogMessageType.INFO, "Ribbon tab was not created because it already exists: " + tabName); } var assembly = Assembly.GetAssembly(GetType()); - var panel = application.GetRibbonPanels(tabName).FirstOrDefault(x => x.Name == "Mission Control") - ?? application.CreateRibbonPanel(tabName, "Mission Control"); + var panel = Application.GetRibbonPanels(tabName).FirstOrDefault(x => x.Name == "Mission Control") + ?? Application.CreateRibbonPanel(tabName, "Mission Control"); var unused = (PushButton)panel.AddItem(new PushButtonData("GroupManager_Command", " Groups " + Environment.NewLine + "Manager", assembly.Location, "HOK.MissionControl.GroupsManager.GroupsManagerCommand") { @@ -36,23 +37,21 @@ public Result OnStartup(UIControlledApplication application) ToolTip = Properties.Resources.GroupsManager_Description }); - application.ControlledApplication.DocumentChanged += OnDocumentChanged; + Application.ControlledApplication.DocumentChanged += OnDocumentChanged; GroupManagerHandler = new GroupManagerRequestHandler(); GroupManagerEvent = ExternalEvent.Create(GroupManagerHandler); - return Result.Succeeded; } private void OnDocumentChanged(object sender, DocumentChangedEventArgs e) { - Messenger.Default.Send(new DocumentChanged(e.GetDeletedElementIds(), e.GetAddedElementIds(), e.GetDocument())); + WeakReferenceMessenger.Default.Send(new DocumentChanged(e.GetDeletedElementIds(), e.GetAddedElementIds(), e.GetDocument())); } - public Result OnShutdown(UIControlledApplication application) + public override void OnShutdown() { - application.ControlledApplication.DocumentChanged -= OnDocumentChanged; - return Result.Succeeded; + Application.ControlledApplication.DocumentChanged -= OnDocumentChanged; } } } diff --git a/HOK.MissionControl/HOK.MissionControl.GroupsManager/GroupManagerRequestHandler.cs b/HOK.MissionControl/HOK.MissionControl.GroupsManager/GroupManagerRequestHandler.cs index 510e2c90..2175d24a 100644 --- a/HOK.MissionControl/HOK.MissionControl.GroupsManager/GroupManagerRequestHandler.cs +++ b/HOK.MissionControl/HOK.MissionControl.GroupsManager/GroupManagerRequestHandler.cs @@ -6,7 +6,7 @@ using System.Threading; using Autodesk.Revit.DB; using Autodesk.Revit.UI; -using GalaSoft.MvvmLight.Messaging; +using CommunityToolkit.Mvvm.Messaging; using HOK.Core.Utilities; using HOK.Core.WpfUtilities; using HOK.MissionControl.GroupsManager.Utilities; @@ -186,7 +186,7 @@ public void Delete(UIApplication app) trans.Commit(); } - Messenger.Default.Send(new GroupsDeleted { Groups = deleted }); + WeakReferenceMessenger.Default.Send(new GroupsDeleted { Groups = deleted }); } /// @@ -242,7 +242,7 @@ public void Ungroup(UIApplication app) trans.Commit(); } - Messenger.Default.Send(new GroupsDeleted { Groups = deleted }); + WeakReferenceMessenger.Default.Send(new GroupsDeleted { Groups = deleted }); } } diff --git a/HOK.MissionControl/HOK.MissionControl.GroupsManager/GroupsManagerCommand.cs b/HOK.MissionControl/HOK.MissionControl.GroupsManager/GroupsManagerCommand.cs index 515aeb8e..7bd43b61 100644 --- a/HOK.MissionControl/HOK.MissionControl.GroupsManager/GroupsManagerCommand.cs +++ b/HOK.MissionControl/HOK.MissionControl.GroupsManager/GroupsManagerCommand.cs @@ -8,11 +8,12 @@ using Autodesk.Revit.DB; using Autodesk.Revit.DB.Events; using Autodesk.Revit.UI; -using GalaSoft.MvvmLight.Messaging; +using CommunityToolkit.Mvvm.Messaging; using HOK.Core.Utilities; using HOK.MissionControl.Core.Schemas; using HOK.MissionControl.Core.Utils; using HOK.MissionControl.GroupsManager.Utilities; +using Nice3point.Revit.Toolkit.External; // ReSharper disable UnusedMember.Global #endregion @@ -22,19 +23,19 @@ namespace HOK.MissionControl.GroupsManager [Transaction(TransactionMode.Manual)] [Regeneration(RegenerationOption.Manual)] [Journaling(JournalingMode.NoCommandData)] - public class GroupsManagerCommand : IExternalCommand + public class GroupsManagerCommand : ExternalCommand { - public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements) + public override void Execute() { - var uiApp = commandData.Application; - var doc = uiApp.ActiveUIDocument.Document; + var uiApp = Context.Application; + var doc = Context.ActiveDocument; Log.AppendLog(LogMessageType.INFO, "Started"); try { // (Konrad) We are gathering information about the addin use. This allows us to // better maintain the most used plug-ins or discontinue the unused ones. - AddinUtilities.PublishAddinLog(new AddinLog("MissionControl-GroupsManager", commandData.Application.Application.VersionNumber)); + AddinUtilities.PublishAddinLog(new AddinLog("MissionControl-GroupsManager", Application.VersionNumber)); var model = new GroupsManagerModel(doc); var viewModel = new GroupsManagerViewModel(model); @@ -56,7 +57,6 @@ public Result Execute(ExternalCommandData commandData, ref string message, Eleme } Log.AppendLog(LogMessageType.INFO, "Ended"); - return Result.Succeeded; } } } diff --git a/HOK.MissionControl/HOK.MissionControl.GroupsManager/GroupsManagerView.xaml b/HOK.MissionControl/HOK.MissionControl.GroupsManager/GroupsManagerView.xaml index ebba06c5..a7afd72c 100644 --- a/HOK.MissionControl/HOK.MissionControl.GroupsManager/GroupsManagerView.xaml +++ b/HOK.MissionControl/HOK.MissionControl.GroupsManager/GroupsManagerView.xaml @@ -5,20 +5,20 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:wpfUtilities="clr-namespace:HOK.Core.WpfUtilities;assembly=HOK.Core" - xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" + xmlns:Behaviors="http://schemas.microsoft.com/xaml/behaviors" xmlns:groupsManager="clr-namespace:HOK.MissionControl.GroupsManager" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="500" Width="1000" Title="{Binding Title, Mode=OneWay}" Icon="Resources/hoklogo.ico" WindowStartupLocation="CenterOwner" BorderThickness="0,5,0,0" BorderBrush="#E6E3DB" MaxHeight="800" SizeToContent="Height" ResizeMode="NoResize"> - - - - - - - - + + + + + + + + diff --git a/HOK.MissionControl/HOK.MissionControl.GroupsManager/GroupsManagerViewModel.cs b/HOK.MissionControl/HOK.MissionControl.GroupsManager/GroupsManagerViewModel.cs index 7f4a10ae..6f700983 100644 --- a/HOK.MissionControl/HOK.MissionControl.GroupsManager/GroupsManagerViewModel.cs +++ b/HOK.MissionControl/HOK.MissionControl.GroupsManager/GroupsManagerViewModel.cs @@ -8,9 +8,9 @@ using System.Windows; using System.Windows.Data; using System.Windows.Interop; -using GalaSoft.MvvmLight; -using GalaSoft.MvvmLight.Command; -using GalaSoft.MvvmLight.Messaging; +using CommunityToolkit.Mvvm; +using CommunityToolkit.Mvvm.Input; +using CommunityToolkit.Mvvm.Messaging; using HOK.Feedback; using HOK.MissionControl.GroupsManager.Utilities; @@ -18,7 +18,7 @@ namespace HOK.MissionControl.GroupsManager { - public class GroupsManagerViewModel : ViewModelBase + public class GroupsManagerViewModel : ObservableRecipient { #region Properties @@ -42,7 +42,7 @@ public class GroupsManagerViewModel : ViewModelBase public ObservableCollection Groups { get { return _groups;} - set { _groups = value; RaisePropertyChanged(() => Groups); } + set { _groups = value; OnPropertyChanged(nameof(Groups)); } } #endregion @@ -66,8 +66,8 @@ public GroupsManagerViewModel(GroupsManagerModel model) FindGroup = new RelayCommand(OnFindGroup); IsolateGroup = new RelayCommand(OnIsolateGroup); - Messenger.Default.Register(this, OnGroupsDeleted); - Messenger.Default.Register(this, OnDocumentChanged); + WeakReferenceMessenger.Default.Register(this, static (r, m) => r.OnGroupsDeleted(m)); + WeakReferenceMessenger.Default.Register(this, static (r, m) => r.OnDocumentChanged(m)); } #region Message Handlers @@ -168,7 +168,7 @@ private static void OnWindowLoaded(Window win) private void OnWindowClosed(Window win) { // (Konrad) Unregisters any Messanger handlers. - Cleanup(); + OnDeactivated(); } private static void OnSubmitComment() diff --git a/HOK.MissionControl/HOK.MissionControl.GroupsManager/HOK.MissionControl.GroupsManager.csproj b/HOK.MissionControl/HOK.MissionControl.GroupsManager/HOK.MissionControl.GroupsManager.csproj index c9d7ba80..5be02db0 100644 --- a/HOK.MissionControl/HOK.MissionControl.GroupsManager/HOK.MissionControl.GroupsManager.csproj +++ b/HOK.MissionControl/HOK.MissionControl.GroupsManager/HOK.MissionControl.GroupsManager.csproj @@ -1,151 +1,74 @@ - - - + + - Debug - x64 - {FF7AE329-D079-40EC-AA8B-25862DD65E01} - Library - Properties - HOK.MissionControl.GroupsManager - HOK.MissionControl.GroupsManager - 512 - - + true + latest + net8.0-windows + x64 + AnyCPU;x64 + true + disable + true + true + en-US + Debug R19; Debug R20;Debug R21;Debug R22;Debug R23;Debug R24;Debug R25 + $(Configurations);Release R19; Release R20;Release R21;Release R22;Release R23;Release R24;Release R25 + x64 + HOK Revit Add-ins + HOK Group + Copyright © HOK Group 2024 + https://github.com/HOKGroup/HOK-Revit-Addins + https://github.com/HOKGroup/HOK-Revit-Addins + 0.1.0.24 - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - 2023 - v4.8 + + + 2019 + net471 - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - 2023 - v4.8 + + 2020 + net472 - - true - bin\2018\ - TRACE;DEBUG;RELEASE2018 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2018 - v4.5.2 + + 2021 + net48 - - true - bin\2019\ - TRACE;DEBUG;RELEASE2019 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2019 - v4.7.1 + + 2022 + net48 - - true - bin\2020\ - TRACE;DEBUG;RELEASE2020 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2020 - v4.7.2 + + 2023 + net48 - - true - bin\2021\ - TRACE;DEBUG;RELEASE2021 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2021 - v4.8 - - - true - bin\2022\ - TRACE;DEBUG;RELEASE2022 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2022 - v4.8 + + 2024 + net48 - - true - bin\2023\ - TRACE;DEBUG;RELEASE2023 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2023 - v4.8 - - true - bin\2024\ - TRACE;DEBUG;RELEASE2024 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2024 - v4.8 + + 2025 + net8.0-windows + + + + - - ..\packages\MvvmLightLibs.5.3.0.0\lib\net45\GalaSoft.MvvmLight.dll - False - - ..\..\HOK.Core\HOK.Core\bin\$(RevitVersion)\HOK.Core.dll - False - False + $(SOURCE_DIR)\_artifacts\$(RevitVersion)\HOK.Core.dll + ..\..\HOK.Core\HOK.Core\bin\x64\$(Configuration)\HOK.Core.dll - ..\..\HOK.Feedback\HOK.Feedback\bin\$(RevitVersion)\HOK.Feedback.dll - False - False - - - ..\packages\CommonServiceLocator.1.3\lib\portable-net4+sl5+netcore45+wpa81+wp8\Microsoft.Practices.ServiceLocation.dll + $(SOURCE_DIR)\_artifacts\$(RevitVersion)\HOK.Feedback.dll + ..\..\HOK.Feedback\HOK.Feedback\bin\x64\$(Configuration)\HOK.Feedback.dll + + - - - C:\Program Files\Autodesk\Revit $(RevitVersion)\RevitAPI.dll - $(HOKDepsDirectory)\HOK Addins Deps\Revit\$(RevitVersion)\RevitAPI.dll - False - - - C:\Program Files\Autodesk\Revit $(RevitVersion)\RevitAPIUI.dll - $(HOKDepsDirectory)\HOK Addins Deps\Revit\$(RevitVersion)\RevitAPIUI.dll - False - - - ..\packages\MvvmLightLibs.5.3.0.0\lib\net45\System.Windows.Interactivity.dll - @@ -155,75 +78,43 @@ - - - Properties\SharedAssemblyInfo.cs - - - - - - - - - GroupsManagerView.xaml - - - - - True - True - Resources.resx - - - - - - - - {09FDA7EE-7A4B-4D34-8B22-4CE0AF04CCE0} - HOK.MissionControl.Core - - - - - ResXFileCodeGenerator - Resources.Designer.cs - - + + + PreserveNewest + - - - - - - Designer - MSBuild:Compile - + + + + + + + - + + + + + + - - + - - + "powershell.exe" '$(ProjectDir)..\..\_postBuild\codeSigning.ps1' $(TargetPath) - - - - - + diff --git a/Utility Tools/src/HOK.Utilities/HOK.CameraDuplicator/HOK.CameraDuplicator.csproj b/HOK.MissionControl/HOK.MissionControl.GroupsManager/HOK.MissionControl.GroupsManager_old.csproj similarity index 76% rename from Utility Tools/src/HOK.Utilities/HOK.CameraDuplicator/HOK.CameraDuplicator.csproj rename to HOK.MissionControl/HOK.MissionControl.GroupsManager/HOK.MissionControl.GroupsManager_old.csproj index 85138504..c9d7ba80 100644 --- a/Utility Tools/src/HOK.Utilities/HOK.CameraDuplicator/HOK.CameraDuplicator.csproj +++ b/HOK.MissionControl/HOK.MissionControl.GroupsManager/HOK.MissionControl.GroupsManager_old.csproj @@ -1,16 +1,15 @@ - + Debug x64 - {068558B8-5372-418D-B53E-7EFF3EB071FF} + {FF7AE329-D079-40EC-AA8B-25862DD65E01} Library Properties - HOK.CameraDuplicator - HOK.CameraDuplicator + HOK.MissionControl.GroupsManager + HOK.MissionControl.GroupsManager 512 - @@ -114,24 +113,24 @@ ..\packages\MvvmLightLibs.5.3.0.0\lib\net45\GalaSoft.MvvmLight.dll - - - ..\..\..\..\HOK.Core\HOK.Core\bin\$(RevitVersion)\HOK.Core.dll - True False - - ..\..\..\..\HOK.MissionControl\HOK.MissionControl.Core\bin\$(RevitVersion)\HOK.MissionControl.Core.dll + + ..\..\HOK.Core\HOK.Core\bin\$(RevitVersion)\HOK.Core.dll + False False - ..\..\..\..\HOK.Feedback\HOK.Feedback\bin\$(RevitVersion)\HOK.Feedback.dll - True + ..\..\HOK.Feedback\HOK.Feedback\bin\$(RevitVersion)\HOK.Feedback.dll + False False ..\packages\CommonServiceLocator.1.3\lib\portable-net4+sl5+netcore45+wpa81+wp8\Microsoft.Practices.ServiceLocation.dll + + + C:\Program Files\Autodesk\Revit $(RevitVersion)\RevitAPI.dll $(HOKDepsDirectory)\HOK Addins Deps\Revit\$(RevitVersion)\RevitAPI.dll @@ -142,8 +141,6 @@ $(HOKDepsDirectory)\HOK Addins Deps\Revit\$(RevitVersion)\RevitAPIUI.dll False - - @@ -154,6 +151,7 @@ + @@ -161,52 +159,62 @@ Properties\SharedAssemblyInfo.cs - - - - - CameraWindow.xaml - - - - NotificationWindow.xaml + + + + + + + + GroupsManagerView.xaml + - - ViewConfigurationWindow.xaml + + True + True + Resources.resx + + + - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - + + {09FDA7EE-7A4B-4D34-8B22-4CE0AF04CCE0} + HOK.MissionControl.Core + - + + ResXFileCodeGenerator + Resources.Designer.cs + - - + - - + + PreserveNewest + - - + + - + + Designer + MSBuild:Compile + + + + + + + + @@ -214,12 +222,8 @@ - - - - - + - + diff --git a/HOK.MissionControl/HOK.MissionControl.GroupsManager/Properties/AssemblyInfo.cs b/HOK.MissionControl/HOK.MissionControl.GroupsManager/Properties/AssemblyInfo.cs deleted file mode 100644 index 545df51c..00000000 --- a/HOK.MissionControl/HOK.MissionControl.GroupsManager/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System.Reflection; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("HOK.MissionControl.GroupsManager")] -[assembly: AssemblyDescription("This application allows you to manage the groups in the model.")] -[assembly: AssemblyProduct("HOK.MissionControl.GroupsManager")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("ff7ae329-d079-40ec-aa8b-25862dd65e01")] diff --git a/HOK.MissionControl/HOK.MissionControl.LinksManager/HOK.MissionControl.LinksManager.addin b/HOK.MissionControl/HOK.MissionControl.LinksManager/HOK.MissionControl.LinksManager.addin index f554bfc0..4d657512 100644 --- a/HOK.MissionControl/HOK.MissionControl.LinksManager/HOK.MissionControl.LinksManager.addin +++ b/HOK.MissionControl/HOK.MissionControl.LinksManager/HOK.MissionControl.LinksManager.addin @@ -1,8 +1,8 @@  - - Family Publish - HOK.MissionControl.LinksManager\HOK.MissionControl.LinksManager.dll + + Links Manager + HOK-Addin.bundle\Contents\HOK.MissionControl.LinksManager.dll 22fe8cc0-814b-4832-88b0-f87500f54175 HOK.MissionControl.LinksManager.LinksManagerCommand Konrad K Sobon diff --git a/HOK.MissionControl/HOK.MissionControl.LinksManager/HOK.MissionControl.LinksManager.csproj b/HOK.MissionControl/HOK.MissionControl.LinksManager/HOK.MissionControl.LinksManager.csproj index 3f221a6b..07929047 100644 --- a/HOK.MissionControl/HOK.MissionControl.LinksManager/HOK.MissionControl.LinksManager.csproj +++ b/HOK.MissionControl/HOK.MissionControl.LinksManager/HOK.MissionControl.LinksManager.csproj @@ -1,153 +1,77 @@ - - - + + - Debug - x64 - {E991EB9A-F941-4D5F-800B-70256741AB0E} - Library - Properties - HOK.MissionControl.LinksManager - HOK.MissionControl.LinksManager - 512 - - - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - 2023 - v4.8 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - 2023 - v4.8 + true + latest + net8.0-windows + x64 + AnyCPU;x64 + true + disable + true + true + en-US + Debug R19; Debug R20;Debug R21;Debug R22;Debug R23;Debug R24;Debug R25 + $(Configurations);Release R19; Release R20;Release R21;Release R22;Release R23;Release R24;Release R25 + x64 + HOK Revit Add-ins + HOK Group + Copyright © HOK Group 2024 + https://github.com/HOKGroup/HOK-Revit-Addins + https://github.com/HOKGroup/HOK-Revit-Addins + 0.1.0.24 - - true - bin\2018\ - TRACE;DEBUG;RELEASE2018 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2018 - v4.5.2 + + 2019 + net471 - - true - bin\2019\ - TRACE;DEBUG;RELEASE2019 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2019 - v4.7.1 + + 2020 + net472 - - true - bin\2020\ - TRACE;DEBUG;RELEASE2020 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2020 - v4.7.2 + + 2021 + net48 - - true - bin\2021\ - TRACE;DEBUG;RELEASE2021 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2021 - v4.8 + + 2022 + net48 - - true - bin\2022\ - TRACE;DEBUG;RELEASE2022 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2022 - v4.8 + + 2023 + net48 - - true - bin\2023\ - TRACE;DEBUG;RELEASE2023 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2023 - v4.8 - - true - bin\2024\ - TRACE;DEBUG;RELEASE2024 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2024 - v4.8 + + 2024 + net48 + + + 2025 + net8.0-windows + + + + + + - - ..\packages\MvvmLightLibs.5.3.0.0\lib\net45\GalaSoft.MvvmLight.dll - False - - - ..\..\HOK.Feedback\HOK.Feedback\bin\$(RevitVersion)\HOK.Feedback.dll - False - False - - ..\..\HOK.Core\HOK.Core\bin\$(RevitVersion)\HOK.Core.dll - False - False - - - - C:\Program Files\Autodesk\Revit $(RevitVersion)\RevitAPI.dll - $(HOKDepsDirectory)\HOK Addins Deps\Revit\$(RevitVersion)\RevitAPI.dll - False - - - C:\Program Files\Autodesk\Revit $(RevitVersion)\RevitAPIUI.dll - $(HOKDepsDirectory)\HOK Addins Deps\Revit\$(RevitVersion)\RevitAPIUI.dll - False + $(SOURCE_DIR)\_artifacts\$(RevitVersion)\HOK.Core.dll + ..\..\HOK.Core\HOK.Core\bin\x64\$(Configuration)\HOK.Core.dll - - ..\packages\CommonServiceLocator.1.3\lib\portable-net4+sl5+netcore45+wpa81+wp8\Microsoft.Practices.ServiceLocation.dll + + $(SOURCE_DIR)\_artifacts\$(RevitVersion)\HOK.Feedback.dll + ..\..\HOK.Feedback\HOK.Feedback\bin\x64\$(Configuration)\HOK.Feedback.dll + + - - ..\packages\MvvmLightLibs.5.3.0.0\lib\net45\System.Windows.Interactivity.dll - @@ -158,91 +82,42 @@ - - Properties\SharedAssemblyInfo.cs - - - - ImagesView.xaml - - - - - ImportsView.xaml - - - - - LinksManagerView.xaml - - - - - True - True - Resources.resx - - - - StylesView.xaml - - - - - - - - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - - - {09fda7ee-7a4b-4d34-8b22-4ce0af04cce0} - HOK.MissionControl.Core - - - - - - - - ResXFileCodeGenerator - Resources.Designer.cs - + + + PreserveNewest - Designer + - - + + + + + + + + + + + + + + + + + + - - + "powershell.exe" '$(ProjectDir)..\..\_postBuild\codeSigning.ps1' $(TargetPath) - - - - + diff --git a/HOK.MissionControl/HOK.MissionControl.LinksManager/ImagesTab/ImagesViewModel.cs b/HOK.MissionControl/HOK.MissionControl.LinksManager/ImagesTab/ImagesViewModel.cs index 1c3ae1cb..b6ee7872 100644 --- a/HOK.MissionControl/HOK.MissionControl.LinksManager/ImagesTab/ImagesViewModel.cs +++ b/HOK.MissionControl/HOK.MissionControl.LinksManager/ImagesTab/ImagesViewModel.cs @@ -6,14 +6,14 @@ using System.Windows; using System.Windows.Controls; using System.Windows.Interop; -using GalaSoft.MvvmLight; -using GalaSoft.MvvmLight.Command; +using CommunityToolkit.Mvvm; +using CommunityToolkit.Mvvm.Input; using HOK.Core.ElementWrapers; using HOK.Feedback; namespace HOK.MissionControl.LinksManager.ImagesTab { - public class ImagesViewModel : ViewModelBase + public class ImagesViewModel : ObservableRecipient { public IList SelectedRows { get; set; } public ImagesModel Model { get; set; } diff --git a/HOK.MissionControl/HOK.MissionControl.LinksManager/ImportsTab/ImportsViewModel.cs b/HOK.MissionControl/HOK.MissionControl.LinksManager/ImportsTab/ImportsViewModel.cs index d1ea7156..717cdd32 100644 --- a/HOK.MissionControl/HOK.MissionControl.LinksManager/ImportsTab/ImportsViewModel.cs +++ b/HOK.MissionControl/HOK.MissionControl.LinksManager/ImportsTab/ImportsViewModel.cs @@ -6,14 +6,14 @@ using System.Windows; using System.Windows.Controls; using System.Windows.Interop; -using GalaSoft.MvvmLight; -using GalaSoft.MvvmLight.Command; +using CommunityToolkit.Mvvm; +using CommunityToolkit.Mvvm.Input; using HOK.Core.ElementWrapers; using HOK.Feedback; namespace HOK.MissionControl.LinksManager.ImportsTab { - public class ImportsViewModel : ViewModelBase + public class ImportsViewModel : ObservableRecipient { public ImportsModel Model { get; set; } public ObservableCollection Imports { get; set; } diff --git a/HOK.MissionControl/HOK.MissionControl.LinksManager/LinksManagerCommand.cs b/HOK.MissionControl/HOK.MissionControl.LinksManager/LinksManagerCommand.cs index a226c89a..1a90f806 100644 --- a/HOK.MissionControl/HOK.MissionControl.LinksManager/LinksManagerCommand.cs +++ b/HOK.MissionControl/HOK.MissionControl.LinksManager/LinksManagerCommand.cs @@ -7,18 +7,19 @@ using HOK.Core.Utilities; using HOK.MissionControl.Core.Schemas; using HOK.MissionControl.Core.Utils; +using Nice3point.Revit.Toolkit.External; namespace HOK.MissionControl.LinksManager { [Transaction(TransactionMode.Manual)] [Regeneration(RegenerationOption.Manual)] [Journaling(JournalingMode.NoCommandData)] - public class LinksManagerCommand : IExternalCommand + public class LinksManagerCommand : ExternalCommand { - public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements) + public override void Execute() { - var uiApp = commandData.Application; - var doc = uiApp.ActiveUIDocument.Document; + var uiApp = Context.Application; + var doc = Context.ActiveDocument; Log.AppendLog(LogMessageType.INFO, "Started"); try @@ -26,7 +27,7 @@ public Result Execute(ExternalCommandData commandData, ref string message, Eleme // (Konrad) We are gathering information about the addin use. This allows us to // better maintain the most used plug-ins or discontiue the unused ones. AddinUtilities.PublishAddinLog( - new AddinLog("MissionControl-LinksManager", commandData.Application.Application.VersionNumber)); + new AddinLog("MissionControl-LinksManager", Application.VersionNumber)); var viewModel = new LinksManagerViewModel(doc); var view = new LinksManagerView @@ -47,7 +48,6 @@ public Result Execute(ExternalCommandData commandData, ref string message, Eleme } Log.AppendLog(LogMessageType.INFO, "Ended"); - return Result.Succeeded; } } } diff --git a/HOK.MissionControl/HOK.MissionControl.LinksManager/LinksManagerView.xaml b/HOK.MissionControl/HOK.MissionControl.LinksManager/LinksManagerView.xaml index 2bf0879d..53fe4b9d 100644 --- a/HOK.MissionControl/HOK.MissionControl.LinksManager/LinksManagerView.xaml +++ b/HOK.MissionControl/HOK.MissionControl.LinksManager/LinksManagerView.xaml @@ -4,16 +4,16 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" - xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" + xmlns:Behaviors="http://schemas.microsoft.com/xaml/behaviors" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="500" Width="1000" Title="{Binding Title, Mode=OneWay}" Icon="Resources/hoklogo.ico" WindowStartupLocation="CenterOwner" BorderThickness="0,5,0,0" BorderBrush="#E6E3DB" MaxHeight="800" SizeToContent="Height" ResizeMode="NoResize"> - - - - - + + + + + diff --git a/HOK.MissionControl/HOK.MissionControl.LinksManager/LinksManagerViewModel.cs b/HOK.MissionControl/HOK.MissionControl.LinksManager/LinksManagerViewModel.cs index 5e76614f..512bbac9 100644 --- a/HOK.MissionControl/HOK.MissionControl.LinksManager/LinksManagerViewModel.cs +++ b/HOK.MissionControl/HOK.MissionControl.LinksManager/LinksManagerViewModel.cs @@ -3,15 +3,15 @@ using System.Windows.Controls; using System.Windows; using Autodesk.Revit.DB; -using GalaSoft.MvvmLight; -using GalaSoft.MvvmLight.Command; +using CommunityToolkit.Mvvm; +using CommunityToolkit.Mvvm.Input; using HOK.MissionControl.LinksManager.ImagesTab; using HOK.MissionControl.LinksManager.StylesTab; using HOK.MissionControl.LinksManager.ImportsTab; namespace HOK.MissionControl.LinksManager { - public class LinksManagerViewModel : ViewModelBase + public class LinksManagerViewModel : ObservableRecipient { public string Title { get; set; } public ObservableCollection TabItems { get; set; } diff --git a/HOK.MissionControl/HOK.MissionControl.LinksManager/Properties/AssemblyInfo.cs b/HOK.MissionControl/HOK.MissionControl.LinksManager/Properties/AssemblyInfo.cs deleted file mode 100644 index 3d39c48a..00000000 --- a/HOK.MissionControl/HOK.MissionControl.LinksManager/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System.Reflection; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("HOK.MissionControl.LinksManager")] -[assembly: AssemblyDescription("This application allows you to manage the links, imports, and object styles in the model.")] -[assembly: AssemblyProduct("HOK.MissionControl.LinksManager")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("e991eb9a-f941-4d5f-800b-70256741ab0e")] \ No newline at end of file diff --git a/HOK.MissionControl/HOK.MissionControl.LinksManager/StylesTab/StylesViewModel.cs b/HOK.MissionControl/HOK.MissionControl.LinksManager/StylesTab/StylesViewModel.cs index eb01cc0f..3986d0fb 100644 --- a/HOK.MissionControl/HOK.MissionControl.LinksManager/StylesTab/StylesViewModel.cs +++ b/HOK.MissionControl/HOK.MissionControl.LinksManager/StylesTab/StylesViewModel.cs @@ -8,8 +8,8 @@ using System.Reflection; using System.Windows.Data; using System.Windows.Interop; -using GalaSoft.MvvmLight; -using GalaSoft.MvvmLight.Command; +using CommunityToolkit.Mvvm; +using CommunityToolkit.Mvvm.Input; using HOK.Core.ElementWrapers; using HOK.Feedback; @@ -17,7 +17,7 @@ namespace HOK.MissionControl.LinksManager.StylesTab { - public class StylesViewModel : ViewModelBase + public class StylesViewModel : ObservableRecipient { public IList SelectedRows { get; set; } public StylesModel Model { get; set; } @@ -33,7 +33,7 @@ public class StylesViewModel : ViewModelBase public bool Expanded { get { return _expanded; } - set { _expanded = value; RaisePropertyChanged(() => Expanded); } + set { _expanded = value; OnPropertyChanged(nameof(Expanded)); } } public StylesViewModel(StylesModel model) diff --git a/HOK.MissionControl/HOK.MissionControl.StylesManager/AppCommand.cs b/HOK.MissionControl/HOK.MissionControl.StylesManager/AppCommand.cs index b35b587c..7e94c2a9 100644 --- a/HOK.MissionControl/HOK.MissionControl.StylesManager/AppCommand.cs +++ b/HOK.MissionControl/HOK.MissionControl.StylesManager/AppCommand.cs @@ -3,20 +3,21 @@ using System.Reflection; using Autodesk.Revit.UI; using HOK.Core.Utilities; +using Nice3point.Revit.Toolkit.External; namespace HOK.MissionControl.StylesManager { - public class AppCommand : IExternalApplication + public class AppCommand : ExternalApplication { private const string tabName = " HOK "; public static StylesManagerRequestHandler StylesManagerHandler { get; set; } public static ExternalEvent StylesManagerEvent { get; set; } - public Result OnStartup(UIControlledApplication application) + public override void OnStartup() { try { - application.CreateRibbonTab(tabName); + Application.CreateRibbonTab(tabName); } catch { @@ -24,8 +25,8 @@ public Result OnStartup(UIControlledApplication application) } var assembly = Assembly.GetAssembly(GetType()); - var panel = application.GetRibbonPanels(tabName).FirstOrDefault(x => x.Name == "Mission Control") - ?? application.CreateRibbonPanel(tabName, "Mission Control"); + var panel = Application.GetRibbonPanels(tabName).FirstOrDefault(x => x.Name == "Mission Control") + ?? Application.CreateRibbonPanel(tabName, "Mission Control"); var unused = (PushButton)panel.AddItem(new PushButtonData("StylesManager_Command", " Styles " + Environment.NewLine + "Manager", assembly.Location, "HOK.MissionControl.StylesManager.StylesManagerCommand") { @@ -35,13 +36,7 @@ public Result OnStartup(UIControlledApplication application) StylesManagerHandler = new StylesManagerRequestHandler(); StylesManagerEvent = ExternalEvent.Create(StylesManagerHandler); - - return Result.Succeeded; } - public Result OnShutdown(UIControlledApplication application) - { - return Result.Succeeded; - } } } diff --git a/HOK.MissionControl/HOK.MissionControl.StylesManager/HOK.MissionControl.StylesManager.csproj b/HOK.MissionControl/HOK.MissionControl.StylesManager/HOK.MissionControl.StylesManager.csproj index fbec44d0..f61e64ce 100644 --- a/HOK.MissionControl/HOK.MissionControl.StylesManager/HOK.MissionControl.StylesManager.csproj +++ b/HOK.MissionControl/HOK.MissionControl.StylesManager/HOK.MissionControl.StylesManager.csproj @@ -1,155 +1,74 @@ - - - + + - Debug - x64 - {D2C4685D-4A9C-4B59-9C4A-161748710CDF} - Library - Properties - HOK.MissionControl.StylesManager - HOK.MissionControl.StylesManager - 512 - - + true + latest + net8.0-windows + x64 + AnyCPU;x64 + true + disable + true + true + en-US + Debug R19; Debug R20;Debug R21;Debug R22;Debug R23;Debug R24;Debug R25 + $(Configurations);Release R19; Release R20;Release R21;Release R22;Release R23;Release R24;Release R25 + x64 + HOK Revit Add-ins + HOK Group + Copyright © HOK Group 2024 + https://github.com/HOKGroup/HOK-Revit-Addins + https://github.com/HOKGroup/HOK-Revit-Addins + 0.1.0.24 - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - 2023 - v4.8 + + + 2019 + net471 - - pdbonly - true - bin\Release\ - DEBUG;TRACE;RELEASE2016 - prompt - 4 - 2023 - v4.8 + + 2020 + net472 - - true - bin\2018\ - TRACE;DEBUG;RELEASE2018 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2018 - v4.5.2 + + 2021 + net48 - - true - bin\2019\ - TRACE;DEBUG;RELEASE2019 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2019 - v4.7.1 - - - true - bin\2020\ - TRACE;DEBUG;RELEASE2020 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2020 - v4.7.2 + + 2022 + net48 - - true - bin\2021\ - TRACE;DEBUG;RELEASE2021 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2021 - v4.8 + + 2023 + net48 - - true - bin\2022\ - TRACE;DEBUG;RELEASE2022 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2022 - v4.8 + + 2024 + net48 - - true - bin\2023\ - TRACE;DEBUG;RELEASE2023 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2023 - v4.8 - - true - bin\2024\ - TRACE;DEBUG;RELEASE2024 - full - x64 - prompt - MinimumRecommendedRules.ruleset - 2024 - v4.8 + + 2025 + net8.0-windows + + + + - - ..\packages\MvvmLightLibs.5.3.0.0\lib\net45\GalaSoft.MvvmLight.dll - - - ..\packages\MvvmLightLibs.5.3.0.0\lib\net45\GalaSoft.MvvmLight.Extras.dll - - - ..\packages\MvvmLightLibs.5.3.0.0\lib\net45\GalaSoft.MvvmLight.Platform.dll - - - ..\..\HOK.Feedback\HOK.Feedback\bin\$(RevitVersion)\HOK.Feedback.dll - False - False - - ..\..\HOK.Core\HOK.Core\bin\$(RevitVersion)\HOK.Core.dll - False - False + $(SOURCE_DIR)\_artifacts\$(RevitVersion)\HOK.Core.dll + ..\..\HOK.Core\HOK.Core\bin\x64\$(Configuration)\HOK.Core.dll - - ..\packages\CommonServiceLocator.1.3\lib\portable-net4+sl5+netcore45+wpa81+wp8\Microsoft.Practices.ServiceLocation.dll + + $(SOURCE_DIR)\_artifacts\$(RevitVersion)\HOK.Feedback.dll + ..\..\HOK.Feedback\HOK.Feedback\bin\x64\$(Configuration)\HOK.Feedback.dll + + - - C:\Program Files\Autodesk\Revit $(RevitVersion)\RevitAPI.dll - $(HOKDepsDirectory)\HOK Addins Deps\Revit\$(RevitVersion)\RevitAPI.dll - False - - - C:\Program Files\Autodesk\Revit $(RevitVersion)\RevitAPIUI.dll - $(HOKDepsDirectory)\HOK Addins Deps\Revit\$(RevitVersion)\RevitAPIUI.dll - False - - - ..\packages\Expression.Blend.Sdk.1.0.2\lib\net45\System.Windows.Interactivity.dll - @@ -160,101 +79,42 @@ - - Properties\SharedAssemblyInfo.cs - - - - - TextView.xaml - - - - - - DimensionOverridesView.xaml - - - - DimensionsView.xaml - - - - - - - - True - True - Resources.resx - - - - StylesManagerView.xaml - - - - - - - - - - ResXFileCodeGenerator - Resources.Designer.cs - - - - - + + + + PreserveNewest + - - {09FDA7EE-7A4B-4D34-8B22-4CE0AF04CCE0} - HOK.MissionControl.Core - + + + + + + + - - MSBuild:Compile - Designer - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - + + + - - + + + + - - - - - + - - + "powershell.exe" '$(ProjectDir)..\..\_postBuild\codeSigning.ps1' $(TargetPath) - - - - - + diff --git a/HOK.MissionControl/HOK.MissionControl.StylesManager/Properties/AssemblyInfo.cs b/HOK.MissionControl/HOK.MissionControl.StylesManager/Properties/AssemblyInfo.cs deleted file mode 100644 index 1b1f159c..00000000 --- a/HOK.MissionControl/HOK.MissionControl.StylesManager/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System.Reflection; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("HOK.MissionControl.StylesManager")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyProduct("HOK.MissionControl.StylesManager")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("d2c4685d-4a9c-4b59-9c4a-161748710cdf")] diff --git a/HOK.MissionControl/HOK.MissionControl.StylesManager/StylesManagerCommand.cs b/HOK.MissionControl/HOK.MissionControl.StylesManager/StylesManagerCommand.cs index a6a693d2..1aa990f6 100644 --- a/HOK.MissionControl/HOK.MissionControl.StylesManager/StylesManagerCommand.cs +++ b/HOK.MissionControl/HOK.MissionControl.StylesManager/StylesManagerCommand.cs @@ -7,18 +7,19 @@ using HOK.Core.Utilities; using HOK.MissionControl.Core.Schemas; using HOK.MissionControl.Core.Utils; +using Nice3point.Revit.Toolkit.External; namespace HOK.MissionControl.StylesManager { [Transaction(TransactionMode.Manual)] [Regeneration(RegenerationOption.Manual)] [Journaling(JournalingMode.NoCommandData)] - public class StylesManagerCommand : IExternalCommand + public class StylesManagerCommand : ExternalCommand { - public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements) + public override void Execute() { - var uiApp = commandData.Application; - var doc = uiApp.ActiveUIDocument.Document; + var uiApp = Context.Application; + var doc = Context.ActiveDocument; Log.AppendLog(LogMessageType.INFO, "Started"); try @@ -26,7 +27,7 @@ public Result Execute(ExternalCommandData commandData, ref string message, Eleme // (Konrad) We are gathering information about the addin use. This allows us to // better maintain the most used plug-ins or discontiue the unused ones. AddinUtilities.PublishAddinLog( - new AddinLog("MissionControl-StylesManager", commandData.Application.Application.VersionNumber)); + new AddinLog("MissionControl-StylesManager", Application.VersionNumber)); var vm = new StylesManagerViewModel(doc); var v = new StylesManagerView @@ -47,7 +48,6 @@ public Result Execute(ExternalCommandData commandData, ref string message, Eleme } Log.AppendLog(LogMessageType.INFO, "Ended"); - return Result.Succeeded; } } } diff --git a/HOK.MissionControl/HOK.MissionControl.StylesManager/StylesManagerRequestHandler.cs b/HOK.MissionControl/HOK.MissionControl.StylesManager/StylesManagerRequestHandler.cs index a51209b3..5eb7e941 100644 --- a/HOK.MissionControl/HOK.MissionControl.StylesManager/StylesManagerRequestHandler.cs +++ b/HOK.MissionControl/HOK.MissionControl.StylesManager/StylesManagerRequestHandler.cs @@ -6,7 +6,7 @@ using System.Threading; using Autodesk.Revit.DB; using Autodesk.Revit.UI; -using GalaSoft.MvvmLight.Messaging; +using CommunityToolkit.Mvvm.Messaging; using HOK.Core.Utilities; using HOK.Core.WpfUtilities; using HOK.MissionControl.StylesManager.Utilities; @@ -112,7 +112,7 @@ private void ReplaceAndDeleteDimensionTypes(UIApplication app) trans.Commit(); } - Messenger.Default.Send(new DimensionsDeleted { Dimensions = deleted }); + WeakReferenceMessenger.Default.Send(new DimensionsDeleted { Dimensions = deleted }); } /// @@ -168,7 +168,7 @@ private void ReplaceAndDeleteTextStyles(UIApplication app) trans.Commit(); } - Messenger.Default.Send(new TextStylesDeleted { TextStyles = deleted }); + WeakReferenceMessenger.Default.Send(new TextStylesDeleted { TextStyles = deleted }); } /// @@ -219,7 +219,7 @@ private void ClearOverrides(UIApplication app) trans.Commit(); } - Messenger.Default.Send(new OverridesCleared { Dimensions = cleared }); + WeakReferenceMessenger.Default.Send(new OverridesCleared { Dimensions = cleared }); } /// diff --git a/HOK.MissionControl/HOK.MissionControl.StylesManager/StylesManagerView.xaml b/HOK.MissionControl/HOK.MissionControl.StylesManager/StylesManagerView.xaml index ac0fda5b..8d1a4426 100644 --- a/HOK.MissionControl/HOK.MissionControl.StylesManager/StylesManagerView.xaml +++ b/HOK.MissionControl/HOK.MissionControl.StylesManager/StylesManagerView.xaml @@ -4,19 +4,19 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" - xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" + xmlns:Behaviors="http://schemas.microsoft.com/xaml/behaviors" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="500" Width="1000" Title="{Binding Title, Mode=OneWay}" Icon="Resources/hoklogo.ico" WindowStartupLocation="CenterOwner" BorderThickness="0,5,0,0" BorderBrush="#E6E3DB" MaxHeight="800" SizeToContent="Height" ResizeMode="NoResize"> - - - - - - - - + + + + + + + + diff --git a/HOK.MissionControl/HOK.MissionControl.StylesManager/StylesManagerViewModel.cs b/HOK.MissionControl/HOK.MissionControl.StylesManager/StylesManagerViewModel.cs index a67d19f2..2d6389d4 100644 --- a/HOK.MissionControl/HOK.MissionControl.StylesManager/StylesManagerViewModel.cs +++ b/HOK.MissionControl/HOK.MissionControl.StylesManager/StylesManagerViewModel.cs @@ -5,8 +5,8 @@ using System.Windows; using System.Windows.Controls; using Autodesk.Revit.DB; -using GalaSoft.MvvmLight; -using GalaSoft.MvvmLight.Command; +using CommunityToolkit.Mvvm; +using CommunityToolkit.Mvvm.Input; using HOK.MissionControl.StylesManager.DimensionsTab; using HOK.MissionControl.StylesManager.Tabs; @@ -14,7 +14,7 @@ namespace HOK.MissionControl.StylesManager { - public class StylesManagerViewModel : ViewModelBase + public class StylesManagerViewModel : ObservableRecipient { public RelayCommand WindowLoaded { get; set; } public RelayCommand ControlClosing { get; set; } diff --git a/HOK.MissionControl/HOK.MissionControl.StylesManager/Tabs/DimensionOverridesModel.cs b/HOK.MissionControl/HOK.MissionControl.StylesManager/Tabs/DimensionOverridesModel.cs index 87dd4e08..4ed55610 100644 --- a/HOK.MissionControl/HOK.MissionControl.StylesManager/Tabs/DimensionOverridesModel.cs +++ b/HOK.MissionControl/HOK.MissionControl.StylesManager/Tabs/DimensionOverridesModel.cs @@ -114,7 +114,7 @@ public ObservableCollection CollectDimensionOverrides() ? ((View)_doc.GetElement(d.OwnerViewId)).ViewType.ToString() : string.Empty, OwnerViewId = d.OwnerViewId, -#if RELEASE2021 || RELEASE2022 || RELEASE2023 || RELEASE2024 +#if REVIT2021_OR_GREATER ValueString = UnitFormatUtils.Format(units, d.DimensionType.GetSpecTypeId(), (double)d.Value, false), #else ValueString = UnitFormatUtils.Format(units, d.DimensionType.UnitType, (double)d.Value, false, false), @@ -139,7 +139,7 @@ public ObservableCollection CollectDimensionOverrides() ? ((View)_doc.GetElement(d.OwnerViewId)).ViewType.ToString() : string.Empty, OwnerViewId = d.OwnerViewId, -#if RELEASE2021 || RELEASE2022 || RELEASE2023 || RELEASE2024 +#if REVIT2021_OR_GREATER ValueString = UnitFormatUtils.Format(units, d.DimensionType.GetSpecTypeId(), (double)s.Value, false), #else ValueString = UnitFormatUtils.Format(units, d.DimensionType.UnitType, (double)s.Value, false, false), @@ -255,7 +255,7 @@ private bool TryGetValue(string value, out double? result) var verify = Regex.Match(s, @"^[0-9\'\-\/\""\s]*$", RegexOptions.IgnoreCase); if (!verify.Success) return false; -#if RELEASE2021 || RELEASE2022 || RELEASE2023 || RELEASE2024 +#if REVIT2021_OR_GREATER if (!UnitFormatUtils.TryParse(_doc.GetUnits(), SpecTypeId.Length, s, new ValueParsingOptions(), out var second)) return false; diff --git a/HOK.MissionControl/HOK.MissionControl.StylesManager/Tabs/DimensionOverridesView.xaml b/HOK.MissionControl/HOK.MissionControl.StylesManager/Tabs/DimensionOverridesView.xaml index f6d6b8df..1f13c180 100644 --- a/HOK.MissionControl/HOK.MissionControl.StylesManager/Tabs/DimensionOverridesView.xaml +++ b/HOK.MissionControl/HOK.MissionControl.StylesManager/Tabs/DimensionOverridesView.xaml @@ -5,15 +5,15 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:wpfUtilities="clr-namespace:HOK.Core.WpfUtilities;assembly=HOK.Core" - xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" + xmlns:Behaviors="http://schemas.microsoft.com/xaml/behaviors" xmlns:utilities="clr-namespace:HOK.MissionControl.StylesManager.Utilities" mc:Ignorable="d" d:DesignHeight="450" d:DesignWidth="800"> - - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager.AddIn/Windows/MainWindow.xaml.cs b/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager.AddIn/Windows/MainWindow.xaml.cs deleted file mode 100644 index e13ba3ae..00000000 --- a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager.AddIn/Windows/MainWindow.xaml.cs +++ /dev/null @@ -1,156 +0,0 @@ -using Autodesk.Revit.UI; -using HOK.SheetManager.AddIn.Updaters; -using HOK.SheetManager.Classes; -using HOK.SheetManager.Database; -using HOK.SheetManager.Utils; -using System; -using System.Collections.Generic; -using System.Collections.Specialized; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Navigation; -using System.Windows.Shapes; - -namespace HOK.SheetManager.AddIn.Windows -{ - /// - /// Interaction logic for MainWindow.xaml - /// - public partial class MainWindow : Window - { - private AddInViewModel viewModel = null; - - public MainWindow() - { - - InitializeComponent(); - - this.Title = "Sheet Manager - AddIn v." + System.Reflection.Assembly.GetExecutingAssembly().GetName().Version; - - - ProgressManager.progressBar = progressBar; - ProgressManager.statusLabel = statusLable; - } - - private void Window_Loaded(object sender, RoutedEventArgs e) - { - viewModel = this.DataContext as AddInViewModel; - viewModel.RvtSheetData.SheetParameters.CollectionChanged += OnCollectionChanged; - - if (!string.IsNullOrEmpty(viewModel.Configuration.DatabaseFile)) - { - bool opend = viewModel.OpenDatabase(viewModel.Configuration.DatabaseFile); - } - } - - private void AddParameterColumn(SheetParameter parameter) - { - var columnHeaders = from column in dataGridSheets.Columns where null != column.Header select column.Header.ToString(); - try - { - int index = viewModel.RvtSheetData.SheetParameters.IndexOf(parameter); - if (!columnHeaders.Contains(parameter.ParameterName)) - { - //add column - DataGridTextColumn txtColumn = new DataGridTextColumn(); - txtColumn.Header = parameter.ParameterName; - txtColumn.Binding = new Binding("SheetParameters[" + parameter.ParameterId + "].ParameterValue"); - dataGridSheets.Columns.Add(txtColumn); - } - } - catch (Exception ex) - { - string message = ex.Message; - } - } - - - private void OnCollectionChanged(object sender, NotifyCollectionChangedEventArgs e) - { - try - { - var columnHeaders = from column in dataGridSheets.Columns where null!= column.Header select column.Header.ToString(); - if (e.Action == NotifyCollectionChangedAction.Reset && dataGridSheets.Columns.Count > 4) - { - for (int i = dataGridSheets.Columns.Count - 1; i > 3; i--) - { - dataGridSheets.Columns.RemoveAt(i); - } - } - if (e.NewItems != null && columnHeaders.Count() > 0) - { - foreach (object item in e.NewItems) - { - SheetParameter parameter = item as SheetParameter; - AddParameterColumn(parameter); - } - } - if (e.OldItems != null) - { - foreach (object item in e.OldItems) - { - SheetParameter parameter = item as SheetParameter; - if (columnHeaders.Contains(parameter.ParameterName)) - { - //remove column - var columnFound = from column in dataGridSheets.Columns where column.Header.ToString() == parameter.ParameterName select column; - if (columnFound.Count() > 0) - { - dataGridSheets.Columns.Remove(columnFound.First()); - } - } - } - } - } - catch (Exception ex) - { - string message = ex.Message; - } - } - - private void Window_Drop(object sender, DragEventArgs e) - { - try - { - if (e.Data.GetDataPresent(DataFormats.FileDrop)) - { - string[] files = (string[])e.Data.GetData(DataFormats.FileDrop); - foreach (string file in files) - { - string fileExtension = System.IO.Path.GetExtension(file); - if (fileExtension.Contains("sqlite")) - { - bool opened = viewModel.OpenDatabase(file); - break; - } - - } - } - } - catch (Exception ex) - { - MessageBox.Show("Failed to drop files.\n" + ex.Message, "File Drop", MessageBoxButton.OK, MessageBoxImage.Warning); - } - } - - private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e) - { - try - { - - } - catch(Exception ex) - { - MessageBox.Show("Failed to close Sheet Manager AddIn.\n" + ex.Message, "Window Closing", MessageBoxButton.OK, MessageBoxImage.Warning); - } - } - } -} diff --git a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager.AddIn/Windows/MessageWindow.xaml b/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager.AddIn/Windows/MessageWindow.xaml deleted file mode 100644 index 879e6cc3..00000000 --- a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager.AddIn/Windows/MessageWindow.xaml +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/EditorCommandPanel.xaml.cs b/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/EditorCommandPanel.xaml.cs deleted file mode 100644 index f2b60da3..00000000 --- a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/EditorCommandPanel.xaml.cs +++ /dev/null @@ -1,122 +0,0 @@ -using HOK.SheetManager.Classes; -using HOK.SheetManager.Database; -using HOK.SheetManager.Utils; -using System; -using System.Collections.Generic; -using System.Collections.Specialized; -using System.ComponentModel; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Navigation; -using System.Windows.Shapes; - -namespace HOK.SheetManager.UserControls -{ - /// - /// Interaction logic for UserControl1.xaml - /// - public partial class EditorCommandPanel : UserControl - { - private EditorViewModel viewModel = null; - - public EditorCommandPanel() - { - InitializeComponent(); - ProgressManager.progressBar = progressBar; - ProgressManager.statusLabel = statusLable; - } - - private void UserControl_Loaded(object sender, RoutedEventArgs e) - { - viewModel = this.DataContext as EditorViewModel; - viewModel.RvtSheetData.SheetParameters.CollectionChanged += OnCollectionChanged; - } - - private void OnCollectionChanged(object sender, NotifyCollectionChangedEventArgs e) - { - try - { - var columnHeaders = from column in dataGridSheets.Columns where null!=column.Header select column.Header.ToString(); - List columnNames = columnHeaders.ToList(); - - if (e.NewItems != null && columnHeaders.Count() > 0) - { - foreach (object item in e.NewItems) - { - SheetParameter parameter = item as SheetParameter; - int index = viewModel.RvtSheetData.SheetParameters.IndexOf(parameter); - if (!columnNames.Contains(parameter.ParameterName)) - { - //add column - DataGridTextColumn txtColumn = new DataGridTextColumn(); - txtColumn.Header = parameter.ParameterName; - txtColumn.Binding = new Binding("SheetParameters[" + parameter.ParameterId + "].ParameterValue"); - dataGridSheets.Columns.Insert(index + 3, txtColumn); - } - } - } - if (e.OldItems != null) - { - foreach (object item in e.OldItems) - { - SheetParameter parameter = item as SheetParameter; - if (columnNames.Contains(parameter.ParameterName)) - { - //remove column - var columnFound = from column in dataGridSheets.Columns where column.Header.ToString() == parameter.ParameterName select column; - if (columnFound.Count() > 0) - { - dataGridSheets.Columns.Remove(columnFound.First()); - } - } - } - } - } - catch (Exception ex) - { - string message = ex.Message; - } - } - - private void UserControl_Drop(object sender, DragEventArgs e) - { - try - { - if (e.Data.GetDataPresent(DataFormats.FileDrop)) - { - string[] files = (string[])e.Data.GetData(DataFormats.FileDrop); - foreach (string file in files) - { - string fileExtension = System.IO.Path.GetExtension(file); - if (fileExtension.Contains("sqlite")) - { - viewModel.DBFile = file; - viewModel.RvtSheetData = SheetDataReader.ReadSheetDatabase(file, viewModel.RvtSheetData); - viewModel.RvtSheetData.SelectedDisciplineIndex = 0; - viewModel.DatabaseOpened = true; - viewModel.StatusText = file; - - bool opened = SheetDataWriter.OpenDatabase(file); - break; - } - - } - } - } - catch (Exception ex) - { - MessageBox.Show("Failed to drop files.\n" + ex.Message, "File Drop", MessageBoxButton.OK, MessageBoxImage.Warning); - } - } - - - } -} diff --git a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/EditorViewModel.cs b/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/EditorViewModel.cs deleted file mode 100644 index ca6b3666..00000000 --- a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/EditorViewModel.cs +++ /dev/null @@ -1,403 +0,0 @@ -using HOK.SheetManager.Classes; -using HOK.SheetManager.Database; -using HOK.SheetManager.Utils; -using HOK.SheetManager.Windows.Editor; -using Microsoft.Win32; -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Diagnostics; -using System.IO; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; -using System.Windows.Input; - -namespace HOK.SheetManager.UserControls -{ - public class EditorViewModel : INotifyPropertyChanged - { - private string dbFile = ""; - private RevitSheetData rvtSheetData = new RevitSheetData(); - private RevitSheet selectedSheet = null; - - private bool databaseOpened = false; - private string statusText = "Ready"; - - //commands - private RelayCommand openDBCommand; - private RelayCommand createDBCommand; - private RelayCommand reloadDBCommand; - private RelayCommand projectCommand; - private RelayCommand disciplineCommand; - private RelayCommand sheetCommand; - private RelayCommand parameterCommand; - private RelayCommand viewCommand; - private RelayCommand revisionCommand; - private RelayCommand revisionOnSheetCommand; - private RelayCommand renameCommand; - private RelayCommand helpCommand; - private RelayCommand addViewCommand; - private RelayCommand removeViewCommand; - private RelayCommand addRevisionCommand; - private RelayCommand removeRevisionCommand; - - public string DBFile { get { return dbFile; } set { dbFile = value; NotifyPropertyChanged("DatabaseOpened"); } } - public RevitSheetData RvtSheetData { get { return rvtSheetData; } set { rvtSheetData = value; NotifyPropertyChanged("RvtSheetData"); } } - public RevitSheet SelectedSheet { get { return selectedSheet; } set { selectedSheet = value; NotifyPropertyChanged("SelectedSheet"); } } - public bool DatabaseOpened { get { return databaseOpened; } set { databaseOpened = value; NotifyPropertyChanged("DatabaseOpened"); } } - public string StatusText { get { return statusText; } set { statusText = value; NotifyPropertyChanged("StatusText"); } } - - public ICommand OpenDBCommand { get { return openDBCommand; } } - public ICommand CreateDBCommand { get { return createDBCommand; } } - public ICommand ReloadDBCommand { get { return reloadDBCommand; } } - public ICommand ProjectCommand { get { return projectCommand; } } - public ICommand DisciplineCommand { get { return disciplineCommand; } } - public ICommand SheetCommand { get { return sheetCommand; } } - public ICommand ParameterCommand { get { return parameterCommand; } } - public ICommand ViewCommand { get { return viewCommand; } } - public ICommand RevisionCommand { get { return revisionCommand; } } - public ICommand RevisionOnSheetCommand { get { return revisionOnSheetCommand; } } - public ICommand RenameCommand { get { return renameCommand; } } - public ICommand HelpCommand { get { return helpCommand; } } - public ICommand AddViewCommand { get { return addViewCommand; } } - public ICommand RemoveViewCommand { get { return removeViewCommand; } } - public ICommand AddRevisionCommand { get { return addRevisionCommand; } } - public ICommand RemoveRevisionCommand { get { return removeRevisionCommand; } } - - - public EditorViewModel() - { - openDBCommand = new RelayCommand(param => this.OpenDBExecuted(param)); - createDBCommand = new RelayCommand(param => this.CreateDBExecuted(param)); - reloadDBCommand = new RelayCommand(param => this.ReloadDBExecuted(param)); - projectCommand = new RelayCommand(param => this.ProjectExecuted(param)); - disciplineCommand = new RelayCommand(param => this.DisciplineExecuted(param)); - sheetCommand = new RelayCommand(param => this.SheetExecuted(param)); - parameterCommand = new RelayCommand(param => this.ParameterExecuted(param)); - viewCommand = new RelayCommand(param => this.ViewExecuted(param)); - revisionCommand = new RelayCommand(param => this.RevisionExecuted(param)); - revisionOnSheetCommand = new RelayCommand(param => this.RevisionOnSheetExecuted(param)); - renameCommand = new RelayCommand(param => this.RenameExecuted(param)); - helpCommand = new RelayCommand(param => this.HelpExecuted(param)); - addViewCommand = new RelayCommand(param => this.AddViewExecuted(param)); - removeViewCommand = new RelayCommand(param => this.RemoveViewExecuted(param)); - addRevisionCommand = new RelayCommand(param => this.AddRevisionExecuted(param)); - removeRevisionCommand = new RelayCommand(param => this.RemoveRevisionExecuted(param)); - } - - public void OpenDBExecuted(object param) - { - try - { - OpenFileDialog openDialog = new OpenFileDialog(); - openDialog.Title = "Open a Sheet Database File"; - openDialog.DefaultExt = ".sqlite"; - openDialog.Filter = "SQLITE File (.sqlite)|*.sqlite"; - if ((bool)openDialog.ShowDialog()) - { - this.DBFile= openDialog.FileName; - this.RvtSheetData = SheetDataReader.ReadSheetDatabase(dbFile, rvtSheetData); - this.RvtSheetData.SelectedDisciplineIndex = 0; - this.DatabaseOpened = true; - this.StatusText = dbFile; - - bool opened = SheetDataWriter.OpenDatabase(dbFile); - } - } - catch (Exception ex) - { - MessageBox.Show("Failed to open the database file.\n"+ex.Message, "Open Database File", MessageBoxButton.OK, MessageBoxImage.Warning); - } - } - - public void CreateDBExecuted(object param) - { - try - { - SaveFileDialog saveDialog = new SaveFileDialog(); - saveDialog.Title = "Create a New Sheet Data File"; - saveDialog.DefaultExt = ".sqlite"; - saveDialog.Filter = "SQLITE File (.sqlite)|*.sqlite"; - if ((bool)saveDialog.ShowDialog()) - { - this.DBFile = saveDialog.FileName; - bool created = SheetDataWriter.CreateDatabase(dbFile); - if (created) - { - this.RvtSheetData = SheetDataReader.ReadSheetDatabase(dbFile, rvtSheetData); - this.RvtSheetData.SelectedDisciplineIndex = 0; - this.DatabaseOpened = true; - this.StatusText = dbFile; - } - } - } - catch (Exception ex) - { - MessageBox.Show("Failed to create the database file.\n" + ex.Message, "Create Database File", MessageBoxButton.OK, MessageBoxImage.Warning); - } - } - - public void ReloadDBExecuted(object param) - { - try - { - this.RvtSheetData = SheetDataReader.ReadSheetDatabase(dbFile, rvtSheetData); - this.RvtSheetData.SelectedDisciplineIndex = 0; - } - catch (Exception ex) - { - MessageBox.Show("Failed to reload the database file.\n" + ex.Message, "Reload Database File", MessageBoxButton.OK, MessageBoxImage.Warning); - } - } - - public void ProjectExecuted(object param) - { - try - { - ProjectWindow projectWindow = new ProjectWindow(); - projectWindow.DataContext = this.RvtSheetData; - if ((bool)projectWindow.ShowDialog()) - { - - } - } - catch (Exception ex) - { - MessageBox.Show("Failed to open project items.\n"+ex.Message, "Open Project Info", MessageBoxButton.OK, MessageBoxImage.Warning); - } - } - - public void DisciplineExecuted(object param) - { - try - { - DisciplineWindow disciplineWindow = new DisciplineWindow(); - disciplineWindow.DataContext = this.RvtSheetData; - if ((bool)disciplineWindow.ShowDialog()) - { - - } - } - catch (Exception ex) - { - MessageBox.Show("Failed to open discipline items.\n" + ex.Message, "Open Discipline Info", MessageBoxButton.OK, MessageBoxImage.Warning); - } - } - - public void SheetExecuted(object param) - { - try - { - SheetWindow sheetWindow = new SheetWindow(); - sheetWindow.DataContext = this.RvtSheetData; - if ((bool)sheetWindow.ShowDialog()) - { - - } - } - catch (Exception ex) - { - MessageBox.Show("Failed to open sheet items.\n" + ex.Message, "Open Sheet Info", MessageBoxButton.OK, MessageBoxImage.Warning); - } - } - - public void ParameterExecuted(object param) - { - try - { - ParameterWindow paramWindow = new ParameterWindow(); - paramWindow.DataContext = this.RvtSheetData; - if ((bool)paramWindow.ShowDialog()) - { - } - } - catch (Exception ex) - { - MessageBox.Show("Failed to open parameter info.\n" + ex.Message, "Open Parameter Info", MessageBoxButton.OK, MessageBoxImage.Warning); - } - } - - public void ViewExecuted(object param) - { - try - { - ViewWindow viewWindow = new ViewWindow(); - viewWindow.DataContext = this.RvtSheetData; - if ((bool)viewWindow.ShowDialog()) - { - RefreshSelectedSheet(); - } - } - catch (Exception ex) - { - MessageBox.Show("Failed to open view items.\n"+ex.Message, "Open View Info", MessageBoxButton.OK, MessageBoxImage.Warning); - } - - } - - public void RevisionExecuted(object param) - { - try - { - RevisionWindow revisionWindow = new RevisionWindow(); - revisionWindow.DataContext = this.RvtSheetData; - if ((bool)revisionWindow.ShowDialog()) - { - } - } - catch (Exception ex) - { - MessageBox.Show("Failed to open revision items.\n" + ex.Message, "Open Revision Info", MessageBoxButton.OK, MessageBoxImage.Warning); - } - } - - public void RevisionOnSheetExecuted(object param) - { - try - { - MatrixWindow matrixWindow = new MatrixWindow(); - matrixWindow.DataContext = this.RvtSheetData; - if ((bool)matrixWindow.ShowDialog()) - { - RefreshSelectedSheet(); - } - } - catch (Exception ex) - { - MessageBox.Show("Failed to open Revision On Sheet items.\n" + ex.Message, "Open Revision On Sheet", MessageBoxButton.OK, MessageBoxImage.Warning); - } - } - - public void RenameExecuted(object param) - { - try - { - ItemMapperWindow mapperWindow = new ItemMapperWindow(); - mapperWindow.DataContext = this.RvtSheetData; - if ((bool)mapperWindow.ShowDialog()) - { - } - } - catch (Exception ex) - { - string message = ex.Message; - } - } - - public void HelpExecuted(object param) - { - try - { - string helpFile = @"V:\RVT-Data\HOK Program\Documentation\SheetManagerTools_Instruction.pdf"; - if (File.Exists(helpFile)) - { - Process.Start(helpFile); - } - } - catch (Exception ex) - { - string message = ex.Message; - } - } - - public void AddViewExecuted(object param) - { - try - { - if (null != selectedSheet) - { - ItemWindow itemWindow = new ItemWindow(AddItemType.Views, selectedSheet); - itemWindow.DataContext = this.RvtSheetData; - if ((bool)itemWindow.ShowDialog()) - { - RefreshSelectedSheet(); - } - } - - } - catch (Exception ex) - { - string message = ex.Message; - } - } - - public void RemoveViewExecuted(object param) - { - try - { - if (null != param) - { - RevitView selectedView = param as RevitView; - int index = rvtSheetData.Views.IndexOf(selectedView); - this.RvtSheetData.Views[index].Sheet = new RevitSheet(); - bool dbUpdated = SheetDataWriter.UpdateViewOnSheet(Guid.Empty, selectedView.Id); - - RefreshSelectedSheet(); - } - } - catch (Exception ex) - { - string message = ex.Message; - } - } - - public void AddRevisionExecuted(object param) - { - try - { - if (null != selectedSheet) - { - ItemWindow itemWindow = new ItemWindow(AddItemType.Revisions, selectedSheet); - itemWindow.DataContext = this.RvtSheetData; - if ((bool)itemWindow.ShowDialog()) - { - RefreshSelectedSheet(); - } - } - } - catch (Exception ex) - { - string message = ex.Message; - } - } - - public void RemoveRevisionExecuted(object param) - { - try - { - if (null != param && null!=selectedSheet) - { - RevitRevision selectedRevision = param as RevitRevision; - int sheetIndex = rvtSheetData.Sheets.IndexOf(selectedSheet); - this.RvtSheetData.Sheets[sheetIndex].SheetRevisions[selectedRevision.Id].Include = false; - bool dbUpdated = SheetDataWriter.ChangeRevisionOnSheet(rvtSheetData.Sheets[sheetIndex].SheetRevisions[selectedRevision.Id], CommandType.UPDATE); - - RefreshSelectedSheet(); - } - } - catch (Exception ex) - { - string message = ex.Message; - } - } - - private void RefreshSelectedSheet() - { - RevitSheet tempSheet = selectedSheet; - this.SelectedSheet = null; - this.SelectedSheet = tempSheet; - } - - public event PropertyChangedEventHandler PropertyChanged; - private void NotifyPropertyChanged(String info) - { - if (PropertyChanged != null) - { - PropertyChanged(this, new PropertyChangedEventArgs(info)); - } - } - - } -} diff --git a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/add-database.png b/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/add-database.png deleted file mode 100644 index a4df3faf..00000000 Binary files a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/add-database.png and /dev/null differ diff --git a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/cloud.png b/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/cloud.png deleted file mode 100644 index 982300c3..00000000 Binary files a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/cloud.png and /dev/null differ diff --git a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/down.png b/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/down.png deleted file mode 100644 index cc595179..00000000 Binary files a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/down.png and /dev/null differ diff --git a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/edit.png b/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/edit.png deleted file mode 100644 index 493b7dd7..00000000 Binary files a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/edit.png and /dev/null differ diff --git a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/help.png b/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/help.png deleted file mode 100644 index 2ceff6f4..00000000 Binary files a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/help.png and /dev/null differ diff --git a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/link.png b/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/link.png deleted file mode 100644 index b993dea9..00000000 Binary files a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/link.png and /dev/null differ diff --git a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/parameter.png b/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/parameter.png deleted file mode 100644 index 5388fc49..00000000 Binary files a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/parameter.png and /dev/null differ diff --git a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/refresh.png b/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/refresh.png deleted file mode 100644 index f0c504ca..00000000 Binary files a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/refresh.png and /dev/null differ diff --git a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/remove.png b/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/remove.png deleted file mode 100644 index 47ddab5f..00000000 Binary files a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/remove.png and /dev/null differ diff --git a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/search-database.png b/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/search-database.png deleted file mode 100644 index ff5c2a07..00000000 Binary files a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/search-database.png and /dev/null differ diff --git a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/tables-edit.png b/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/tables-edit.png deleted file mode 100644 index 60fa7e8c..00000000 Binary files a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/tables-edit.png and /dev/null differ diff --git a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/tables.png b/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/tables.png deleted file mode 100644 index 4b61ef02..00000000 Binary files a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/tables.png and /dev/null differ diff --git a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/tag.png b/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/tag.png deleted file mode 100644 index 87cc3122..00000000 Binary files a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/tag.png and /dev/null differ diff --git a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/view.png b/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/view.png deleted file mode 100644 index f3b8f3ed..00000000 Binary files a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/UserControls/Images/view.png and /dev/null differ diff --git a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/Utils/DataGridUtils.cs b/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/Utils/DataGridUtils.cs deleted file mode 100644 index 2c6bd386..00000000 --- a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/Utils/DataGridUtils.cs +++ /dev/null @@ -1,596 +0,0 @@ -using HOK.SheetManager.Classes; -using HOK.SheetManager.Database; -using System; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Data; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Controls.Primitives; -using System.Windows.Media; - -namespace HOK.SheetManager.Utils -{ - public static class DataGridUtils - { - public static T FindVisualChild(Visual parent) where T : Visual - { - T child = default(T); - try - { - int numVisuals = VisualTreeHelper.GetChildrenCount(parent); - for (int i = 0; i < numVisuals; i++) - { - Visual v = (Visual)VisualTreeHelper.GetChild(parent, i); - child = v as T; - if (child == null) - { - child = FindVisualChild(v); - } - if (child != null) - { - break; - } - } - } - catch (Exception ex) - { - string message = ex.Message; - } - return child; - } - - public static T FindVisualParent(UIElement element) where T : UIElement - { - try - { - UIElement parent = element; - while (parent != null) - { - T correctlyTyped = parent as T; - if (correctlyTyped != null) - { - return correctlyTyped; - } - - parent = VisualTreeHelper.GetParent(parent) as UIElement; - } - } - catch (Exception ex) - { - string message = ex.Message; - } - return null; - } - - public static void FindDragSource(DataGrid datagrid, IList selectedCells, ref CellCopyInfo copyInfo) - { - try - { - List bindingItems = datagrid.ItemsSource.Cast().ToList(); - - foreach (DataGridCellInfo cellInfo in selectedCells) - { - int columnIndex = cellInfo.Column.DisplayIndex; - if (copyInfo.ColumnSourceStartIndex == -1 && copyInfo.ColumnSourceEndIndex == -1) - { - copyInfo.ColumnSourceStartIndex = columnIndex; - copyInfo.ColumnSourceEndIndex = columnIndex; - } - else if (columnIndex < copyInfo.ColumnSourceStartIndex) - { - copyInfo.ColumnSourceStartIndex = columnIndex; - } - else if (columnIndex > copyInfo.ColumnSourceEndIndex) - { - copyInfo.ColumnSourceEndIndex = columnIndex; - } - - int rowIndex = bindingItems.IndexOf(cellInfo.Item); - if (rowIndex > -1) - { - if (copyInfo.RowSourceStartIndex == -1 && copyInfo.RowSourceEndIndex == -1) - { - copyInfo.RowSourceStartIndex = rowIndex; - copyInfo.RowSourceEndIndex = rowIndex; - } - else if (rowIndex < copyInfo.RowSourceStartIndex) - { - copyInfo.RowSourceStartIndex = rowIndex; - } - else if (rowIndex > copyInfo.RowSourceEndIndex) - { - copyInfo.RowSourceEndIndex = rowIndex; - } - } - } - - copyInfo.MultipleCells = (copyInfo.RowSourceStartIndex != copyInfo.RowSourceEndIndex) ? true : false; - } - catch (Exception ex) - { - string message = ex.Message; - } - } - - public static void PaintDragCells(DataGrid datagrid, CellCopyInfo copyInfo, bool dragActive) - { - try - { - for (int i = 0; i < datagrid.Items.Count; i++) - { - for (int j = 0; j < datagrid.Columns.Count; j++) - { - DataGridCell cell = GetCell(datagrid, i, j); - if (null != cell) - { - TextBlock textBlock = FindVisualChild(cell); - if (null!= textBlock && dragActive) - { - if (j >= copyInfo.ColumnSourceStartIndex && j <= copyInfo.ColumnSourceEndIndex && i > copyInfo.RowSourceEndIndex && i <= copyInfo.RowTargetEndIndex) - { - textBlock.Background = Brushes.AliceBlue; - } - else - { - textBlock.Background = null; - } - } - else - { - textBlock.Background = null; - } - } - } - } - } - catch (Exception ex) - { - string message = ex.Message; - } - } - - public static bool CopyRowItems(DataGrid datagrid, CellCopyInfo copyInfo) - { - bool copied = false; - try - { - List bindingItems = datagrid.ItemsSource.Cast().ToList(); - List columnNames = (from column in datagrid.Columns select column.Header.ToString()).ToList(); - Dictionary numericSteps = FindNumericStep(datagrid, copyInfo); - - int copiedRow = 0; - int numSource = copyInfo.RowSourceEndIndex - copyInfo.RowSourceStartIndex + 1; - object lastSourceItem = bindingItems[copyInfo.RowSourceEndIndex]; - - for (int i = copyInfo.RowSourceEndIndex + 1; i < copyInfo.RowTargetEndIndex + 1; i++) - { - if (i == bindingItems.Count) { break; } - - object targetItem = bindingItems[i]; - int addIndex = copiedRow % numSource; - int sourceIndex = copyInfo.RowSourceStartIndex + addIndex; - object sourceItem = bindingItems[sourceIndex]; - - for (int j = copyInfo.ColumnSourceStartIndex; j < copyInfo.ColumnSourceEndIndex + 1; j++) - { - if (j CleanUpItemSource(DataGrid datagrid) - { - List bindingItems = datagrid.ItemsSource.Cast().ToList(); - try - { - List columnNames = (from column in datagrid.Columns select column.Header.ToString()).ToList(); - for (int i = bindingItems.Count - 1; i > -1; i--) - { - //finding empty items - object item = bindingItems[i]; - if (IsNewItem(item)) - { - bool hasValue = false; - foreach (string columnName in columnNames) - { - object value = GetPropertyValue(item, columnName); - if (!string.IsNullOrEmpty(value.ToString())) - { - hasValue = true; - break; - } - } - if (!hasValue) - { - bindingItems.RemoveAt(i); - } - } - } - } - catch (Exception ex) - { - string message = ex.Message; - } - return bindingItems; - } - - private static bool IsNewItem(object item) - { - bool isNewItem = false; - try - { - if (item.GetType() == typeof(RevitItemMapper)) - { - RevitItemMapper replaceItem = item as RevitItemMapper; - if (replaceItem.ItemId == Guid.Empty) - { - isNewItem = true; - } - } - } - catch (Exception ex) - { - string message = ex.Message; - } - return isNewItem; - } - - private static Dictionary FindNumericStep(DataGrid datagrid, CellCopyInfo copyInfo) - { - Dictionary steps = new Dictionary(); - try - { - List bindingItems = datagrid.ItemsSource.Cast().ToList(); - List columnNames = (from column in datagrid.Columns select column.Header.ToString()).ToList(); - - if (copyInfo.MultipleCells) - { - for (int j = copyInfo.ColumnSourceStartIndex; j < copyInfo.ColumnSourceEndIndex + 1; j++) - { - double step = 0; - for (int i = copyInfo.RowSourceStartIndex; i < copyInfo.RowSourceEndIndex; i++) - { - object currentValue = GetPropertyValue(bindingItems[i], columnNames[j]); - double currentSuffix = 0; - bool currentSuffixFound = GetSuffix(currentValue, out currentSuffix); - - object nextValue = GetPropertyValue(bindingItems[i + 1], columnNames[j]); - double nextSuffix = 0; - bool nextSuffixFound = GetSuffix(nextValue, out nextSuffix); - - if (currentSuffixFound && nextSuffixFound) - { - double tempStep = nextSuffix - currentSuffix; - if (step == 0) { step = tempStep; } - else if (step != tempStep) { break; } - } - else - { - break; - } - - } - if (step != 0) - { - steps.Add(j, step); - } - } - } - else - { - for (int j = copyInfo.ColumnSourceStartIndex; j < copyInfo.ColumnSourceEndIndex + 1; j++) - { - object value = GetPropertyValue(bindingItems[copyInfo.RowSourceStartIndex], columnNames[j]); - double suffix = 0; - bool suffixFound = GetSuffix(value, out suffix); - if (suffixFound) - { - steps.Add(j, 1); - } - } - } - } - catch (Exception ex) - { - string message = ex.Message; - } - return steps; - } - - public static bool GetSuffix(object value, out double suffix) - { - bool suffixFound = false; - suffix = 0; - try - { - if (value.GetType() == typeof(string)) - { - string suffixStr = new string(value.ToString().Reverse().TakeWhile(char.IsDigit).Reverse().ToArray()); - if (!string.IsNullOrEmpty(suffixStr)) - { - if (double.TryParse(suffixStr, out suffix)) - { - suffixFound = true; - } - } - } - else if (value.GetType() == typeof(double)) - { - suffix = (double)value; - suffixFound = true; - } - else if (value.GetType() == typeof(int)) - { - suffix = (double)value; - suffixFound = true; - } - } - catch (Exception ex) - { - string message = ex.Message; - } - return suffixFound; - } - - public static DataGridCell GetCell(DataGrid dataGrid, int row, int column) - { - try - { - DataGridRow rowContainer = GetRow(dataGrid, row); - - if (rowContainer != null) - { - DataGridCellsPresenter presenter = FindVisualChild(rowContainer); - DataGridCell cell = (DataGridCell)presenter.ItemContainerGenerator.ContainerFromIndex(column); - if (cell == null) - { - dataGrid.ScrollIntoView(rowContainer, dataGrid.Columns[column]); - cell = (DataGridCell)presenter.ItemContainerGenerator.ContainerFromIndex(column); - } - return cell; - } - } - catch (Exception ex) - { - string message = ex.Message; - } - return null; - } - - public static DataGridRow GetRow(DataGrid dataGrid, int index) - { - try - { - DataGridRow row = (DataGridRow)dataGrid.ItemContainerGenerator.ContainerFromIndex(index); - if (row == null) - { - dataGrid.UpdateLayout(); - dataGrid.ScrollIntoView(dataGrid.Items[index]); - row = (DataGridRow)dataGrid.ItemContainerGenerator.ContainerFromIndex(index); - } - return row; - } - catch (Exception ex) - { - string message = ex.Message; - } - return null; - } - - public static DataGridCell GetDataGridCell(DataGridCellInfo cellInfo) - { - DataGridCell cell = null; - try - { - if (cellInfo.IsValid) - { - FrameworkElement cellContent = cellInfo.Column.GetCellContent(cellInfo.Item); - if (null != cellContent) - { - cell = cellContent.Parent as DataGridCell; - } - } - } - catch (Exception ex) - { - string message = ex.Message; - } - return cell; - } - - public static object GetPropertyValue(object item, string propertyName) - { - object value = null; - try - { - if (item.GetType() == typeof(RevitSheet)) - { - RevitSheet sheet = item as RevitSheet; - switch (propertyName) - { - case "Sheet Number": - value = sheet.Number; - break; - case "Sheet Name": - value = sheet.Name; - break; - case "Discipline": - value = sheet.DisciplineObj; - break; - default: - var paramValueFound = from paramVal in sheet.SheetParameters.Values where paramVal.Parameter.ParameterName == propertyName select paramVal; - if (paramValueFound.Count() > 0) - { - SheetParameterValue paramValue = paramValueFound.First(); - value = paramValue.ParameterValue; - } - break; - - } - } - else - { - value = item.GetType().GetProperty(propertyName).GetValue(item, null); - } - - } - catch (Exception ex) - { - string message = ex.Message; - } - return value; - } - - public static object SetPropertyValue(object item, string propertyName, object value) - { - object updatedItem = item; - try - { - if (updatedItem.GetType() == typeof(RevitSheet)) - { - switch (propertyName) - { - case "Sheet Number": - (updatedItem as RevitSheet).Number = value.ToString(); - break; - case "Sheet Name": - (updatedItem as RevitSheet).Name = value.ToString(); - break; - case "Discipline": - (updatedItem as RevitSheet).DisciplineObj = value as Discipline; - break; - default: - RevitSheet sheet = updatedItem as RevitSheet; - var paramIdFound = from paramVal in sheet.SheetParameters.Values where paramVal.Parameter.ParameterName == propertyName select paramVal.Parameter.ParameterId; - if (paramIdFound.Count() > 0) - { - Guid paramId = paramIdFound.First(); - if ((updatedItem as RevitSheet).SheetParameters.ContainsKey(paramId)) - { - (updatedItem as RevitSheet).SheetParameters[paramId].ParameterValue = value.ToString(); - } - } - break; - } - } - else - { - updatedItem.GetType().GetProperty(propertyName).SetValue(updatedItem, value); - } - } - catch (Exception ex) - { - string message = ex.Message; - } - return updatedItem; - } - - private static bool UpdateDatabaseItem(object item, string propertyName, object propertyValue) - { - bool databaseUpdated = false; - try - { - if (item.GetType() == typeof(RevitSheet)) - { - RevitSheet sheet = item as RevitSheet; - switch (propertyName) - { - case "Sheet Number": - databaseUpdated = SheetDataWriter.ChangeSheetItem(sheet.Id.ToString(), propertyName, propertyValue.ToString()); - break; - case "Sheet Name": - databaseUpdated = SheetDataWriter.ChangeSheetItem(sheet.Id.ToString(), propertyName, propertyValue.ToString()); - break; - case "Discipline": - Discipline discipline = propertyValue as Discipline; - if (null != discipline) - { - databaseUpdated = SheetDataWriter.ChangeSheetItem(sheet.Id.ToString(), propertyName, discipline.Id.ToString()); - } - break; - default: - var paramValueFound = from paramValue in sheet.SheetParameters.Values where paramValue.Parameter.ParameterName == propertyName select paramValue; - if (paramValueFound.Count() > 0) - { - SheetParameterValue paramValue = paramValueFound.First(); - paramValue.ParameterValue = propertyValue.ToString(); - databaseUpdated = SheetDataWriter.ChangeSheetParameterValue(paramValue, HOK.SheetManager.Database.CommandType.UPDATE); - } - break; - } - } - } - catch (Exception ex) - { - string message = ex.Message; - } - return databaseUpdated; - } - - } - - public class CellCopyInfo - { - private bool multipleCells = false; - private int rowSourceStartIndex = -1; - private int rowSourceEndIndex = -1; - private int rowTargetEndIndex = -1; - private int columnSourceStartIndex = -1; - private int columnSourceEndIndex = -1; - //only row copy is allowed - - public bool MultipleCells { get { return multipleCells; } set { multipleCells = value; } } - public int RowSourceStartIndex { get { return rowSourceStartIndex; } set { rowSourceStartIndex = value; } } - public int RowSourceEndIndex { get { return rowSourceEndIndex; } set { rowSourceEndIndex = value; } } - public int RowTargetEndIndex { get { return rowTargetEndIndex; } set { rowTargetEndIndex = value; } } - public int ColumnSourceStartIndex { get { return columnSourceStartIndex; } set { columnSourceStartIndex = value; } } - public int ColumnSourceEndIndex { get { return columnSourceEndIndex; } set { columnSourceEndIndex = value; } } - - public CellCopyInfo() - { - } - - } -} diff --git a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/Utils/ProgressManager.cs b/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/Utils/ProgressManager.cs deleted file mode 100644 index 75ceae8b..00000000 --- a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/Utils/ProgressManager.cs +++ /dev/null @@ -1,68 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows.Controls; - -namespace HOK.SheetManager.Utils -{ - public static class ProgressManager - { - public static ProgressBar progressBar = null; - public static TextBlock statusLabel = null; - public static double progressValue = 0; - public static string databaseFilePath = ""; - - private delegate void UpdateProgressBarDelegate(System.Windows.DependencyProperty dp, Object value); - private delegate void UpdateStatusLabelDelegate(System.Windows.DependencyProperty dp, Object value); - - private static UpdateStatusLabelDelegate updateLabelDelegate = null; - private static UpdateProgressBarDelegate updatePbDelegate = null; - - public static void InitializeProgress(string statusText, int maximum) - { - if (null != progressBar && null != statusLabel) - { - progressBar.Visibility = System.Windows.Visibility.Visible; - progressValue = 0; - - updateLabelDelegate = new UpdateStatusLabelDelegate(statusLabel.SetValue); - System.Windows.Threading.Dispatcher.CurrentDispatcher.Invoke(updateLabelDelegate, System.Windows.Threading.DispatcherPriority.Background, new object[] { TextBlock.TextProperty, statusText }); - - updatePbDelegate = new UpdateProgressBarDelegate(progressBar.SetValue); - progressBar.Value = progressValue; - progressBar.Maximum = maximum; - } - } - - public static void StepForward() - { - if (null != progressBar && null != statusLabel) - { - progressValue++; - System.Windows.Threading.Dispatcher.CurrentDispatcher.Invoke(updatePbDelegate, System.Windows.Threading.DispatcherPriority.Background, new object[] { ProgressBar.ValueProperty, progressValue }); - } - } - - public static void FinalizeProgress() - { - if (null != progressBar && null != statusLabel) - { - - progressValue = 0; - progressBar.Visibility = System.Windows.Visibility.Hidden; - - if (!string.IsNullOrEmpty(databaseFilePath)) - { - statusLabel.Text = databaseFilePath; - } - else - { - statusLabel.Text = "Ready"; - } - } - } - - } -} diff --git a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/Utils/RelayCommand.cs b/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/Utils/RelayCommand.cs deleted file mode 100644 index 99aa4861..00000000 --- a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/Utils/RelayCommand.cs +++ /dev/null @@ -1,84 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows.Input; - -namespace HOK.SheetManager.Utils -{ - public class RelayCommand : ICommand - { - private Action execute; - - private Predicate canExecute; - - private event EventHandler CanExecuteChangedInternal; - - public RelayCommand(Action execute): this(execute, DefaultCanExecute) - { - } - - public RelayCommand(Action execute, Predicate canExecute) - { - if (execute == null) - { - throw new ArgumentNullException("execute"); - } - - if (canExecute == null) - { - throw new ArgumentNullException("canExecute"); - } - - this.execute = execute; - this.canExecute = canExecute; - } - - public event EventHandler CanExecuteChanged - { - add - { - CommandManager.RequerySuggested += value; - this.CanExecuteChangedInternal += value; - } - - remove - { - CommandManager.RequerySuggested -= value; - this.CanExecuteChangedInternal -= value; - } - } - - public bool CanExecute(object parameter) - { - return this.canExecute != null && this.canExecute(parameter); - } - - public void Execute(object parameter) - { - this.execute(parameter); - } - - public void OnCanExecuteChanged() - { - EventHandler handler = this.CanExecuteChangedInternal; - if (handler != null) - { - //DispatcherHelper.BeginInvokeOnUIThread(() => handler.Invoke(this, EventArgs.Empty)); - handler.Invoke(this, EventArgs.Empty); - } - } - - public void Destroy() - { - this.canExecute = _ => false; - this.execute = _ => { return; }; - } - - private static bool DefaultCanExecute(object parameter) - { - return true; - } - } -} diff --git a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/Utils/ValueConverters.cs b/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/Utils/ValueConverters.cs deleted file mode 100644 index 06efbb79..00000000 --- a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/Utils/ValueConverters.cs +++ /dev/null @@ -1,208 +0,0 @@ -using HOK.SheetManager.Classes; -using HOK.SheetManager.Windows.Editor; -using System; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows.Controls; -using System.Windows.Data; - -namespace HOK.SheetManager.Utils -{ - public class DisciplineFilterConverter : IMultiValueConverter - { - public object Convert(object[] values, Type targetType, object parameter, System.Globalization.CultureInfo culture) - { - if (values.Length == 2) - { - ObservableCollection sheets = values[0] as ObservableCollection; - Discipline selectedDiscipline = values[1] as Discipline; - if (null != sheets && null != selectedDiscipline) - { - var selectedSheets = from sheet in sheets where sheet.DisciplineObj.Id == selectedDiscipline.Id select sheet; - return new ObservableCollection(selectedSheets.OrderBy(o => o.Number).ToList()); - } - else - { - return new ObservableCollection(); - } - } - else - { - return new ObservableCollection(); - } - } - - public object[] ConvertBack(object value, Type[] targetTypes, object parameter, System.Globalization.CultureInfo culture) - { - throw new NotImplementedException(); - } - } - - public class ViewConverter : IMultiValueConverter - { - public object Convert(object[] values, Type targetType, object parameter, System.Globalization.CultureInfo culture) - { - ObservableCollection filteredViews = new ObservableCollection(); - if (values.Length == 2) - { - ObservableCollection views = values[0] as ObservableCollection; - RevitSheet selectedSheet = values[1] as RevitSheet; - - if (null != views && null != selectedSheet) - { - var selectedViews = from view in views where view.Sheet.Id == selectedSheet.Id select view; - filteredViews = new ObservableCollection(selectedViews.OrderBy(o => o.Name).ToList()); - } - } - return filteredViews; - } - - public object[] ConvertBack(object value, Type[] targetTypes, object parameter, System.Globalization.CultureInfo culture) - { - throw new NotImplementedException(); - } - - } - - public class RevisionConverter : IMultiValueConverter - { - public object Convert(object[] values, Type targetType, object parameter, System.Globalization.CultureInfo culture) - { - ObservableCollection filteredRevisions = new ObservableCollection(); - if (values.Length == 2) - { - ObservableCollection revisions = values[0] as ObservableCollection; - RevitSheet selectedSheet = values[1] as RevitSheet; - - if (null != revisions && null != selectedSheet) - { - var includeRevisionIds = from ros in selectedSheet.SheetRevisions.Values where ros.Include select ros.RvtRevision.Id; - if (includeRevisionIds.Count() > 0) - { - var revisionFound = from rev in revisions where includeRevisionIds.Contains(rev.Id) select rev; - if (revisionFound.Count() > 0) - { - filteredRevisions = new ObservableCollection(revisionFound.ToList()); - } - } - } - - } - return filteredRevisions; - } - - public object[] ConvertBack(object value, Type[] targetTypes, object parameter, System.Globalization.CultureInfo culture) - { - throw new NotImplementedException(); - } - } - - public class RevisionIncludeConverter : IValueConverter - { - public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) - { - ObservableCollection rosCollection = new ObservableCollection(); - if (null != value) - { - Dictionary.ValueCollection valueCollection = value as Dictionary.ValueCollection; - if (null != valueCollection) - { - var includedRevision = from ros in valueCollection where ros.Include select ros; - if (includedRevision.Count() > 0) - { - rosCollection = new ObservableCollection(includedRevision.ToList()); - } - } - } - return rosCollection; - } - - public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) - { - throw new NotImplementedException(); - } - } - - public class LinkedSheetConverter : IValueConverter - { - public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) - { - ObservableCollection linkedSheets = new ObservableCollection(); - if (null != value) - { - IList cellInfoList = value as IList; - if (null != cellInfoList) - { - if (cellInfoList.Count > 0) - { - DataGridCellInfo cellInfo = cellInfoList.First(); - RevitSheet selectedSheet = cellInfo.Item as RevitSheet; - if (null != selectedSheet) - { - linkedSheets = selectedSheet.LinkedSheets; - } - } - } - } - return linkedSheets; - } - - public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) - { - throw new NotImplementedException(); - } - } - - public class SheetNameConverter : IMultiValueConverter - { - public object Convert(object[] values, Type targetType, object parameter, System.Globalization.CultureInfo culture) - { - string sheetNumberName = ""; - if (values.Length == 2) - { - string sheetNumber = values[0].ToString(); - string sheetName = values[1].ToString(); - - sheetNumberName = sheetNumber + " - " + sheetName; - } - return sheetNumberName; - } - - public object[] ConvertBack(object value, Type[] targetTypes, object parameter, System.Globalization.CultureInfo culture) - { - throw new NotImplementedException(); - } - } - - public class ItemMapperConverter : IMultiValueConverter - { - public object Convert(object[] values, Type targetType, object parameter, System.Globalization.CultureInfo culture) - { - ObservableCollection filteredItems = new ObservableCollection(); - if (values.Length == 4) - { - ObservableCollection items = values[0] as ObservableCollection; - ItemMap selectedItemType = values[1] as ItemMap; - object selectedParameter = values[2]; - - if (null != items && null != selectedItemType && null != selectedParameter) - { - var itemFound = from item in items where item.ItemType == selectedItemType.ItemMapType && item.ParameterName == selectedParameter.ToString() select item; - if (itemFound.Count() > 0) - { - filteredItems = new ObservableCollection(itemFound.ToList()); - } - } - } - return filteredItems; - } - - public object[] ConvertBack(object value, Type[] targetTypes, object parameter, System.Globalization.CultureInfo culture) - { - throw new NotImplementedException(); - } - } -} diff --git a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/Windows/Editor/DisciplineWindow.xaml b/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/Windows/Editor/DisciplineWindow.xaml deleted file mode 100644 index 012578f7..00000000 --- a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/Windows/Editor/DisciplineWindow.xaml +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/Windows/Editor/DisciplineWindow.xaml.cs b/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/Windows/Editor/DisciplineWindow.xaml.cs deleted file mode 100644 index e5abc395..00000000 --- a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/Windows/Editor/DisciplineWindow.xaml.cs +++ /dev/null @@ -1,113 +0,0 @@ -using HOK.SheetManager.Classes; -using HOK.SheetManager.Database; -using System; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Navigation; -using System.Windows.Shapes; - -namespace HOK.SheetManager.Windows.Editor -{ - /// - /// Interaction logic for DisciplineWindow.xaml - /// - public partial class DisciplineWindow : Window - { - private RevitSheetData rvtSheetData = null; - - public RevitSheetData RvtSheetData { get { return rvtSheetData; } set { rvtSheetData = value; } } - - public DisciplineWindow() - { - InitializeComponent(); - } - - private void Window_Loaded(object sender, RoutedEventArgs e) - { - rvtSheetData = this.DataContext as RevitSheetData; - } - - private void buttonAdd_Click(object sender, RoutedEventArgs e) - { - try - { - Discipline discipline = new Discipline(Guid.NewGuid(), "New Discipline"); - this.RvtSheetData.Disciplines.Add(discipline); - bool databaseUpdated = SheetDataWriter.ChangeDisciplineItem(discipline, CommandType.INSERT); - } - catch (Exception ex) - { - string messag = ex.Message; - } - } - - private void buttonDelete_Click(object sender, RoutedEventArgs e) - { - try - { - if (null != dataGridDisciplines.SelectedItem) - { - MessageBoxResult msgResult = MessageBox.Show("Sheet items under the selected discipline will be set to [Undefined].\nWould you like to continue?", "Sheet Items Found", MessageBoxButton.YesNo, MessageBoxImage.Question); - if (msgResult == MessageBoxResult.Yes) - { - Discipline selectedDiscipline = dataGridDisciplines.SelectedItem as Discipline; - var undefinedDiscipline = from discipline in rvtSheetData.Disciplines where discipline.Id == Guid.Empty select discipline; - if (undefinedDiscipline.Count() > 0) - { - Discipline undefined = undefinedDiscipline.First() as Discipline; - var sheetsToChange = from sheet in rvtSheetData.Sheets where sheet.DisciplineObj.Id == selectedDiscipline.Id select sheet; - if (sheetsToChange.Count() > 0) - { - foreach (RevitSheet sheet in sheetsToChange) - { - int index = rvtSheetData.Sheets.IndexOf(sheet); - this.RvtSheetData.Sheets[index].DisciplineObj = undefined; - } - } - } - - this.RvtSheetData.Disciplines.Remove(selectedDiscipline); - bool databaseUpdated = SheetDataWriter.ChangeDisciplineItem(selectedDiscipline, CommandType.DELETE); - } - } - } - catch (Exception ex) - { - string messag = ex.Message; - } - } - - private void dataGridDisciplines_CellEditEnding(object sender, DataGridCellEditEndingEventArgs e) - { - try - { - //discipline name changed - - DataGridRow row = e.Row; - TextBox textBox = e.EditingElement as TextBox; - if (null != row && null != textBox) - { - Discipline discipline = row.Item as Discipline; - discipline.Name = textBox.Text; - bool databaseUpdated = SheetDataWriter.ChangeDisciplineItem(discipline, CommandType.UPDATE); - } - } - catch (Exception ex) - { - string message = ex.Message; - } - - } - - } -} diff --git a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/Windows/Editor/Images/add.png b/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/Windows/Editor/Images/add.png deleted file mode 100644 index f59a84b4..00000000 Binary files a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/Windows/Editor/Images/add.png and /dev/null differ diff --git a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/Windows/Editor/Images/delete.png b/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/Windows/Editor/Images/delete.png deleted file mode 100644 index b555918e..00000000 Binary files a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/Windows/Editor/Images/delete.png and /dev/null differ diff --git a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/Windows/Editor/Images/search.png b/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/Windows/Editor/Images/search.png deleted file mode 100644 index 072026c7..00000000 Binary files a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/Windows/Editor/Images/search.png and /dev/null differ diff --git a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/Windows/Editor/ItemMapperWindow.xaml b/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/Windows/Editor/ItemMapperWindow.xaml deleted file mode 100644 index 8c095027..00000000 --- a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/Windows/Editor/ItemMapperWindow.xaml +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - - - - - - - - diff --git a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/Windows/Editor/ItemMapperWindow.xaml.cs b/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/Windows/Editor/ItemMapperWindow.xaml.cs deleted file mode 100644 index 733b453e..00000000 --- a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/Windows/Editor/ItemMapperWindow.xaml.cs +++ /dev/null @@ -1,245 +0,0 @@ -using HOK.SheetManager.Classes; -using HOK.SheetManager.Database; -using HOK.SheetManager.Utils; -using System; -using System.Collections.Generic; -using System.Collections.Specialized; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Navigation; -using System.Windows.Shapes; - -namespace HOK.SheetManager.Windows.Editor -{ - /// - /// Interaction logic for ItemMapperWindow.xaml - /// - public partial class ItemMapperWindow : Window - { - private RevitSheetData rvtSheetData = null; - private List itemMaps = new List(); - - public RevitSheetData RvtSheetData { get { return rvtSheetData; } set { rvtSheetData = value; } } - public List ItemMaps { get { return itemMaps; } set { itemMaps = value; } } - - public ItemMapperWindow() - { - InitializeComponent(); - CollectItemMaps(); - } - - public void CollectItemMaps() - { - ItemMap itemMap = new ItemMap(MappingType.Sheet); - itemMap.ParameterNames.Add("Sheet Name"); - itemMap.ParameterNames.Add("Sheet Number"); - itemMaps.Add(itemMap); - - ItemMap itemMap2 = new ItemMap(MappingType.View); - itemMap2.ParameterNames.Add("View Name"); - itemMaps.Add(itemMap2); - } - - private void Window_Loaded(object sender, RoutedEventArgs e) - { - rvtSheetData = this.DataContext as RevitSheetData; - - comboBoxType.ItemsSource = itemMaps; - comboBoxType.DisplayMemberPath = "TypeName"; - comboBoxType.SelectedIndex = 0; - - } - - private void OnCollectionChanged(object sender, NotifyCollectionChangedEventArgs e) - { - try - { - if (e.NewItems != null && e.Action == NotifyCollectionChangedAction.Add) - { - foreach (RevitItemMapper item in e.NewItems) - { - int index = rvtSheetData.ItemMaps.IndexOf(item); - Guid itemMapId = Guid.NewGuid(); - this.RvtSheetData.ItemMaps[index].ItemId = itemMapId; - - bool dbUpdated = SheetDataWriter.ChangeReplaceItem(rvtSheetData.ItemMaps[index], CommandType.INSERT); - } - } - if (e.OldItems != null && e.Action == NotifyCollectionChangedAction.Remove) - { - foreach (RevitItemMapper item in e.OldItems) - { - bool dbUpdated = SheetDataWriter.ChangeReplaceItem(item, CommandType.DELETE); - } - } - - } - catch (Exception ex) - { - string message = ex.Message; - } - } - - private void comboBoxType_SelectionChanged(object sender, SelectionChangedEventArgs e) - { - try - { - if (null != comboBoxType.SelectedItem) - { - ItemMap selectedItem = comboBoxType.SelectedItem as ItemMap; - comboBoxParameter.ItemsSource = selectedItem.ParameterNames; - comboBoxParameter.SelectedIndex = 0; - } - } - catch (Exception ex) - { - string message = ex.Message; - } - } - - private void dataGridItem_CellEditEnding(object sender, DataGridCellEditEndingEventArgs e) - { - try - { - DataGridRow row = e.Row; - if (null != row) - { - RevitItemMapper item = row.Item as RevitItemMapper; - string propertyName = e.Column.Header.ToString(); - - switch (propertyName) - { - case "Source Value": - TextBox sourceTextBox = e.EditingElement as TextBox; - if (null != sourceTextBox) - { - var itemFound = from itemMap in rvtSheetData.ItemMaps where itemMap.SourceValue == sourceTextBox.Text && itemMap.ItemType == item.ItemType && itemMap.ItemId != item.ItemId select item; - if (itemFound.Count() > 0) - { - MessageBoxResult msgResult = MessageBox.Show("[" + sourceTextBox.Text + "] Item already exists in the list. \nPlease enter a different value.", "Existing Value", MessageBoxButton.OK, MessageBoxImage.Information); - if (msgResult == MessageBoxResult.OK) - { - e.Cancel = true; - } - } - else - { - item.SourceValue = sourceTextBox.Text; - bool dbUpdated = SheetDataWriter.ChangeReplaceItem(item, CommandType.UPDATE); - } - } - break; - case "Target Value": - TextBox targetTextBox = e.EditingElement as TextBox; - if (null != targetTextBox) - { - item.TargetValue = targetTextBox.Text; - bool dbUpdated = SheetDataWriter.ChangeReplaceItem(item, CommandType.UPDATE); - } - break; - } - } - } - catch (Exception ex) - { - string message = ex.Message; - } - } - - - private void buttonAddItem_Click(object sender, RoutedEventArgs e) - { - try - { - if (null != comboBoxType.SelectedItem && null != comboBoxParameter.SelectedItem) - { - ItemMap itemMap = comboBoxType.SelectedItem as ItemMap; - string parameter = comboBoxParameter.SelectedItem.ToString(); - - if (null != itemMap && !string.IsNullOrEmpty(parameter)) - { - string sampleSourceName = ""; - double suffix = 0; - if (dataGridItem.Items.Count > 0) - { - RevitItemMapper lastItem = dataGridItem.Items[dataGridItem.Items.Count - 1] as RevitItemMapper; - sampleSourceName = lastItem.SourceValue.ToString(); - - if (DataGridUtils.GetSuffix(sampleSourceName, out suffix)) - { - sampleSourceName = sampleSourceName.Replace(suffix.ToString(), (suffix + 1).ToString()); - } - else - { - sampleSourceName += " " + (suffix + 1).ToString(); - } - } - - if (string.IsNullOrEmpty(sampleSourceName)) - { - sampleSourceName = "New Item 1"; - } - - RevitItemMapper itemMapper = new RevitItemMapper(Guid.NewGuid(), itemMap.ItemMapType, parameter, sampleSourceName, ""); - this.RvtSheetData.ItemMaps.Add(itemMapper); - bool dbUpdated = SheetDataWriter.ChangeReplaceItem(itemMapper, CommandType.INSERT); - } - } - } - catch (Exception ex) - { - string message = ex.Message; - } - } - - private void buttonDeleteItem_Click(object sender, RoutedEventArgs e) - { - try - { - if (null != dataGridItem.SelectedCells) - { - var selectedItems = from cell in dataGridItem.SelectedCells select cell.Item; - if (selectedItems.Count() > 0) - { - List items = selectedItems.Cast().Distinct().ToList(); - - foreach (RevitItemMapper item in items) - { - this.RvtSheetData.ItemMaps.Remove(item); - bool dbUpdated = SheetDataWriter.ChangeReplaceItem(item, CommandType.DELETE); - } - } - } - } - catch (Exception ex) - { - string message = ex.Message; - } - } - } - - public class ItemMap - { - private string typeName = ""; - private MappingType itemMapType = MappingType.None; - private List parameterNames = new List(); - - public string TypeName { get { return typeName; } set { typeName = value; } } - public MappingType ItemMapType { get { return itemMapType; } set { itemMapType = value; } } - public List ParameterNames { get { return parameterNames; } set { parameterNames = value; } } - - public ItemMap(MappingType mapType) - { - itemMapType = mapType; - typeName = itemMapType.ToString(); - } - } -} diff --git a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/Windows/Editor/ItemWindow.xaml b/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/Windows/Editor/ItemWindow.xaml deleted file mode 100644 index a8896855..00000000 --- a/Sheet Manager/src/HOK.SheetManager/HOK.SheetManager/Windows/Editor/ItemWindow.xaml +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - -