在Revit中实现多类别标记
仅提供中文版本
实现Revit中多类别标记的方法
- 标记方法的关键词:
IndependentTag - 在创建标记中有两个方法,输入的参数基本一致,但是还是有所区别,下面描述和图片可以更好的区分
第一个函数:通过实际的项目坐标点不需要制定标记类型创建多类别标记Create Method (Document, ElementId, ElementId, Reference, Boolean, TagOrientation, XYZ)
第二个函数:通过UVPoint也就是在构件上面的点控制显示位置并且需要制定标记类别Create( Document document, ElementId ownerDBViewId, Reference referenceToTag, bool addLeader, TagMode tagMode, TagOrientation tagOrientation, XYZ pnt )

- 代码实例通过document读取视图中的元素,放置多类别注释,如果需要多视图同时操作,则需要找到所有的view并将view传入获得所有的构件
1 | using (Transaction transaction= new Transaction(doc)) |
All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.







