0
点赞
收藏
分享

微信扫一扫

Revit旋转元素

pipu 2022-02-18 阅读 47

旋转元素

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

注意事项:

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

相关推荐

0 条评论