Pārlūkot izejas kodu

mxg:修改Space的默认值

mengxiangge 5 gadi atpakaļ
vecāks
revīzija
55a034f6a2
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      MBI/SAGA.MBI/RevitExport/ParseElement/ParseSpace.cs

+ 2 - 0
MBI/SAGA.MBI/RevitExport/ParseElement/ParseSpace.cs

@@ -5,6 +5,7 @@ using System.Text;
 using System.Threading.Tasks;
 using Autodesk.Revit.DB;
 using Autodesk.Revit.DB.Mechanical;
+using SAGA.MBI.DataArrange;
 using SAGA.MBI.Extend;
 using SAGA.MBI.RevitExport.Entity;
 using SAGA.MBI.Tools;
@@ -37,6 +38,7 @@ namespace SAGA.MBI.RevitExport.ParseElement
                     return;
                 MbiSpace mbiSpace = new MbiSpace();
                 ParseCore.AttachObject(mbiSpace, space);
+                mbiSpace.Name = DalSpace.GetSpaceDefaultName(space);
                 var location = space.Location.GetPoint();
                 if (location != null)
                 {