Browse Source

mxg:修改Space的默认值

mengxiangge 5 years ago
parent
commit
55a034f6a2
1 changed files with 2 additions and 0 deletions
  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)
                 {