|
@@ -13,10 +13,7 @@ using SAGA.GplotDrawData;
|
|
|
using SAGA.GplotDrawData.View;
|
|
|
using SAGA.GplotManage.UploadRelated;
|
|
|
using SAGA.GplotRelationComputerManage;
|
|
|
-using SAGA.MBI.Common;
|
|
|
using SAGA.Models;
|
|
|
-using SAGA.RevitUtils;
|
|
|
-using SAGA.RevitUtils.Extends;
|
|
|
using SAGA.RevitUtils.Extends;
|
|
|
|
|
|
namespace SAGA.GplotManage
|
|
@@ -69,14 +66,11 @@ namespace SAGA.GplotManage
|
|
|
{
|
|
|
public override Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements)
|
|
|
{
|
|
|
- //RelationTypeManager.GetSystemRelationTypeNames()
|
|
|
- List<string> useRelations = RelationTypeManager.GetSystemRelationTypeNames();//new List<string>() { "ChillWaterLoop" };
|
|
|
+ List<string> useRelations = RelationTypeManager.GetSystemRelationTypeNames();
|
|
|
SystemComputerHandler handler1 = new SystemComputerHandler();
|
|
|
handler1.ComputerWidthCache(useRelations);
|
|
|
WinSystem floorWin = new WinSystem(GplotShowType.ViewPlan);
|
|
|
floorWin.Show();
|
|
|
- //var space = GplotFactory.Create(GraphTypeEnum.ChillWaterLoop);
|
|
|
- //space.Show(GplotShowType.Default);
|
|
|
return Result.Succeeded;
|
|
|
}
|
|
|
|
|
@@ -100,8 +94,6 @@ namespace SAGA.GplotManage
|
|
|
handler1.ComputerWidthCache(useRelations);
|
|
|
WinSystem floorWin = new WinSystem(GplotShowType.ViewPlan);
|
|
|
floorWin.Show();
|
|
|
- //var space = GplotFactory.Create(GraphTypeEnum.ChillWaterLoop);
|
|
|
- //space.Show(GplotShowType.ViewPlan);
|
|
|
return Result.Succeeded;
|
|
|
}
|
|
|
|
|
@@ -125,8 +117,6 @@ namespace SAGA.GplotManage
|
|
|
handler1.ComputerWidthCache(useRelations);
|
|
|
WinSystem verticalWin = new WinSystem(GplotShowType.VerticalPlan);
|
|
|
verticalWin.Show();
|
|
|
- //var space = GplotFactory.Create(GraphTypeEnum.ChillWaterLoop);
|
|
|
- //space.Show(GplotShowType.VerticalPlan);
|
|
|
return Result.Succeeded;
|
|
|
|
|
|
}
|
|
@@ -236,17 +226,13 @@ namespace SAGA.GplotManage
|
|
|
{
|
|
|
public override Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements)
|
|
|
{
|
|
|
- //var relationType = RelationTypeManager.GetRelationTypeItem("ChillWaterLoop");
|
|
|
- List<string> useRelations = new List<string>() { "ChillWaterLoop" };
|
|
|
+ // List<string> useRelations = new List<string>() { "ChillWaterLoop" };
|
|
|
+ List<string> useRelations = RelationTypeManager.GetSystemRelationTypeNames();
|
|
|
SystemComputerHandler handler1 = new SystemComputerHandler();
|
|
|
handler1.ComputerWidthCache(useRelations);
|
|
|
WinMachineRoom room = new WinMachineRoom();
|
|
|
room.Show();
|
|
|
return Result.Succeeded;
|
|
|
- RoomShowHandler handler = new RoomShowHandler("ChillWaterLoop");
|
|
|
- handler.Show();
|
|
|
- ;
|
|
|
- return Result.Succeeded;
|
|
|
}
|
|
|
|
|
|
public override bool IsCommandAvailable(UIApplication applicationData, CategorySet selectedCategories)
|