Change reference of beam join

Hello,

Is there a way of programmatically adjust beam end alignment references using Dynamo or the API?

In Revit the functionality is access via Modify > Change Reference.

More details here: http://help.autodesk.com/view/RVT/2018/ENU/?guid=GUID-97EC8054-9359-455A-9289-789425FBE6F2

Many thanks in advance.

Best,
Andre

Maybe you should search your question before ask.

Below link might help.
Is it possible to change end reference of a beam?

Hi Wind,

I did search for it, but clearly didn’t do a good job.

Thanks for your help.