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

huynguyen96str
Explorer

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

huynguyen96str
Explorer
Explorer

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!

0 Likes
Reply
261 Views
2 Replies
Replies (2)

antonbond
Contributor
Contributor

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

 

huynguyen96str
Explorer
Explorer

Thank you very much!

0 Likes