| | |
| | | /// <summary> |
| | | /// 缩放至选择构件 |
| | | /// </summary> |
| | | public async Task ZoomAndSelectComponents(List<string> elementIds) |
| | | public async Task ZoomAndSelectComponent(string elementId) |
| | | { |
| | | if (_bimfaceInteropContainer == null) |
| | | if (string.IsNullOrEmpty(elementId)) |
| | | { |
| | | return; |
| | | } |
| | | await _bimfaceInteropContainer.ZoomAndSelectComponents(new List<string>() { elementId }); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 缩放至选择构件 |
| | | /// </summary> |
| | | public async Task ZoomAndSelectComponents(List<string> elementIds) |
| | | { |
| | | await _bimfaceInteropContainer.ZoomAndSelectComponents(elementIds); |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 加载水流动画列表 |
| | | /// 加载水流动画 |
| | | /// </summary> |
| | | public async Task LoadFlowEffectList(List<LogicFlowEffect> obj) |
| | | public async Task LoadFlowEffect(List<LogicFlowEffect> obj) |
| | | { |
| | | await _bimfaceInteropContainer?.LoadFlowEffectList(obj); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 卸载水流动画 |
| | | /// </summary> |
| | | public async Task UnloadFlowEffect() |
| | | { |
| | | await _bimfaceInteropContainer?.UnloadFlowEffect(); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 通过Id卸载水流动画 |
| | | /// </summary> |
| | | public async Task UnloadFlowEffectById(string Id) |
| | | { |
| | | await _bimfaceInteropContainer?.UnloadFlowEffectById(Id); |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | #region 连接构件颜色 |