Skip to content

Commit

Permalink
Обновлены устаревшие ссылки на диск (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
sssenya authored May 14, 2024
1 parent c52490e commit 4777431
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions src/RevitClashes/Models/RevitRepository.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
Expand Down Expand Up @@ -52,7 +52,7 @@ public RevitRepository(Application application, Document document) {

public static string ProfilePath {
get {
var path = @"T:\Проектный институт\Отдел стандартизации BIM и RD\BIM-Ресурсы\5-Надстройки\Bim4Everyone\A101";
var path = @"W:\Проектный институт\Отд.стандарт.BIM и RD\BIM-Ресурсы\5-Надстройки\Bim4Everyone\A101";
if(!Directory.Exists(path)) {
path = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), "dosymep");
}
Expand Down Expand Up @@ -435,4 +435,4 @@ protected T GetPlatformService<T>() {
return ServicesProvider.GetPlatformService<T>();
}
}
}
}
6 changes: 3 additions & 3 deletions src/RevitCopyStandarts/CopyStandartsRevitCommand.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#region Namespaces
#region Namespaces

using System;
using System.Collections.Generic;
Expand Down Expand Up @@ -37,7 +37,7 @@ protected override void Execute(UIApplication uiApplication) {
Document document = uiDocument.Document;

var mainFolder =
@"T:\Проектный институт\Отдел стандартизации BIM и RD\BIM-Ресурсы\5-Надстройки\Bim4Everyone\A101";
@"W:\Проектный институт\Отд.стандарт.BIM и RD\BIM-Ресурсы\5-Надстройки\Bim4Everyone\A101";

mainFolder =
Path.Combine(mainFolder, ModuleEnvironment.RevitVersion, "RevitCopyStandarts");
Expand All @@ -49,4 +49,4 @@ protected override void Execute(UIApplication uiApplication) {
mainWindow.ShowDialog();
}
}
}
}
4 changes: 2 additions & 2 deletions src/RevitFamilyExplorer/OpenFamilyExplorerCommand.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
Expand All @@ -24,7 +24,7 @@ public OpenFamilyExplorerCommand() {
}

protected override void Execute(UIApplication uiApplication) {
var configPath = @"T:\Проектный институт\Отдел стандартизации BIM и RD\BIM-Ресурсы\99.FamilyExplorer";
var configPath = @"W:\Проектный институт\Отд.стандарт.BIM и RD\BIM-Ресурсы\5-Надстройки\99.FamilyExplorer";
configPath = Path.Combine(configPath, uiApplication.Application.VersionNumber);
var dataContext = new FamilyExplorerViewModel(new Models.RevitRepository(uiApplication), new Models.FamilyRepository(configPath));
var panel = new FamilyExplorerPanel() { DataContext = dataContext };
Expand Down
6 changes: 3 additions & 3 deletions src/RevitFamilyExplorer/RegisterFamilyExplorerCommand.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
Expand Down Expand Up @@ -45,7 +45,7 @@ public FamilyExplorerPanelProvider(UIApplication uiApplication) {
public void SetupDockablePane(DockablePaneProviderData data) {
AppDomain.CurrentDomain.AssemblyResolve += AppDomainExtensions.CurrentDomain_AssemblyResolve;
try {
var configPath = @"T:\Проектный институт\Отдел стандартизации BIM и RD\BIM-Ресурсы\5-Надстройки\99.FamilyExplorer";
var configPath = @"W:\Проектный институт\Отд.стандарт.BIM и RD\BIM-Ресурсы\5-Надстройки\99.FamilyExplorer";
configPath = Path.Combine(configPath, _uiApplication.Application.VersionNumber);
_dataContext = new FamilyExplorerViewModel(new Models.RevitRepository(_uiApplication), new Models.FamilyRepository(configPath));
var panel = new FamilyExplorerPanel() { DataContext = _dataContext };
Expand All @@ -68,4 +68,4 @@ private void Panel_Loaded(object sender, System.Windows.RoutedEventArgs e) {
}
}
}
}
}
4 changes: 2 additions & 2 deletions src/RevitLintelPlacement/Models/RevitRepository.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
Expand All @@ -22,7 +22,7 @@ namespace RevitLintelPlacement.Models {

internal class RevitRepository {
private readonly string _view3DName = "3D_Перемычки";
private static readonly string _settingsPath = @"T:\Проектный институт\Отдел стандартизации BIM и RD\BIM-Ресурсы\5-Надстройки\Bim4Everyone\A101\";
private static readonly string _settingsPath = @"W:\Проектный институт\Отд.стандарт.BIM и RD\BIM-Ресурсы\5-Надстройки\Bim4Everyone\A101\";

private readonly BuiltInParameter[] _bottomBarHeightsParams = new[] {
BuiltInParameter.INSTANCE_SILL_HEIGHT_PARAM,
Expand Down

0 comments on commit 4777431

Please sign in to comment.