Set parameters of the link itself


I am trying to edit the parameters of a link.
I want to set the Path Type to “Absolute” , the Reference Type to “Attachment” and the saved path to another folder where we have earlier versions of the same file.

I cant find a node to do this.
Any suggestions here?

Both of these are properties of the RevitLinkType:
They can be set via the Revit API with a bit of Python.

Thnx @Andreas_Dieckmann.

Is setting the path to another folder an option aswell?


I just found out that i can set the PathType and the ReferenceType for all linked files quite easily in Revit manualy, no need for a script here. Just select all links and change.
The saved path is another thing tho.