1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How do i get rotation of wall using revit api?

Discussion in 'Programming/Internet' started by arvind, Sep 12, 2018.

  1. arvind

    arvind Guest

    if an Element is family instance then

    (FamilyInstance.Location as LocationPoint).Rotation;


    I can easily get a rotation easily for family instance.

    If I try for wall

    Curve curve = ((Wall).Location as LocationCurve).Curve;


    or anything like that.

    for example :


    1. In preceding image, trying to rotate wall to 90 Degree. normal wall
      1. In below Image, after rotating 90 Degree wall after rotation

    Login To add answer/comment
     

Share This Page