NW之模型的快速、平滑定位
来源:互联网 发布:mac电脑的顿号怎么打 编辑:程序博客网 时间:2024/05/24 02:58
在查看模型的过程中,我们常会用到模型定位,下面我介绍两种模型定位的扩展方法。
快速定位
/// <summary>/// 快速缩放./// </summary>/// <param name="items">The items.</param>public static void FastZoom(this IEnumerable<ModelItem> items){ Document doc = Application.ActiveDocument; doc.CurrentSelection.CopyFrom(items); ComApiBridge.State.ZoomInCurViewOnCurSel(); if (!doc.CurrentSelection.IsEmpty) doc.CurrentSelection.Clear();}
平滑定位
/// <summary>/// 平滑缩放./// </summary>/// <param name="items">The items.</param>public static void SmoothZoom(this IEnumerable<ModelItem> items){ Document doc = Application.ActiveDocument; doc.CurrentSelection.CopyFrom(items); Autodesk.Navisworks.Api.Interop.LcRmAutoCAM.OnZoomSelected(); if (!doc.CurrentSelection.IsEmpty) doc.CurrentSelection.Clear();}
不同的定位方式会带来不同的效果。
0 0
- NW之模型的快速、平滑定位
- 锋利的jquery之快速定位
- 一些NW的笔记
- 盒子模型的定位
- css盒子模型之定位
- NW(New World)快速开发平台介绍(完整的中小型管理系统解决方案)
- VI 之快速查找定位
- nginx多进程模型之热代码平滑升级
- nginx多进程模型之热代码平滑升级
- SRILM使用之训练无平滑语言模型
- NW.js的简单使用
- CSS盒子模型的定位
- 盒子模型、CSS的定位
- 输入法中统计语言模型的建立以及平滑
- 图像平滑之平均平滑
- jquery 描点平滑定位
- js 锚点平滑定位
- 快速定位错误的方法
- Java开发中的23种设计模式详解(转)
- VLC学习(2) VLC架构及流程分析
- Linux命令——2.测及归档
- Idea 使用maven 创建SpringMVC 下载jar 失败
- C++ 命名空间
- NW之模型的快速、平滑定位
- 前端面试题4
- 值得推荐的C/C++框架和库 (真的很强大)
- 最小生成树(普利姆算法、克鲁斯卡尔算法)
- #ASM 翻译系列第十九弹:ASM Internal ASM Continuing Operations Directory
- 浮动小结
- ionic 判断网络连接
- MyBatis 源码分析——生成Statement接口实例
- 520. Detect Capital