【Revit二次开发】旋转元素的方法

    xiaoxiao2023-10-23  176

    ElementTransformUtils.RotateElement(doc, ElementId, line, angle);

    Line:Line line = Line.CreateBound(xyz , xyz + XYZ.BasisZ * 1);

    xyz为元素自身的坐标点 ,即在XY平面内元素以自身插入点为中心旋转。

    最新回复(0)