Announcements

Starting in December, we will archive content from the community that is 10 years and older. This FAQ provides more information.

Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Floor hatch alignment to line

2 REPLIES 2
Reply
Message 1 of 3
josepht21
249 Views, 2 Replies

Floor hatch alignment to line

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

Labels (5)
2 REPLIES 2
Message 2 of 3
jeremy_tammik
in reply to: josepht21

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
Message 3 of 3
josepht21
in reply to: jeremy_tammik

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.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report