Floor hatch alignment to line

Floor hatch alignment to line

josepht21
Enthusiast Enthusiast
542 Views
2 Replies
Message 1 of 3

Floor hatch alignment to line

josepht21
Enthusiast
Enthusiast

Hi everyone,

 

I am trying to do the following operation (alignment to a line of the floor hatch as seen in the gif attached). I have tried following the answers in the forum like https://forums.autodesk.com/t5/revit-api-forum/use-of-align-function-programatically-to-change-the-a... but haven't had any luck with it. 

Can someone help me understand how to do that using the C# API? Or if its even possible? 

Also selecting a hatch line and applying rotation can help me tons. 

Thanks in advance!! 

 

@jeremytammik

align1.gif

0 Likes
543 Views
2 Replies
Replies (2)
Message 2 of 3

jeremy_tammik
Alumni
Alumni

Yup. The thread you point out does address the issue, but I agree that it is non-trivial and tricky. So, I asked the development team for a simpler solution, such as programmatic access to the underlying functionality of the Align tool that you show in your video.

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes
Message 3 of 3

josepht21
Enthusiast
Enthusiast
Thanks for responding, my main issue is that in the forum thread I showed you the references must be aligned previously. Therefore what I am trying to do doesn't really apply as I can't rotate the hatch lines to align and if I align the line then I can't return to the correct orientation of the hatch lines.
0 Likes