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: 

Move position rebar (Same Edit bars tool) in Revit Api

2 REPLIES 2
Reply
Message 1 of 3
huynguyen96str
175 Views, 2 Replies

Move position rebar (Same Edit bars tool) in Revit Api

Hello everyone!
I want to move the Rebar to a new location.

     + [Error] In Revit api, when I use ElementTransformUtils.MoveElement or ElementTransformUtils.MoveElements, The Rebar does not move according to the vector I input
     + [OK]I have found another solution which is to use the "Edit Bars" tool to move the Rebar. The Rebar moved as I intended, but I don't know how to do this in Revit API (C#).

Untitled.png

Please help me solve this problem in Revit API.
Thanks all!

2 REPLIES 2
Message 2 of 3
antonbond
in reply to: huynguyen96str

I believe you should look at MoveBarInSet method for achieving similar functionality as 'Edit Bars' command in GUI

 

Message 3 of 3
huynguyen96str
in reply to: antonbond

Thank you very much!

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

Post to forums  

Forma Design Contest


Rail Community