| | |
| | | using Hydro.Revit; |
| | | using Hydro.Revit.Model; |
| | | using HStation.RevitDev.RevitDataExport.Utility; |
| | | using HStation.RevitDev.RevitDataExport.Utils; |
| | | using HStation.RevitDev.RevitDataExport.Common; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel; |
| | |
| | | private View3D Set3DView() |
| | | { |
| | | var view3d = ViewHelper.Get3dView(_doc); |
| | | if (view3d != null) { return null; } |
| | | _uiDocument.ActiveView = view3d; |
| | | return view3d; |
| | | } |
| | |
| | | |
| | | if (cell.Value == null) { return; } |
| | | var view = Set3DView(); |
| | | if (view == null)
|
| | | {
|
| | | return;
|
| | | } |
| | | |
| | | var cellText = cell.Value.ToString(); |
| | | if (dataGridView1.Columns[columnIndex].HeaderText == "ID") |