Community
I know I can test if the document title is contained in the name of the LinkInstance like this:
linkInstance.Name.Contains(linkedDocument.Title)
but is there a more direct and safe way?
Solved! Go to Solution.
Solved by FRFR1426. Go to Solution.
Ok, I've found it. Simply use GetTypeId:
var linkType = (RevitLinkType)document.GetElement(linkInstance.GetTypeId());