| | |
| | | pipe.StartCode = revitPipe.StartCode; |
| | | pipe.EndCode = revitPipe.EndCode; |
| | | pipe.LinkStatus = revitPipe.LinkStatus; |
| | | pipe.Material = revitPipe.Material; |
| | | pipe.Diameter = revitPipe.Diameter; |
| | | pipe.Length = revitPipe.Length; |
| | | pipe.Roughness = revitPipe.Roughness; |
| | |
| | | { |
| | | foreach (var revitTranslation in revitModel.Translations) |
| | | { |
| | | var translation = new Yw.Model.HydroPipeInfo(); |
| | | var translation = new Yw.Model.HydroTranslationInfo(); |
| | | translation.Catalog = Yw.Hydro.ParterCatalog.Translation; |
| | | translation.Name = revitTranslation.Name; |
| | | translation.Code = revitTranslation.Code; |
| | |
| | | translation.LinkStatus = revitTranslation.LinkStatus; |
| | | translation.Diameter = revitTranslation.Diameter; |
| | | translation.Length = revitTranslation.Length; |
| | | translation.Material = revitTranslation.Material; |
| | | translation.Roughness = revitTranslation.Roughness; |
| | | translation.MinorLoss = revitTranslation.MinorLoss; |
| | | translation.ScenePropValueList = revitTranslation.PropValueList?.Select(x => new Yw.Model.HydroParterScenePropValuePureInfo() |
| | |
| | | PropName = x.PropName, |
| | | PropValue = x.PropValue |
| | | }).ToList(); |
| | | hydro.Pipes.Add(translation); |
| | | hydro.Translations.Add(translation); |
| | | } |
| | | } |
| | | |
| | |
| | | exchanger.LinkStatus = revitExchanger.LinkStatus; |
| | | exchanger.Diameter = revitExchanger.Diameter; |
| | | exchanger.Length = revitExchanger.Length; |
| | | exchanger.Material = revitExchanger.Material; |
| | | exchanger.Roughness = revitExchanger.Roughness; |
| | | exchanger.MinorLoss = revitExchanger.MinorLoss; |
| | | exchanger.ScenePropValueList = revitExchanger.PropValueList?.Select(x => new Yw.Model.HydroParterScenePropValuePureInfo() |