Can any Revit API method let me align beams to reference lines in order?
Because I want to relocate beams to new position with all previous information.
So far, I have studied a function , PostCommmand, Which can allow me to use the ‘Align’ Command in Revit, But, it is not totally automatically since I need to select elements in Revit view.
P.S. Reference I studied about PostCommand
Therefore, I am wondering that whether having a function or workflow can allow me input target reference lines and beam elements, then do a for loop, so I can automatically align and relocate beams to where what I want in order.
Any help is greatly appreciated. Thank you in advance.