Revit中如果想要通过API 对Element进行移动,旋转,复制或者镜像操作
可以通过ElementTransformUtils 这个类来实现
常用方法如下:
1.复制
CopyElements(Document, ICollection<(Of<<'(ElementId>)>>), XYZ)
2.镜像
MirrorElements(Document, ICollection<(Of<<'(ElementId>)>>), Plane, Boolean)
3.移动
4.旋转
博主会经常更新一些技术文章,请大家多多关注,多多交流
更多技术交流,请加qq群480950299