| | |
| | | namespace HStation.WinFrmUI |
| | | using DevExpress.Office.Utils; |
| | | using DevExpress.Xpo.Helpers; |
| | | |
| | | namespace HStation.WinFrmUI |
| | | { |
| | | public partial class XhsProjectSimulationBimfaceCtrl : DevExpress.XtraEditors.XtraUserControl |
| | | { |
| | |
| | | |
| | | #endregion |
| | | |
| | | #region 缩放 |
| | | |
| | | /// <summary> |
| | | /// 缩放至构件 |
| | | /// </summary> |
| | | public async Task ZoomToComponent(string elementId) |
| | | { |
| | | await this.bimfaceInterop3dContainer1.ZoomToComponent(elementId); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 缩放至选择构件 |
| | | /// </summary> |
| | | public async Task ZoomToSelectedComponents() |
| | | { |
| | | await this.bimfaceInterop3dContainer1.ZoomToSelectedComponents(); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 缩放至选择构件 |
| | | /// </summary> |
| | | public async Task ZoomAndSelectComponents(List<string> elementIds) |
| | | { |
| | | await this.bimfaceInterop3dContainer1.ZoomAndSelectComponents(elementIds); |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | } |
| | | } |