├── DrawingsManager ├── Resources │ └── Logo.png ├── Properties │ ├── Settings.settings │ ├── Settings.Designer.cs │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ └── Resources.resx ├── packages.config ├── Program.cs ├── App.config ├── DrawingManagerBase.cs ├── ExtensionMethods.cs ├── AssemblyDrawingManager.cs ├── SingleDrawingManager.cs ├── DrawingsManager.csproj ├── DrawingManagerForm.Designer.cs ├── DrawingManagerForm.cs └── DrawingManagerForm.resx ├── DrawingsManager.sln ├── .gitattributes └── .gitignore /DrawingsManager/Resources/Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/razorcx/drawing-manager/HEAD/DrawingsManager/Resources/Logo.png -------------------------------------------------------------------------------- /DrawingsManager/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /DrawingsManager/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /DrawingsManager/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using System.Windows.Forms; 6 | 7 | namespace DrawingsManager 8 | { 9 | static class Program 10 | { 11 | /// 12 | /// The main entry point for the application. 13 | /// 14 | [STAThread] 15 | static void Main() 16 | { 17 | Application.EnableVisualStyles(); 18 | Application.SetCompatibleTextRenderingDefault(false); 19 | Application.Run(new DrawingManagerForm()); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /DrawingsManager/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /DrawingsManager/DrawingManagerBase.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using Tekla.Structures.Drawing; 3 | 4 | namespace DrawingsManager 5 | { 6 | public abstract class DrawingManagerBase 7 | { 8 | public DrawingHandler Handler => new DrawingHandler(); 9 | 10 | public List GetDrawings() 11 | { 12 | var drawingCollection = Handler.GetDrawings(); 13 | if (drawingCollection.GetSize() < 1) 14 | return null; 15 | 16 | drawingCollection.SelectInstances = false; 17 | 18 | var drawings = new List(); 19 | foreach (Drawing drawing in drawingCollection) 20 | drawings.Add(drawing); 21 | 22 | return drawings; 23 | } 24 | 25 | public abstract bool SetActiveDrawing(Drawing drawing); 26 | } 27 | } -------------------------------------------------------------------------------- /DrawingsManager/ExtensionMethods.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using Newtonsoft.Json; 4 | 5 | namespace DrawingsManager 6 | { 7 | public static class ExtensionMethods 8 | { 9 | public static List ToAList(this IEnumerator enumerator) 10 | { 11 | var list = new List(); 12 | while (enumerator.MoveNext()) 13 | { 14 | var loop = (T)enumerator.Current; 15 | if (loop != null) 16 | list.Add(loop); 17 | } 18 | return list; 19 | } 20 | 21 | public static string ToJson(this object obj, bool formatting = true) 22 | { 23 | return 24 | formatting 25 | ? JsonConvert.SerializeObject(obj, Formatting.Indented) 26 | : JsonConvert.SerializeObject(obj, Formatting.None); 27 | } 28 | 29 | public static T FromJson(this string json) 30 | { 31 | return JsonConvert.DeserializeObject(json); 32 | } 33 | } 34 | } -------------------------------------------------------------------------------- /DrawingsManager/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace DrawingsManager.Properties 12 | { 13 | 14 | 15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] 17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase 18 | { 19 | 20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 21 | 22 | public static Settings Default 23 | { 24 | get 25 | { 26 | return defaultInstance; 27 | } 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /DrawingsManager.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.27004.2002 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DrawingsManager", "DrawingsManager\DrawingsManager.csproj", "{71802809-2D4F-46B8-88EC-D762127B13ED}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {71802809-2D4F-46B8-88EC-D762127B13ED}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {71802809-2D4F-46B8-88EC-D762127B13ED}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {71802809-2D4F-46B8-88EC-D762127B13ED}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {71802809-2D4F-46B8-88EC-D762127B13ED}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {C4D36D2D-BC28-4972-9371-D7919E8BD92D} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /DrawingsManager/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("DrawingsManager")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("DrawingsManager")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("71802809-2d4f-46b8-88ec-d762127b13ed")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /DrawingsManager/AssemblyDrawingManager.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Linq; 3 | using Tekla.Structures.Drawing; 4 | using Tekla.Structures.Model; 5 | 6 | namespace DrawingsManager 7 | { 8 | public class AssemblyDrawingManager : DrawingManagerBase 9 | { 10 | private readonly Model _model = new Model(); 11 | 12 | public dynamic GetAssemblyDrawings(List assemblyDrawings) 13 | { 14 | var assyDrawings = assemblyDrawings.AsParallel().Select(a => 15 | { 16 | var mark = string.Empty; 17 | var part = _model.SelectModelObject(a.AssemblyIdentifier) as Assembly; 18 | part?.GetReportProperty("ASSEMBLY_POS", ref mark); 19 | 20 | return new 21 | { 22 | AssemblyDrawing = a, 23 | Assembly = _model.SelectModelObject(a.AssemblyIdentifier), 24 | DrawingMark = a.Mark, 25 | PartMark = mark, 26 | }; 27 | }).ToList(); 28 | 29 | return assyDrawings; 30 | } 31 | 32 | public List GetAssemblyDrawings(List drawings) 33 | { 34 | return drawings.OfType().ToList(); 35 | } 36 | 37 | public string GetDrawingUsableMark(Drawing drawing) 38 | { 39 | var mark = string.Empty; 40 | if (drawing is AssemblyDrawing) 41 | { 42 | var part = 43 | new Model().SelectModelObject(((AssemblyDrawing)drawing).AssemblyIdentifier); 44 | part?.GetReportProperty("ASSEMBLY_POS", ref mark); 45 | return mark; 46 | } 47 | return string.Empty; 48 | } 49 | 50 | public AssemblyDrawing GetAssemblyDrawing(string partMark) 51 | { 52 | var drawings = GetDrawings(); 53 | var assemblyDrawings = GetAssemblyDrawings(drawings); 54 | 55 | return assemblyDrawings.AsParallel() 56 | .FirstOrDefault(s => GetDrawingUsableMark(s) == partMark); 57 | } 58 | 59 | public override bool SetActiveDrawing(Drawing drawing) 60 | { 61 | return Handler.SetActiveDrawing(drawing); 62 | } 63 | } 64 | } -------------------------------------------------------------------------------- /DrawingsManager/SingleDrawingManager.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Linq; 3 | using Tekla.Structures.Drawing; 4 | using Tekla.Structures.Model; 5 | 6 | namespace DrawingsManager 7 | { 8 | public class SingleDrawingManager : DrawingManagerBase 9 | { 10 | private readonly Model _model = new Model(); 11 | 12 | public dynamic GetSingleDrawings(List singlePartDrawings) 13 | { 14 | var singleDrawings = singlePartDrawings.AsParallel().Select(a => 15 | { 16 | var mark = string.Empty; 17 | var part = _model.SelectModelObject(a.PartIdentifier) as Tekla.Structures.Model.Part; 18 | part?.GetReportProperty("PART_POS", ref mark); 19 | 20 | return new 21 | { 22 | SingleDrawing = a, 23 | Part = _model.SelectModelObject(a.PartIdentifier), 24 | DrawingMark = a.Mark, 25 | PartMark = mark, 26 | }; 27 | }).ToList(); 28 | 29 | return singleDrawings; 30 | } 31 | 32 | public List GetSinglePartDrawings(List drawings) 33 | { 34 | return drawings.OfType().ToList(); 35 | } 36 | 37 | public string GetDrawingUsableMark(Drawing drawing) 38 | { 39 | var mark = string.Empty; 40 | if (drawing is SinglePartDrawing) 41 | { 42 | var part = 43 | new Model().SelectModelObject(((SinglePartDrawing)drawing).PartIdentifier); 44 | part?.GetReportProperty("PART_POS", ref mark); 45 | return mark; 46 | } 47 | return string.Empty; 48 | } 49 | 50 | public SinglePartDrawing GetSinglePartDrawing(string partMark) 51 | { 52 | var drawings = GetDrawings(); 53 | var singlePartDrawings = GetSinglePartDrawings(drawings); 54 | 55 | return singlePartDrawings.AsParallel() 56 | .FirstOrDefault(s => GetDrawingUsableMark(s) == partMark); 57 | } 58 | 59 | public override bool SetActiveDrawing(Drawing drawing) 60 | { 61 | return Handler.SetActiveDrawing(drawing); 62 | } 63 | } 64 | } -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # Set default behavior to automatically normalize line endings. 3 | ############################################################################### 4 | * text=auto 5 | 6 | ############################################################################### 7 | # Set default behavior for command prompt diff. 8 | # 9 | # This is need for earlier builds of msysgit that does not have it on by 10 | # default for csharp files. 11 | # Note: This is only used by command line 12 | ############################################################################### 13 | #*.cs diff=csharp 14 | 15 | ############################################################################### 16 | # Set the merge driver for project and solution files 17 | # 18 | # Merging from the command prompt will add diff markers to the files if there 19 | # are conflicts (Merging from VS is not affected by the settings below, in VS 20 | # the diff markers are never inserted). Diff markers may cause the following 21 | # file extensions to fail to load in VS. An alternative would be to treat 22 | # these files as binary and thus will always conflict and require user 23 | # intervention with every merge. To do so, just uncomment the entries below 24 | ############################################################################### 25 | #*.sln merge=binary 26 | #*.csproj merge=binary 27 | #*.vbproj merge=binary 28 | #*.vcxproj merge=binary 29 | #*.vcproj merge=binary 30 | #*.dbproj merge=binary 31 | #*.fsproj merge=binary 32 | #*.lsproj merge=binary 33 | #*.wixproj merge=binary 34 | #*.modelproj merge=binary 35 | #*.sqlproj merge=binary 36 | #*.wwaproj merge=binary 37 | 38 | ############################################################################### 39 | # behavior for image files 40 | # 41 | # image files are treated as binary by default. 42 | ############################################################################### 43 | #*.jpg binary 44 | #*.png binary 45 | #*.gif binary 46 | 47 | ############################################################################### 48 | # diff behavior for common document formats 49 | # 50 | # Convert binary document formats to text before diffing them. This feature 51 | # is only available from the command line. Turn it on by uncommenting the 52 | # entries below. 53 | ############################################################################### 54 | #*.doc diff=astextplain 55 | #*.DOC diff=astextplain 56 | #*.docx diff=astextplain 57 | #*.DOCX diff=astextplain 58 | #*.dot diff=astextplain 59 | #*.DOT diff=astextplain 60 | #*.pdf diff=astextplain 61 | #*.PDF diff=astextplain 62 | #*.rtf diff=astextplain 63 | #*.RTF diff=astextplain 64 | -------------------------------------------------------------------------------- /DrawingsManager/Properties/Resources.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace DrawingsManager.Properties { 12 | using System; 13 | 14 | 15 | /// 16 | /// A strongly-typed resource class, for looking up localized strings, etc. 17 | /// 18 | // This class was auto-generated by the StronglyTypedResourceBuilder 19 | // class via a tool like ResGen or Visual Studio. 20 | // To add or remove a member, edit your .ResX file then rerun ResGen 21 | // with the /str option, or rebuild your VS project. 22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")] 23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 25 | internal class Resources { 26 | 27 | private static global::System.Resources.ResourceManager resourceMan; 28 | 29 | private static global::System.Globalization.CultureInfo resourceCulture; 30 | 31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] 32 | internal Resources() { 33 | } 34 | 35 | /// 36 | /// Returns the cached ResourceManager instance used by this class. 37 | /// 38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 39 | internal static global::System.Resources.ResourceManager ResourceManager { 40 | get { 41 | if (object.ReferenceEquals(resourceMan, null)) { 42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("DrawingsManager.Properties.Resources", typeof(Resources).Assembly); 43 | resourceMan = temp; 44 | } 45 | return resourceMan; 46 | } 47 | } 48 | 49 | /// 50 | /// Overrides the current thread's CurrentUICulture property for all 51 | /// resource lookups using this strongly typed resource class. 52 | /// 53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 54 | internal static global::System.Globalization.CultureInfo Culture { 55 | get { 56 | return resourceCulture; 57 | } 58 | set { 59 | resourceCulture = value; 60 | } 61 | } 62 | 63 | /// 64 | /// Looks up a localized resource of type System.Drawing.Bitmap. 65 | /// 66 | internal static System.Drawing.Bitmap Logo { 67 | get { 68 | object obj = ResourceManager.GetObject("Logo", resourceCulture); 69 | return ((System.Drawing.Bitmap)(obj)); 70 | } 71 | } 72 | } 73 | } 74 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ## Ignore Visual Studio temporary files, build results, and 2 | ## files generated by popular Visual Studio add-ons. 3 | 4 | # User-specific files 5 | *.suo 6 | *.user 7 | *.userosscache 8 | *.sln.docstates 9 | 10 | # User-specific files (MonoDevelop/Xamarin Studio) 11 | *.userprefs 12 | 13 | # Build results 14 | [Dd]ebug/ 15 | [Dd]ebugPublic/ 16 | [Rr]elease/ 17 | [Rr]eleases/ 18 | x64/ 19 | x86/ 20 | bld/ 21 | [Bb]in/ 22 | [Oo]bj/ 23 | [Ll]og/ 24 | 25 | # Visual Studio 2015 cache/options directory 26 | .vs/ 27 | # Uncomment if you have tasks that create the project's static files in wwwroot 28 | #wwwroot/ 29 | 30 | # MSTest test Results 31 | [Tt]est[Rr]esult*/ 32 | [Bb]uild[Ll]og.* 33 | 34 | # NUNIT 35 | *.VisualState.xml 36 | TestResult.xml 37 | 38 | # Build Results of an ATL Project 39 | [Dd]ebugPS/ 40 | [Rr]eleasePS/ 41 | dlldata.c 42 | 43 | # DNX 44 | project.lock.json 45 | project.fragment.lock.json 46 | artifacts/ 47 | 48 | *_i.c 49 | *_p.c 50 | *_i.h 51 | *.ilk 52 | *.meta 53 | *.obj 54 | *.pch 55 | *.pdb 56 | *.pgc 57 | *.pgd 58 | *.rsp 59 | *.sbr 60 | *.tlb 61 | *.tli 62 | *.tlh 63 | *.tmp 64 | *.tmp_proj 65 | *.log 66 | *.vspscc 67 | *.vssscc 68 | .builds 69 | *.pidb 70 | *.svclog 71 | *.scc 72 | 73 | # Chutzpah Test files 74 | _Chutzpah* 75 | 76 | # Visual C++ cache files 77 | ipch/ 78 | *.aps 79 | *.ncb 80 | *.opendb 81 | *.opensdf 82 | *.sdf 83 | *.cachefile 84 | *.VC.db 85 | *.VC.VC.opendb 86 | 87 | # Visual Studio profiler 88 | *.psess 89 | *.vsp 90 | *.vspx 91 | *.sap 92 | 93 | # TFS 2012 Local Workspace 94 | $tf/ 95 | 96 | # Guidance Automation Toolkit 97 | *.gpState 98 | 99 | # ReSharper is a .NET coding add-in 100 | _ReSharper*/ 101 | *.[Rr]e[Ss]harper 102 | *.DotSettings.user 103 | 104 | # JustCode is a .NET coding add-in 105 | .JustCode 106 | 107 | # TeamCity is a build add-in 108 | _TeamCity* 109 | 110 | # DotCover is a Code Coverage Tool 111 | *.dotCover 112 | 113 | # NCrunch 114 | _NCrunch_* 115 | .*crunch*.local.xml 116 | nCrunchTemp_* 117 | 118 | # MightyMoose 119 | *.mm.* 120 | AutoTest.Net/ 121 | 122 | # Web workbench (sass) 123 | .sass-cache/ 124 | 125 | # Installshield output folder 126 | [Ee]xpress/ 127 | 128 | # DocProject is a documentation generator add-in 129 | DocProject/buildhelp/ 130 | DocProject/Help/*.HxT 131 | DocProject/Help/*.HxC 132 | DocProject/Help/*.hhc 133 | DocProject/Help/*.hhk 134 | DocProject/Help/*.hhp 135 | DocProject/Help/Html2 136 | DocProject/Help/html 137 | 138 | # Click-Once directory 139 | publish/ 140 | 141 | # Publish Web Output 142 | *.[Pp]ublish.xml 143 | *.azurePubxml 144 | # TODO: Comment the next line if you want to checkin your web deploy settings 145 | # but database connection strings (with potential passwords) will be unencrypted 146 | #*.pubxml 147 | *.publishproj 148 | 149 | # Microsoft Azure Web App publish settings. Comment the next line if you want to 150 | # checkin your Azure Web App publish settings, but sensitive information contained 151 | # in these scripts will be unencrypted 152 | PublishScripts/ 153 | 154 | # NuGet Packages 155 | *.nupkg 156 | # The packages folder can be ignored because of Package Restore 157 | **/packages/* 158 | # except build/, which is used as an MSBuild target. 159 | !**/packages/build/ 160 | # Uncomment if necessary however generally it will be regenerated when needed 161 | #!**/packages/repositories.config 162 | # NuGet v3's project.json files produces more ignoreable files 163 | *.nuget.props 164 | *.nuget.targets 165 | 166 | # Microsoft Azure Build Output 167 | csx/ 168 | *.build.csdef 169 | 170 | # Microsoft Azure Emulator 171 | ecf/ 172 | rcf/ 173 | 174 | # Windows Store app package directories and files 175 | AppPackages/ 176 | BundleArtifacts/ 177 | Package.StoreAssociation.xml 178 | _pkginfo.txt 179 | 180 | # Visual Studio cache files 181 | # files ending in .cache can be ignored 182 | *.[Cc]ache 183 | # but keep track of directories ending in .cache 184 | !*.[Cc]ache/ 185 | 186 | # Others 187 | ClientBin/ 188 | ~$* 189 | *~ 190 | *.dbmdl 191 | *.dbproj.schemaview 192 | *.jfm 193 | *.pfx 194 | *.publishsettings 195 | node_modules/ 196 | orleans.codegen.cs 197 | 198 | # Since there are multiple workflows, uncomment next line to ignore bower_components 199 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) 200 | #bower_components/ 201 | 202 | # RIA/Silverlight projects 203 | Generated_Code/ 204 | 205 | # Backup & report files from converting an old project file 206 | # to a newer Visual Studio version. Backup files are not needed, 207 | # because we have git ;-) 208 | _UpgradeReport_Files/ 209 | Backup*/ 210 | UpgradeLog*.XML 211 | UpgradeLog*.htm 212 | 213 | # SQL Server files 214 | *.mdf 215 | *.ldf 216 | 217 | # Business Intelligence projects 218 | *.rdl.data 219 | *.bim.layout 220 | *.bim_*.settings 221 | 222 | # Microsoft Fakes 223 | FakesAssemblies/ 224 | 225 | # GhostDoc plugin setting file 226 | *.GhostDoc.xml 227 | 228 | # Node.js Tools for Visual Studio 229 | .ntvs_analysis.dat 230 | 231 | # Visual Studio 6 build log 232 | *.plg 233 | 234 | # Visual Studio 6 workspace options file 235 | *.opt 236 | 237 | # Visual Studio LightSwitch build output 238 | **/*.HTMLClient/GeneratedArtifacts 239 | **/*.DesktopClient/GeneratedArtifacts 240 | **/*.DesktopClient/ModelManifest.xml 241 | **/*.Server/GeneratedArtifacts 242 | **/*.Server/ModelManifest.xml 243 | _Pvt_Extensions 244 | 245 | # Paket dependency manager 246 | .paket/paket.exe 247 | paket-files/ 248 | 249 | # FAKE - F# Make 250 | .fake/ 251 | 252 | # JetBrains Rider 253 | .idea/ 254 | *.sln.iml 255 | 256 | # CodeRush 257 | .cr/ 258 | 259 | # Python Tools for Visual Studio (PTVS) 260 | __pycache__/ 261 | *.pyc 262 | /ObjDir/2017/DrawingsManager 263 | -------------------------------------------------------------------------------- /DrawingsManager/Properties/Resources.resx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | 121 | 122 | ..\Resources\Logo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 123 | 124 | -------------------------------------------------------------------------------- /DrawingsManager/DrawingsManager.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Debug 7 | AnyCPU 8 | {71802809-2D4F-46B8-88EC-D762127B13ED} 9 | WinExe 10 | DrawingsManager 11 | DrawingsManager 12 | v4.6.1 13 | 512 14 | true 15 | 16 | 17 | 18 | 19 | AnyCPU 20 | true 21 | full 22 | false 23 | bin\Debug\ 24 | DEBUG;TRACE 25 | prompt 26 | 4 27 | 28 | 29 | AnyCPU 30 | pdbonly 31 | true 32 | bin\Release\ 33 | TRACE 34 | prompt 35 | 4 36 | 37 | 38 | 39 | ..\packages\CsvHelper.6.1.0\lib\net45\CsvHelper.dll 40 | 41 | 42 | ..\packages\morelinq.2.9.0\lib\net40\MoreLinq.dll 43 | 44 | 45 | ..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll 46 | 47 | 48 | 49 | 50 | ..\packages\System.ValueTuple.4.4.0\lib\net461\System.ValueTuple.dll 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | ..\packages\TeklaOpenAPI.2017.0.6809\lib\Tekla.Application.Library.dll 63 | True 64 | 65 | 66 | ..\packages\TeklaOpenAPI.2017.0.6809\lib\Tekla.Structures.dll 67 | True 68 | 69 | 70 | ..\packages\TeklaOpenAPI.2017.0.6809\lib\Tekla.Structures.Analysis.dll 71 | True 72 | 73 | 74 | ..\packages\TeklaOpenAPI.2017.0.6809\lib\Tekla.Structures.Catalogs.dll 75 | True 76 | 77 | 78 | ..\packages\TeklaOpenAPI.2017.0.6809\lib\Tekla.Structures.Datatype.dll 79 | True 80 | 81 | 82 | ..\packages\TeklaOpenAPI.2017.0.6809\lib\Tekla.Structures.Dialog.dll 83 | True 84 | 85 | 86 | ..\packages\TeklaOpenAPI.2017.0.6809\lib\Tekla.Structures.Drawing.dll 87 | True 88 | 89 | 90 | ..\packages\TeklaOpenAPI.2017.0.6809\lib\Tekla.Structures.Model.dll 91 | True 92 | 93 | 94 | ..\packages\TeklaOpenAPI.2017.0.6809\lib\Tekla.Structures.Plugins.dll 95 | True 96 | 97 | 98 | 99 | 100 | 101 | 102 | Form 103 | 104 | 105 | DrawingManagerForm.cs 106 | 107 | 108 | 109 | 110 | 111 | 112 | DrawingManagerForm.cs 113 | 114 | 115 | ResXFileCodeGenerator 116 | Resources.Designer.cs 117 | Designer 118 | 119 | 120 | True 121 | Resources.resx 122 | True 123 | 124 | 125 | 126 | SettingsSingleFileGenerator 127 | Settings.Designer.cs 128 | 129 | 130 | True 131 | Settings.settings 132 | True 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. 145 | 146 | 147 | 148 | -------------------------------------------------------------------------------- /DrawingsManager/DrawingManagerForm.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace DrawingsManager 2 | { 3 | partial class DrawingManagerForm 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DrawingManagerForm)); 32 | this.panel1 = new System.Windows.Forms.Panel(); 33 | this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); 34 | this.dataGridView1 = new System.Windows.Forms.DataGridView(); 35 | this.pictureBox1 = new System.Windows.Forms.PictureBox(); 36 | this.panel2 = new System.Windows.Forms.Panel(); 37 | this.buttonOpenDrawing = new System.Windows.Forms.Button(); 38 | this.buttonRefresh = new System.Windows.Forms.Button(); 39 | this.label2 = new System.Windows.Forms.Label(); 40 | this.panel3 = new System.Windows.Forms.Panel(); 41 | this.label3 = new System.Windows.Forms.Label(); 42 | this.label1 = new System.Windows.Forms.Label(); 43 | this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); 44 | this.dataGridView2 = new System.Windows.Forms.DataGridView(); 45 | this.panel4 = new System.Windows.Forms.Panel(); 46 | this.richTextBox1 = new System.Windows.Forms.RichTextBox(); 47 | this.listBox1 = new System.Windows.Forms.ListBox(); 48 | this.label4 = new System.Windows.Forms.Label(); 49 | this.panel1.SuspendLayout(); 50 | this.tableLayoutPanel1.SuspendLayout(); 51 | ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); 52 | ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); 53 | this.panel2.SuspendLayout(); 54 | this.panel3.SuspendLayout(); 55 | this.tableLayoutPanel2.SuspendLayout(); 56 | ((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).BeginInit(); 57 | this.panel4.SuspendLayout(); 58 | this.SuspendLayout(); 59 | // 60 | // panel1 61 | // 62 | this.panel1.Controls.Add(this.tableLayoutPanel1); 63 | this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; 64 | this.panel1.Location = new System.Drawing.Point(0, 0); 65 | this.panel1.Name = "panel1"; 66 | this.panel1.Size = new System.Drawing.Size(1459, 692); 67 | this.panel1.TabIndex = 2; 68 | // 69 | // tableLayoutPanel1 70 | // 71 | this.tableLayoutPanel1.ColumnCount = 1; 72 | this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); 73 | this.tableLayoutPanel1.Controls.Add(this.dataGridView1, 0, 2); 74 | this.tableLayoutPanel1.Controls.Add(this.pictureBox1, 0, 0); 75 | this.tableLayoutPanel1.Controls.Add(this.panel2, 0, 1); 76 | this.tableLayoutPanel1.Controls.Add(this.panel3, 0, 3); 77 | this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 0, 4); 78 | this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; 79 | this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); 80 | this.tableLayoutPanel1.Name = "tableLayoutPanel1"; 81 | this.tableLayoutPanel1.RowCount = 5; 82 | this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 60F)); 83 | this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 40F)); 84 | this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 60F)); 85 | this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 40F)); 86 | this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 40F)); 87 | this.tableLayoutPanel1.Size = new System.Drawing.Size(1459, 692); 88 | this.tableLayoutPanel1.TabIndex = 2; 89 | // 90 | // dataGridView1 91 | // 92 | this.dataGridView1.AllowUserToAddRows = false; 93 | this.dataGridView1.AllowUserToDeleteRows = false; 94 | this.dataGridView1.AllowUserToOrderColumns = true; 95 | this.dataGridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.DisplayedCells; 96 | this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.Window; 97 | this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; 98 | this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill; 99 | this.dataGridView1.GridColor = System.Drawing.SystemColors.Control; 100 | this.dataGridView1.Location = new System.Drawing.Point(3, 103); 101 | this.dataGridView1.Name = "dataGridView1"; 102 | this.dataGridView1.ReadOnly = true; 103 | this.dataGridView1.RowTemplate.Height = 24; 104 | this.dataGridView1.Size = new System.Drawing.Size(1453, 325); 105 | this.dataGridView1.TabIndex = 0; 106 | this.dataGridView1.RowEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_RowEnter); 107 | this.dataGridView1.DoubleClick += new System.EventHandler(this.dataGridView1_DoubleClick); 108 | // 109 | // pictureBox1 110 | // 111 | this.pictureBox1.Image = global::DrawingsManager.Properties.Resources.Logo; 112 | this.pictureBox1.Location = new System.Drawing.Point(10, 10); 113 | this.pictureBox1.Margin = new System.Windows.Forms.Padding(10); 114 | this.pictureBox1.Name = "pictureBox1"; 115 | this.pictureBox1.Size = new System.Drawing.Size(163, 40); 116 | this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; 117 | this.pictureBox1.TabIndex = 1; 118 | this.pictureBox1.TabStop = false; 119 | // 120 | // panel2 121 | // 122 | this.panel2.Controls.Add(this.buttonOpenDrawing); 123 | this.panel2.Controls.Add(this.buttonRefresh); 124 | this.panel2.Controls.Add(this.label2); 125 | this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; 126 | this.panel2.Location = new System.Drawing.Point(3, 63); 127 | this.panel2.Name = "panel2"; 128 | this.panel2.Size = new System.Drawing.Size(1453, 34); 129 | this.panel2.TabIndex = 4; 130 | // 131 | // buttonOpenDrawing 132 | // 133 | this.buttonOpenDrawing.Location = new System.Drawing.Point(1190, 0); 134 | this.buttonOpenDrawing.Name = "buttonOpenDrawing"; 135 | this.buttonOpenDrawing.Size = new System.Drawing.Size(127, 35); 136 | this.buttonOpenDrawing.TabIndex = 1; 137 | this.buttonOpenDrawing.Text = "Open"; 138 | this.buttonOpenDrawing.UseVisualStyleBackColor = true; 139 | this.buttonOpenDrawing.Click += new System.EventHandler(this.buttonOpenDrawing_Click); 140 | // 141 | // buttonRefresh 142 | // 143 | this.buttonRefresh.Location = new System.Drawing.Point(1323, 0); 144 | this.buttonRefresh.Name = "buttonRefresh"; 145 | this.buttonRefresh.Size = new System.Drawing.Size(127, 35); 146 | this.buttonRefresh.TabIndex = 0; 147 | this.buttonRefresh.Text = "Refresh"; 148 | this.buttonRefresh.UseVisualStyleBackColor = true; 149 | this.buttonRefresh.Click += new System.EventHandler(this.buttonRefresh_Click); 150 | // 151 | // label2 152 | // 153 | this.label2.AutoSize = true; 154 | this.label2.Location = new System.Drawing.Point(4, 16); 155 | this.label2.Name = "label2"; 156 | this.label2.Size = new System.Drawing.Size(85, 17); 157 | this.label2.TabIndex = 0; 158 | this.label2.Text = "Drawing List"; 159 | // 160 | // panel3 161 | // 162 | this.panel3.Controls.Add(this.label4); 163 | this.panel3.Controls.Add(this.label3); 164 | this.panel3.Controls.Add(this.label1); 165 | this.panel3.Dock = System.Windows.Forms.DockStyle.Fill; 166 | this.panel3.Location = new System.Drawing.Point(3, 434); 167 | this.panel3.Name = "panel3"; 168 | this.panel3.Size = new System.Drawing.Size(1453, 34); 169 | this.panel3.TabIndex = 5; 170 | // 171 | // label3 172 | // 173 | this.label3.AutoSize = true; 174 | this.label3.Location = new System.Drawing.Point(823, 16); 175 | this.label3.Name = "label3"; 176 | this.label3.Size = new System.Drawing.Size(102, 17); 177 | this.label3.TabIndex = 1; 178 | this.label3.Text = "Json Part Data"; 179 | // 180 | // label1 181 | // 182 | this.label1.AutoSize = true; 183 | this.label1.Location = new System.Drawing.Point(4, 16); 184 | this.label1.Name = "label1"; 185 | this.label1.Size = new System.Drawing.Size(103, 17); 186 | this.label1.TabIndex = 0; 187 | this.label1.Text = "Bill of Materials"; 188 | // 189 | // tableLayoutPanel2 190 | // 191 | this.tableLayoutPanel2.ColumnCount = 3; 192 | this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 74.211F)); 193 | this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25.789F)); 194 | this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 343F)); 195 | this.tableLayoutPanel2.Controls.Add(this.dataGridView2, 0, 0); 196 | this.tableLayoutPanel2.Controls.Add(this.panel4, 1, 0); 197 | this.tableLayoutPanel2.Controls.Add(this.listBox1, 2, 0); 198 | this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill; 199 | this.tableLayoutPanel2.Location = new System.Drawing.Point(3, 474); 200 | this.tableLayoutPanel2.Name = "tableLayoutPanel2"; 201 | this.tableLayoutPanel2.RowCount = 1; 202 | this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); 203 | this.tableLayoutPanel2.Size = new System.Drawing.Size(1453, 215); 204 | this.tableLayoutPanel2.TabIndex = 6; 205 | // 206 | // dataGridView2 207 | // 208 | this.dataGridView2.AllowUserToAddRows = false; 209 | this.dataGridView2.AllowUserToDeleteRows = false; 210 | this.dataGridView2.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.DisplayedCells; 211 | this.dataGridView2.BackgroundColor = System.Drawing.SystemColors.Window; 212 | this.dataGridView2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; 213 | this.dataGridView2.Dock = System.Windows.Forms.DockStyle.Fill; 214 | this.dataGridView2.GridColor = System.Drawing.SystemColors.Control; 215 | this.dataGridView2.Location = new System.Drawing.Point(3, 3); 216 | this.dataGridView2.Name = "dataGridView2"; 217 | this.dataGridView2.ReadOnly = true; 218 | this.dataGridView2.RowTemplate.Height = 24; 219 | this.dataGridView2.Size = new System.Drawing.Size(817, 209); 220 | this.dataGridView2.TabIndex = 0; 221 | // 222 | // panel4 223 | // 224 | this.panel4.Controls.Add(this.richTextBox1); 225 | this.panel4.Dock = System.Windows.Forms.DockStyle.Fill; 226 | this.panel4.Location = new System.Drawing.Point(826, 3); 227 | this.panel4.Name = "panel4"; 228 | this.panel4.Size = new System.Drawing.Size(280, 209); 229 | this.panel4.TabIndex = 1; 230 | // 231 | // richTextBox1 232 | // 233 | this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Fill; 234 | this.richTextBox1.Location = new System.Drawing.Point(0, 0); 235 | this.richTextBox1.Name = "richTextBox1"; 236 | this.richTextBox1.Size = new System.Drawing.Size(280, 209); 237 | this.richTextBox1.TabIndex = 0; 238 | this.richTextBox1.Text = ""; 239 | // 240 | // listBox1 241 | // 242 | this.listBox1.Dock = System.Windows.Forms.DockStyle.Fill; 243 | this.listBox1.FormattingEnabled = true; 244 | this.listBox1.ItemHeight = 16; 245 | this.listBox1.Location = new System.Drawing.Point(1112, 3); 246 | this.listBox1.Name = "listBox1"; 247 | this.listBox1.Size = new System.Drawing.Size(338, 209); 248 | this.listBox1.TabIndex = 2; 249 | // 250 | // label4 251 | // 252 | this.label4.AutoSize = true; 253 | this.label4.Location = new System.Drawing.Point(1109, 16); 254 | this.label4.Name = "label4"; 255 | this.label4.Size = new System.Drawing.Size(89, 17); 256 | this.label4.TabIndex = 2; 257 | this.label4.Text = "Revision Info"; 258 | // 259 | // DrawingManagerForm 260 | // 261 | this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); 262 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 263 | this.AutoScroll = true; 264 | this.ClientSize = new System.Drawing.Size(1459, 692); 265 | this.Controls.Add(this.panel1); 266 | this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); 267 | this.Name = "DrawingManagerForm"; 268 | this.Text = "Drawing Manager"; 269 | this.Load += new System.EventHandler(this.DrawingManager_Load); 270 | this.panel1.ResumeLayout(false); 271 | this.tableLayoutPanel1.ResumeLayout(false); 272 | ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); 273 | ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); 274 | this.panel2.ResumeLayout(false); 275 | this.panel2.PerformLayout(); 276 | this.panel3.ResumeLayout(false); 277 | this.panel3.PerformLayout(); 278 | this.tableLayoutPanel2.ResumeLayout(false); 279 | ((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).EndInit(); 280 | this.panel4.ResumeLayout(false); 281 | this.ResumeLayout(false); 282 | 283 | } 284 | 285 | #endregion 286 | private System.Windows.Forms.Panel panel1; 287 | private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; 288 | private System.Windows.Forms.DataGridView dataGridView1; 289 | private System.Windows.Forms.PictureBox pictureBox1; 290 | private System.Windows.Forms.Panel panel2; 291 | private System.Windows.Forms.Panel panel3; 292 | private System.Windows.Forms.DataGridView dataGridView2; 293 | private System.Windows.Forms.Label label2; 294 | private System.Windows.Forms.Label label1; 295 | private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2; 296 | private System.Windows.Forms.Panel panel4; 297 | private System.Windows.Forms.Button buttonRefresh; 298 | private System.Windows.Forms.RichTextBox richTextBox1; 299 | private System.Windows.Forms.Label label3; 300 | private System.Windows.Forms.Button buttonOpenDrawing; 301 | private System.Windows.Forms.ListBox listBox1; 302 | private System.Windows.Forms.Label label4; 303 | } 304 | } 305 | 306 | -------------------------------------------------------------------------------- /DrawingsManager/DrawingManagerForm.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections; 3 | using System.Collections.Generic; 4 | using System.Drawing; 5 | using System.Linq; 6 | using System.Windows.Forms; 7 | using MoreLinq; 8 | using Tekla.Structures; 9 | using Tekla.Structures.Drawing; 10 | using Tekla.Structures.Model; 11 | using Color = System.Drawing.Color; 12 | using ModelObject = Tekla.Structures.Model.ModelObject; 13 | using Part = Tekla.Structures.Model.Part; 14 | 15 | namespace DrawingsManager 16 | { 17 | public partial class DrawingManagerForm : Form 18 | { 19 | private readonly Model _model = new Model(); 20 | private readonly DrawingHandler _drawingHandler = new DrawingHandler(); 21 | private List _drawings; 22 | private readonly Tekla.Structures.Model.Events _events = new Tekla.Structures.Model.Events(); 23 | private object _selectionEventHandlerLock = new object(); 24 | private object _changedObjectHandlerLock = new object(); 25 | 26 | 27 | public DrawingManagerForm() 28 | { 29 | InitializeComponent(); 30 | RegisterEventHandler(); 31 | } 32 | 33 | private void DrawingManager_Load(object sender, EventArgs e) 34 | { 35 | _drawings = _drawingHandler.GetDrawings().ToAList(); 36 | 37 | AddDrawingsToDataGridView(); 38 | } 39 | 40 | private void AddDrawingsToDataGridView() 41 | { 42 | if (_drawingHandler.GetConnectionStatus()) 43 | { 44 | var revisions = new List(0); 45 | 46 | var drawingItems = _drawings.AsParallel().Select(d => 47 | { 48 | var part = GetPart(d); 49 | var assy_pos = string.Empty; 50 | var part_pos = string.Empty; 51 | part?.GetReportProperty("ASSEMBLY_POS", ref assy_pos); 52 | part?.GetReportProperty("PART_POS", ref part_pos); 53 | 54 | var revisionMark = string.Empty; 55 | part?.GetReportProperty("DRAWING.REVISION.MARK", ref revisionMark); 56 | var revisionDescription = string.Empty; 57 | part?.GetReportProperty("DRAWING.REVISION.DESCRIPTION", ref revisionDescription); 58 | 59 | var revisionlastMark = string.Empty; 60 | part?.GetReportProperty("DRAWING.REVISION.LAST_MARK", ref revisionlastMark); 61 | 62 | var revisionItem = new 63 | { 64 | Mark = revisionMark, 65 | Description = revisionDescription, 66 | }; 67 | 68 | revisions.Add(revisionItem); 69 | 70 | var size = Math.Round(d.Layout.SheetSize.Width / 25.4, 1) 71 | + "x" + Math.Round(d.Layout.SheetSize.Height / 25.4, 1); 72 | 73 | var drawingItem = new 74 | { 75 | Size = size, 76 | Status = d.UpToDateStatus.ToString(), 77 | Type = GetDrawingTypeCharacter(d), 78 | DrawingMark = d.Mark, 79 | AssyMark = assy_pos, 80 | PartMark = part_pos, 81 | Name = d.Name, 82 | Rev = revisionMark, 83 | RevDescription = revisionDescription, 84 | CreationDate = d.CreationDate, 85 | ModificationDate = d.ModificationDate, 86 | Title1 = d.Title1, 87 | Title2 = d.Title2, 88 | Title3 = d.Title3, 89 | Id = part?.Identifier.ID, 90 | }; 91 | return drawingItem; 92 | }).ToList(); 93 | 94 | dataGridView1.DataSource = 95 | drawingItems 96 | .OrderBy(d => d.Type) 97 | .ThenBy(d => d.DrawingMark) 98 | .ThenBy(d => d.PartMark) 99 | .ThenBy(d => d.AssyMark) 100 | .ToList(); 101 | 102 | var rows = dataGridView1.Rows.OfType().ToList(); 103 | rows.ForEach(r => 104 | { 105 | dynamic item = r.DataBoundItem; 106 | var status = item.Status; 107 | if (status == "DrawingIsUpToDate") 108 | { 109 | r.DefaultCellStyle.BackColor = Color.LightGreen; 110 | r.DefaultCellStyle.ForeColor = Color.Black; 111 | } 112 | else if (status == "PartsWereModified") 113 | { 114 | r.DefaultCellStyle.BackColor = Color.LightGoldenrodYellow; 115 | r.DefaultCellStyle.ForeColor = Color.Crimson; 116 | } 117 | else if (status == "DrawingWasCloned") 118 | { 119 | r.DefaultCellStyle.BackColor = Color.LightSkyBlue; 120 | } 121 | else if (status == "DrawingIsUpToDateButMayNeedChecking") 122 | { 123 | r.DefaultCellStyle.BackColor = Color.Coral; 124 | } 125 | else if (status == "NumberOfPartsInNumberingSeriesIncreased") 126 | { 127 | r.DefaultCellStyle.BackColor = Color.DarkGoldenrod; 128 | } 129 | else if (status == "AllPartsDeleted") 130 | { 131 | r.DefaultCellStyle.BackColor = Color.DarkGray; 132 | } 133 | else if (status == "OriginalPartDeleted") 134 | { 135 | r.DefaultCellStyle.BackColor = Color.CadetBlue; 136 | } 137 | }); 138 | 139 | } 140 | } 141 | 142 | private string GetDrawingTypeCharacter(Drawing drawingInstance) 143 | { 144 | string result = "U"; // Unknown drawing 145 | 146 | if (drawingInstance is GADrawing) 147 | result = "G"; 148 | else if (drawingInstance is AssemblyDrawing) 149 | result = "A"; 150 | else if (drawingInstance is CastUnitDrawing) 151 | result = "C"; 152 | else if (drawingInstance is MultiDrawing) 153 | result = "M"; 154 | else if (drawingInstance is SinglePartDrawing) 155 | result = "W"; 156 | return result; 157 | } 158 | 159 | public ModelObject GetPart(Drawing drawing) 160 | { 161 | if (drawing is AssemblyDrawing) 162 | { 163 | var part = 164 | new Model().SelectModelObject(((AssemblyDrawing) drawing).AssemblyIdentifier); 165 | return part; 166 | } 167 | if (drawing is SinglePartDrawing) 168 | { 169 | var part = 170 | new Model().SelectModelObject(((SinglePartDrawing) drawing).PartIdentifier); 171 | return part; 172 | } 173 | return null; 174 | } 175 | 176 | private void dataGridView1_RowEnter(object sender, DataGridViewCellEventArgs e) 177 | { 178 | var rows = dataGridView1.SelectedRows.OfType().ToList(); 179 | 180 | var members = new ArrayList(); 181 | rows.ForEach(row => 182 | { 183 | dynamic r = row.DataBoundItem; 184 | if (r.Id == null) return; 185 | var id = (int)r.Id; 186 | var modelObject = _model.SelectModelObject(new Identifier(id)); 187 | members.Add(modelObject); 188 | 189 | }); 190 | 191 | new Tekla.Structures.Model.UI.ModelObjectSelector().Select(members); 192 | 193 | CreateBom(rows); 194 | CreateRevisionItem(rows); 195 | } 196 | 197 | private void CreateRevisionItem(List rows) 198 | { 199 | var revisionDetails = new List(); 200 | 201 | rows 202 | .Where(r => ((dynamic) r.DataBoundItem).Id != null) 203 | .OrderBy(r => ((dynamic) r.DataBoundItem).AssyMark) 204 | .ForEach(row => 205 | { 206 | dynamic r = row.DataBoundItem; 207 | var id = (int) r.Id; 208 | var part = _model.SelectModelObject(new Identifier(id)); 209 | 210 | var revisionMark = string.Empty; 211 | part?.GetReportProperty("DRAWING.REVISION.MARK", ref revisionMark); 212 | var revisionDescription = string.Empty; 213 | part?.GetReportProperty("DRAWING.REVISION.DESCRIPTION", ref revisionDescription); 214 | 215 | var revisionlastMark = string.Empty; 216 | part?.GetReportProperty("DRAWING.REVISION.LAST_MARK", ref revisionlastMark); 217 | 218 | var assy_pos = string.Empty; 219 | var part_pos = string.Empty; 220 | part?.GetReportProperty("ASSEMBLY_POS", ref assy_pos); 221 | part?.GetReportProperty("PART_POS", ref part_pos); 222 | 223 | revisionDetails.Add("Assembly Mark: " + assy_pos); 224 | if(!string.IsNullOrEmpty(part_pos)) 225 | revisionDetails.Add("Part Mark: " + part_pos); 226 | revisionDetails.Add("Rev: " + revisionlastMark); 227 | revisionDetails.Add("Description: " + revisionDescription); 228 | revisionDetails.Add("-----------------------------------------------------------------"); 229 | }); 230 | 231 | listBox1.BeginInvoke((Action)(() => 232 | { 233 | listBox1.DataSource = revisionDetails; 234 | })); 235 | } 236 | 237 | private void CreateBom(List rows) 238 | { 239 | if(!rows.Any()) return; 240 | 241 | var allParts = new List(); 242 | 243 | var parts = rows 244 | .Where(r => ((dynamic)r.DataBoundItem).Id != null) 245 | .OrderBy(r => ((dynamic)r.DataBoundItem).AssyMark) 246 | .SelectMany(row => 247 | { 248 | dynamic r = row.DataBoundItem; 249 | var id = (int)r.Id; 250 | var modelObject = _model.SelectModelObject(new Identifier(id)); 251 | 252 | var assyPos = string.Empty; 253 | var partPos = string.Empty; 254 | var name = string.Empty; 255 | var profile = string.Empty; 256 | var material = string.Empty; 257 | var topLevel = string.Empty; 258 | var finish = string.Empty; 259 | 260 | var secondaries = new List(); 261 | if (modelObject is Assembly) 262 | { 263 | var part = ((Assembly)modelObject).GetMainPart() as Tekla.Structures.Model.Part; 264 | ((Assembly)modelObject).GetReportProperty("ASSEMBLY_POS", ref assyPos); 265 | part?.GetReportProperty("PART_POS", ref partPos); 266 | part?.GetReportProperty("NAME", ref name); 267 | part?.GetReportProperty("PROFILE", ref profile); 268 | part?.GetReportProperty("MATERIAL", ref material); 269 | part?.GetReportProperty("TOP_LEVEL", ref topLevel); 270 | part?.GetReportProperty("FINISH", ref finish); 271 | 272 | secondaries = ((Assembly)modelObject).GetSecondaries().OfType().ToList(); 273 | 274 | allParts.Add(part); 275 | } 276 | else if (modelObject is Part) 277 | { 278 | var part = modelObject as Tekla.Structures.Model.Part; 279 | part?.GetReportProperty("ASSEMBLY_POS", ref assyPos); 280 | part?.GetReportProperty("PART_POS", ref partPos); 281 | part?.GetReportProperty("NAME", ref name); 282 | part?.GetReportProperty("PROFILE", ref profile); 283 | part?.GetReportProperty("MATERIAL", ref material); 284 | part?.GetReportProperty("TOP_LEVEL", ref topLevel); 285 | part?.GetReportProperty("FINISH", ref finish); 286 | 287 | allParts.Add(part); 288 | } 289 | 290 | var views = new List(); 291 | var view = new 292 | { 293 | AssyMark = assyPos, 294 | PartMark = partPos, 295 | Name = name, 296 | Profile = profile, 297 | Material = material, 298 | Finish = finish, 299 | TopLevel = topLevel, 300 | }; 301 | 302 | var secViews = secondaries.Select(s => 303 | { 304 | s?.GetReportProperty("ASSEMBLY_POS", ref assyPos); 305 | s?.GetReportProperty("PART_POS", ref partPos); 306 | s?.GetReportProperty("NAME", ref name); 307 | s?.GetReportProperty("PROFILE", ref profile); 308 | s?.GetReportProperty("MATERIAL", ref material); 309 | s?.GetReportProperty("TOP_LEVEL", ref topLevel); 310 | s?.GetReportProperty("FINISH", ref finish); 311 | 312 | allParts.Add(s); 313 | 314 | return new 315 | { 316 | AssyMark = string.Empty, 317 | PartMark = partPos, 318 | Name = name, 319 | Profile = profile, 320 | Material = material, 321 | Finish = finish, 322 | TopLevel = topLevel, 323 | }; 324 | }) 325 | .OrderBy(s => s.PartMark) 326 | .ToList(); 327 | 328 | views.Add(view); 329 | views.AddRange(secViews); 330 | 331 | return views; 332 | 333 | }).ToList(); 334 | 335 | dataGridView1.BeginInvoke((Action) (() => 336 | { 337 | dataGridView1.ClearSelection(); 338 | rows.ForEach(r => 339 | { 340 | r.Selected = true; 341 | }); 342 | })); 343 | 344 | dataGridView2.BeginInvoke((Action)(() => 345 | { 346 | dataGridView2.DataSource = parts.ToList(); 347 | 348 | var gridRows = dataGridView2.Rows.OfType().ToList(); 349 | gridRows.ForEach(r => 350 | { 351 | dynamic item = r.DataBoundItem; 352 | if (item.AssyMark == item.PartMark) 353 | { 354 | r.DefaultCellStyle.Font = new Font(FontFamily.GenericSansSerif, 9, FontStyle.Bold); 355 | r.DefaultCellStyle.BackColor = Color.LightCyan; 356 | r.DefaultCellStyle.ForeColor = Color.Black; 357 | } 358 | }); 359 | })); 360 | 361 | richTextBox1.BeginInvoke((Action) (() => 362 | { 363 | richTextBox1.Text = allParts.ToJson(); 364 | })); 365 | } 366 | 367 | private void buttonRefresh_Click(object sender, EventArgs e) 368 | { 369 | _drawings = _drawingHandler.GetDrawings().ToAList(); 370 | AddDrawingsToDataGridView(); 371 | } 372 | 373 | private void buttonOpenDrawing_Click(object sender, EventArgs e) 374 | { 375 | OpenDrawing(); 376 | } 377 | 378 | private void dataGridView1_DoubleClick(object sender, EventArgs e) 379 | { 380 | OpenDrawing(); 381 | } 382 | 383 | private void OpenDrawing() 384 | { 385 | var row = dataGridView1.CurrentRow?.DataBoundItem; 386 | dynamic item = row; 387 | if (item == null) return; 388 | 389 | Drawing drawing; 390 | if (item.PartMark.ToString() != string.Empty) 391 | { 392 | var sdm = new SingleDrawingManager(); 393 | drawing = sdm.GetSinglePartDrawing(item.PartMark.ToString()); 394 | sdm.Handler.CloseActiveDrawing(); 395 | sdm.SetActiveDrawing(drawing); 396 | return; 397 | } 398 | 399 | if (item.PartMark.ToString() != string.Empty || item.AssyMark.ToString() == string.Empty) return; 400 | 401 | var adm = new AssemblyDrawingManager(); 402 | drawing = adm.GetAssemblyDrawing(item.AssyMark.ToString()); 403 | adm.Handler.CloseActiveDrawing(); 404 | adm.SetActiveDrawing(drawing); 405 | } 406 | 407 | public void RegisterEventHandler() 408 | { 409 | _events.SelectionChange += Events_SelectionChangeEvent; 410 | _events.ModelObjectChanged += Events_ModelObjectChangedEvent; 411 | _events.Register(); 412 | } 413 | 414 | public void UnRegisterEventHandler() 415 | { 416 | _events.UnRegister(); 417 | } 418 | 419 | void Events_SelectionChangeEvent() 420 | { 421 | /* Make sure that the inner code block is running synchronously */ 422 | lock (_selectionEventHandlerLock) 423 | { 424 | System.Console.WriteLine("Selection changed event received."); 425 | 426 | var selection = new Tekla.Structures.Model.UI.ModelObjectSelector() 427 | .GetSelectedObjects() 428 | .ToAList(); 429 | if (!selection.Any()) return; 430 | var rawRows = dataGridView1.Rows.OfType().ToList(); 431 | 432 | var assemblies = selection.Select(p => p.GetAssembly()); 433 | 434 | var rows = rawRows.AsParallel().Where(r => 435 | { 436 | dynamic item = r.DataBoundItem; 437 | if (item.Id == null) return false; 438 | var id = (int)item.Id; 439 | return assemblies.FirstOrDefault(p => p.Identifier.ID == id) != null; 440 | }).ToList(); 441 | 442 | CreateBom(rows); 443 | } 444 | } 445 | 446 | void Events_ModelObjectChangedEvent(List changes) 447 | { 448 | /* Make sure that the inner code block is running synchronously */ 449 | lock (_changedObjectHandlerLock) 450 | { 451 | foreach (ChangeData data in changes) 452 | System.Console.WriteLine("Changed event received " + ":" + data.Object.ToString() + ":" + " Type" + ":" + data.Type.ToString() + " guid: " + data.Object.Identifier.GUID.ToString()); 453 | System.Console.WriteLine("Changed event received for " + changes.Count.ToString() + " objects"); 454 | } 455 | } 456 | } 457 | } 458 | -------------------------------------------------------------------------------- /DrawingsManager/DrawingManagerForm.resx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter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mnDz/5pw8/+acPP/mnDz/5pw8/+acPP/mnDz/5pw8/+ac 173 | PP/mnDz/5pw8/+acPP/mnDz/5pw8/+acPP/lmzz/6qI+//m3RP/8vEb//b1GFQAAAAAAAAAAAAAAAAAA 174 | AAAAAAAAAAAAAAAAAAAAAAAA/IxFZ/yMRf/8jEX//YtF//KUQf/nmzz/5508/+ecPP/mnDz/5pw8/+ac 175 | PP/mmzz/5Zw8/+WcO//kmzv/5Zs7/+SbO//imTv/4pk7/9+UNf/kplT/559B/+abO//mnDz/5pw8/+ac 176 | PP/mnDz/5pw8/+acPP/mnDz/5pw8/+acPP/mnDz/5pw8/+acPP/mnDz/5549//azQ//+vkb//LxG//y8 177 | Rv/9vUYVAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD8jEVn/IxF//yMRf/8jEX//IxF//2L 178 | Rf/Xijr/0Iw2/8+MNv/PjDb/z4w2/8+LNv/Pizb/zos2/86MNv/PjDb/z4w2/8+LNf/PjDb/7di8//// 179 | ///vwYT/6q1e/+acPP/mnDz/5pw8/+acPP/mnDz/5pw8/+acPP/mnDz/5pw8/+acPP/mnDz/5pw8//Cq 180 | Qf/9vUb//LxG//y8Rv/8vEb//LxG//29RhUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPyM 181 | RWf8jEX//IxF//yMRf/8jEX//IxF//GGQv/gfz7/0os3/8+MNv/PjDb/z4w2/8+MNv/PjDb/z4w2/8+M 182 | Nf/OizT/3rF4//////////////79/++/gf/wxIr/8MWL/+mkTP/mmzv/5pw8/+acPP/mnDz/5pw8/+ac 183 | PP/mnDz/5pw8/+ykP//9vUb//LxG//y8Rv/8vEb//LxG//y8Rv/8vEb//b1GFQAAAAAAAAAAAAAAAAAA 184 | AAAAAAAAAAAAAAAAAAAAAAAA/IxFZ/yMRf/8jEX//IxF//yMRf/8jEX//Y1F/+R/P//ifj7/3YI8/8+M 185 | N//PjDb/z4w2/8+MNv/PizT/16Vh//v48////////////////////v3/77+B//DEiv/wxIr/8MSM/++9 186 | ff/nnkD/5pw8/+acPP/mnDz/5pw8/+mgPv/5t0T//b1G//y8Rv/8vEb//LxG//y8Rv/8vEb//LxG//y8 187 | Rv/9vUYVAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD8jEVn/IxF//yMRf/8jEX//IxF//yM 188 | Rf/8jEX/8oZC/+J+Pv/ifj7/4n4+/9uEO//OjDb/zokv//r17f/////////////////////////////+ 189 | /f/vv4H/8MSK//DEiv/wxIr/8MSK//DEiv/uuXX/5ps6/+WbPP/3tET//LxG//y8Rv/8vEb//LxG//y8 190 | Rv/8vEb//LxG//y8Rv/8vEb//LxG//29RhUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPyM 191 | RWf8jEX//IxF//yMRf/8jEX//IxF//yMRf/+jUX/5IA//+J+Pv/ifj7/4n4+/+OHSf////////////// 192 | //////////////////////////79/++/gf/wxIr/8MSK//DEiv/wxIr/8MSK//DEiv/2z5T/+71H//y8 193 | Rv/8vEb//LxG//y8Rv/8vEb//LxG//y8Rv/8vEb//LxG//y8Rv/8vEb//b1GFQAAAAAAAAAAAAAAAAAA 194 | AAAAAAAAAAAAAAAAAAAAAAAA/IxFZ/yMRf/8jEX//IxF//yMRf/8jEX//IxF//yMRf/1iEP/4H0+/+J+ 195 | Pv/ifj7/44dJ/////////////////////////////////////////v3/77+B//DEiv/wxIr/8MSK//DD 196 | iv/0yoz//NWQ//3bl//8vEf//LxG//y8Rv/8vEb//LxG//y8Rv/8vEb//LxG//y8Rv/8vEb//LxG//y8 197 | Rv/9vUYVAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD8jEVn/IxF//yMRf/8jEX//IxF//yM 198 | Rf/8jEX//IxF//2MRf/ngED/4n4+/+J+Pv/jh0n////////////////////////////////////////+ 199 | /f/vv4H/8MSK//DEiv/xxYr/+9SP//3XkP/915D//dqX//y8R//8vEb//LxG//y8Rv/8vEb//LxG//y8 200 | Rv/8vEb//LxG//y8Rv/8vEb//LxG//29RhUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPyM 201 | RWf8jEX//IxF//yMRf/8jEX//IxF//yMRf/8jEX//IxF//WIQ//hfj7/4n4+/+OHSf////////////// 202 | //////////////////////////79/++/gf/xxYr/+M+N//3XkP/915D//deQ//3XkP/92pf//LxH//y8 203 | Rv/8vEb//LxG//y8Rv/8vEb//LxG//y8Rv/8vEb//LxG//y8Rv/8vEb//b1GFQAAAAAAAAAAAAAAAAAA 204 | AAAAAAAAAAAAAAAAAAAAAAAA/IxFZ/yMRf/8jEX//IxF//yMRf/8jEX//IxF//yMRf/8jEX//YxF/+aA 205 | P//ifj7/44dJ////////////////////////////////////////////9ceD//zWkP/92JD//deQ//3X 206 | kP/915D//deQ//3al//8vEf//LxG//y8Rv/8vEb//LxG//y8Rv/8vEb//LxG//y8Rv/8vEb//LxG//y8 207 | Rv/9vUYVAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD8jEVn/IxF//yMRf/8jEX//IxF//yM 208 | Rf/8jEX//IxF//yMRf/8jEX/94lE/+F+Pv/jh0n//////////////////////////////////u7k//3B 209 | mv/92ZD//deQ//3XkP/915D//deQ//3XkP/915D//dqX//y8R//8vEb//LxG//y8Rv/8vEb//LxG//y8 210 | Rv/8vEb//LxG//y8Rv/8vEb//LxG//29RhUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPyM 211 | RWf8jEX//IxF//yMRf/8jEX//IxF//yMRf/8jEX//IxF//yMRf/9jEX/54BA/+OISf////////////// 212 | //////////j0//7OsP/9t4r//buP//3ZkP/915D//deQ//3XkP/915D//deQ//3XkP/92pf//LxH//y8 213 | Rv/8vEb//LxG//y8Rv/8vEb//LxG//y8Rv/8vEb//LxG//y8Rv/8vEb//b1GFQAAAAAAAAAAAAAAAAAA 214 | AAAAAAAAAAAAAAAAAAAAAAAA/IxFZ/yMRf/8jEX//IxF//yMRf/8jEX//IxF//yMRf/8jEX//IxF//yM 215 | Rf/4ikT/44ZJ//////////////z6//7aw//9ton//bqP//26j//9uo///dmQ//3XkP/915D//deQ//3X 216 | kP/915D//deQ//3al//8vEf//LxG//y8Rv/8vEb//LxG//y8Rv/8vEb//LxG//y8Rv/8vEb//LxG//y8 217 | Rv/9vUYVAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD8jEVn/IxF//yMRf/8jEX//IxF//yM 218 | Rf/8jEX//IxF//yMRf/8jEX//IxF//yMRf/ri0v////////t4//9uY3//bqP//26j//9uo///bqP//26 219 | j//92ZD//deQ//3XkP/915D//deQ//3XkP/915D//dqX//y8R//8vEb//LxG//y8Rv/8vEb//LxG//y8 220 | Rv/8vEb//LxG//y8Rv/8vEb//LxG//29RhUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPyM 221 | RWf8jEX//IxF//yMRf/8jEX//IxF//yMRf/8jEX//IxF//yMRf/8jEX//IxF//qSTf/9v5f//bqQ//26 222 | j//9uo///bqP//26j//9uo///bqP//3ZkP/915D//deQ//3XkP/915D//deQ//3XkP/91o7//LxH//y8 223 | Rv/8vEb//LxG//y8Rv/8vEb//LxG//y8Rv/8vEb//LxG//y8Rv/8vEb//b1GFQAAAAAAAAAAAAAAAAAA 224 | AAAAAAAAAAAAAAAAAAAAAAAA/IxFZ/yMRf/8jEX//IxF//yMRf/8jEX//IxF//yMRf/8jEX//IxF//yM 225 | Rf/8jEX//IxF//yKQv/8pWz//buR//26j//9uo///bqP//26j//9uo///dmQ//3XkP/915D//deQ//3X 226 | kP/915H//MZi//y7RP/8vEb//LxG//y8Rv/8vEb//LxG//y8Rv/8vEb//LxG//y8Rv/8vEb//LxG//y8 227 | Rv/9vUYVAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD8jEVn/IxF//yMRf/8jEX//IxF//yM 228 | Rf/8jEX//IxF//yMRf/8jEX//IxF//yMRf/8jEX//IxF//yMRf/8jUb//bSE//26j//9uo///bqP//26 229 | j//92ZD//deQ//3XkP/915H//cxz//y8R//8vEb//LxG//y8Rv/8vEb//LxG//y8Rv/8vEb//LxG//y8 230 | Rv/8vEb//LxG//y8Rv/8vEb//LxG//29RhUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPyM 231 | RWf8jEX//IxF//yMRf/8jEX//IxF//yMRf/8jEX//IxF//yMRf/8jEX//IxF//yMRf/8jEX//IxF//yM 232 | Rf/8jEX//JJP//23iv/9upD//bqP//3ZkP/915L//dOE//y9R//8vEb//LxG//y8Rv/8vEb//LxG//y8 233 | Rv/8vEb//LxG//y8Rv/8vEb//LxG//y8Rv/8vEb//LxG//y8Rv/8vEb//b1GFQAAAAAAAAAAAAAAAAAA 234 | AAAAAAAAAAAAAAAAAAAAAAAA/IxFZ/yMRf/8jEX//IxF//yMRf/8jEX//IxF//yMRf/8jEX//IxF//yM 235 | Rf/8jEX//IxF//yMRf/8jEX//IxF//yMRf/8jEX//ItE//ydYP/9vJH//deK//zCV//8vEX//LxG//y8 236 | Rv/8vEb//LxG//y8Rv/8vEb//LxG//y8Rv/8vEb//LxG//y8Rv/8vEb//LxG//y8Rv/8vEb//LxG//y8 237 | Rv/9vUYVAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD8jEVn/IxF//yMRf/8jEX//IxF//yM 238 | Rf/8jEX//IxF//yMRf/8jEX//IxF//yMRf/8jEX//IxF//yMRf/8jEX//IxF//yMRf/8jEX//IxE//yP 239 | Sf/8wUj//LxG//y8Rv/8vEb//LxG//y8Rv/8vEb//LxG//y8Rv/8vEb//LxG//y8Rv/8vEb//LxG//y8 240 | Rv/8vEb//LxG//y8Rv/8vEb//LxG//29RhUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPyM 241 | RWb8jEX//IxF//yMRf/8jEX//IxF//yMRf/8jEX//IxF//yMRf/8jEX//IxF//yMRf/8jEX//IxF//yM 242 | Rf/8jEX//IxF//yMRf/8jEX//IxF//zARv/8vEb//LxG//y8Rv/8vEb//LxG//y8Rv/8vEb//LxG//y8 243 | Rv/8vEb//LxG//y8Rv/8vEb//LxG//y8Rv/8vEb//LxG//y8Rv/8vEb//b1GFQAAAAAAAAAAAAAAAAAA 244 | AAAAAAAAAAAAAAAAAAAAAAAA/Y1FVfyMRf/8jEX//IxF//yMRf/8jEX//IxF//yMRf/8jEX//IxF//yM 245 | Rf/8jEX//IxF//yMRf/8jEX//IxF//yMRf/8jEX//IxF//yMRf/8jEX//MBG//y8Rv/8vEb//LxG//y8 246 | Rv/8vEb//LxG//y8Rv/8vEb//LxG//y8Rv/8vEb//LxG//y8Rv/8vEb//LxG//y8Rv/8vEb//LxG//y9 247 | Rv/9vUYRAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP+CRgAAAAAA/ZJGOvyOReL8jEX//IxF//yM 248 | Rf/8jEX//IxF//yMRf/8jEX//IxF//yMRf/8jEX//IxF//yMRf/8jEX//IxF//yMRf/8jEX//IxF//yM 249 | Rf/8wEb//LxG//y8Rv/8vEb//LxG//y8Rv/8vEb//LxG//y8Rv/8vEb//LxG//y8Rv/8vEb//LxG//y8 250 | Rv/8vEb//LxG//y8Rv/8vUa5/r9IFwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 251 | AAAAAAAAAAAAAP2QRXn8jEX0/IxF//yMRf/8jEX//IxF//yMRf/8jEX//IxF//yMRf/8jEX//IxF//yM 252 | Rf/8jEX//IxF//yMRf/8jEX//IxF//zARv/8vEb//LxG//y8Rv/8vEb//LxG//y8Rv/8vEb//LxG//y8 253 | Rv/8vEb//LxG//y8Rv/8vEb//LxG//y8Rv/8vEbl/b1GUwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 254 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAPwAAAAAH8AA+AAAAAAHwADwAAAAAAPAAPAAAAAAA8AA8AAAAAADwADwAAAAAAPAAPAA 293 | AAAAA8AA8AAAAAADwADwAAAAAAPAAPAAAAAAA8AA8AAAAAADwADwAAAAAAPAAPAAAAAAA8AA8AAAAAAD 294 | wADwAAAAAAPAAPAAAAAAA8AA8AAAAAADwADwAAAAAAPAAPAAAAAAA8AA8AAAAAADwADwAAAAAAPAAPAA 295 | AAAAA8AA8AAAAAADwADwAAAAAAPAAPAAAAAAA8AA8AAAAAADwAD4AAAAAAfAAP4AAAAAH8AA/wAAAAB/ 296 | wAD/wAAAAf/AAP/wAAAD/8AA//wAAA//wAD//gAAP//AAP//gAB//8AA///AAf//wAD///AD///AAP// 297 | /A///8AA////P///wAD////////AAA== 298 | 299 | 300 | --------------------------------------------------------------------------------