Prechádzať zdrojové kódy

mxg:修改Space的默认值

mengxiangge 5 rokov pred
rodič
commit
55a034f6a2

+ 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)
                 {