Set parameters of the link itself

Hi,

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?
Thnx,
Marcel

Both of these are properties of the RevitLinkType:
http://www.revitapidocs.com/2017/456da4bd-16ef-a039-9934-2644f84fdb3b.htm
http://www.revitapidocs.com/2017/c0517436-dea9-9728-1876-de384b2fbc96.htm
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?
Marcel

Hi,

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.

Marcel