lixiaojun
2024-08-06 62f18f31a10fd5597b45151f688e5189eba888fd
WinFrmUI/HStation.WinFrmUI.Xhs.Core/02-project/01-import/04-GeneralProject/ImportXhsProjectHelper.cs
@@ -82,10 +82,10 @@
                return false;
            }
            var hydroInfo = HStation.Hydro.ParseHelper.FromRevit(revitModel);
            var hydroInfo = HStation.Hydro.ParseHelper.FromRevit(revitModel, out string msg);
            if (hydroInfo == null)
            {
                feedBackMsg?.Invoke("水力结构文件解析失败!!!");
                feedBackMsg?.Invoke($"水力结构文件解析失败,{msg}!!!");
                return false;
            }
@@ -228,8 +228,8 @@
                return true;
            }
            var bimfaceId = await Yw.WinFrmUI.BimfaceHelper.UploadFile(rvtFileInfo.FullName);//上传
            //var bimfaceId = 10000869537010; //测试用例
            //var bimfaceId = await Yw.WinFrmUI.BimfaceHelper.UploadFile(rvtFileInfo.FullName);//上传
            var bimfaceId = 10000870453147; //测试用例
            if (bimfaceId < 1)
            {
                feedBackMsg?.Invoke("Revit模型文件上传失败!!!");
@@ -302,8 +302,8 @@
            #region 第九步 发起bimface转换(进度 80%)
            feedBackMsg?.Invoke("正在进行Bimface模型轻量化...");
            var bimfaceTranslateStatus = await Yw.WinFrmUI.BimfaceHelper.TranslateRvtFile(bimfaceId);//发起转换
            //var bimfaceTranslateStatus = Yw.BIMFace.eTranslateStatus.Processing;//测试代码
            // var bimfaceTranslateStatus = await Yw.WinFrmUI.BimfaceHelper.TranslateRvtFile(bimfaceId);//发起转换
            var bimfaceTranslateStatus = Yw.BIMFace.eTranslateStatus.Processing;//测试代码
            feedBackProgress?.Invoke(100, 60);
            if (bimfaceTranslateStatus != Yw.BIMFace.eTranslateStatus.Success)
            {