摘要:
本节主要是获取单个元素以及其参数,详情见注释 using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using Autodesk.R 阅读全文
随笔档案-2020年01月
2. revitAPI基础-----类别category
2020-01-30 16:42 by wwx的个人博客, 935 阅读, 收藏, 编辑
摘要:
在revitAPI中,Element及其子类都拥有一个category属性用于表示类别,整体调用方式为document.settings.Categories,也可以用BuiltInCategory找出指定的类别 从模型中取到想要的类别: using System;using System.Coll 阅读全文
1. RevitAPI 基础(上)
2020-01-29 21:38 by wwx的个人博客, 1863 阅读, 收藏, 编辑
摘要:
一 重要的基本设置: 1. 类库:revitAPI.DLL, revitAPIUI.DLL,个人理解前者包括了revit软件所特有的数据类型及软件中存在的全部后台数据,而后者是包含了大量与实现UI交互相关的接口,主要有IExternalCommand, IExternalApplication, S 阅读全文