Revit旋转元素

pipu

关注

阅读 47

2022-02-18

旋转元素

  • ElementTransformUtils类的方法
  1. 旋转一个元素
    RotateElement (Document,ElementId,Line,double);
  2. 旋转多个元素
    ElementTransformUtils类的
    RotateElements(Document,ICollection,Line,double);
  • Location类的方法
  1. 旋转一个元素
    bool Rotate (Line,double) ;

注意事项:

  • 旋转轴是有限线,若是无限线会导致旋转失败。
  • 旋转轴一般要求与元素LocationCurve所在的平面垂直,否则很可能会旋转失败。

精彩评论(0)

0 0 举报