Rotate Elevation Mark 180° Issues

Rotate Elevation Mark 180° Issues

Anonymous
Not applicable
689 Views
1 Reply
Message 1 of 2

Rotate Elevation Mark 180° Issues

Anonymous
Not applicable

Hi guys,

 

I'm having a bit of trouble rotating elevation marks by 180°.

 

Currently I place Elevation markers and view index 1, then I check the view direction and rotate the view to face the wall.

 

The problem I have is if I try to rotate it by 1 radian(57°) anticlockwise, it works fine.

 

If i try to rotate the marker by 2 radians(115°) anticlockwise, it works fine.

 

If I try to rotate any further, for example between 3 radians (170°), it rotates it a further 180° so the marker has in effect rotated 370°.

 

I am using  ElementTransformUtils.RotateElement().

 

if anyone has any ideas, please let me know.

 

thanks

0 Likes
690 Views
1 Reply
Reply (1)
Message 2 of 2

grahamcook
Advocate
Advocate

Hi

I was also having the same issue.  My post is below with a messy workaround:

 

https://forums.autodesk.com/t5/revit-api-forum/elevationmarker-does-not-rotate-180-deg/td-p/8010880

 

Graham Cook

0 Likes