Hi all,
I am trying to update marked fields of revit links using Revit API.If anybody knows the method to do it,kindly share,
I know How to retrieve linked document of a project,Below is the code for that in C sharp.
var rvtLinks = new FilteredElementCollector(doc).OfCategory(BuiltInCategory.OST_RvtLinks).OfClass(typeof(RevitLinkInstance)).ToElements();
var rvtDocumentLoaded = new List();
foreach (Element rvtLink in rvtLinks)
{
var indiLink = rvtLink as RevitLinkInstance;
Document linkDoc = indiLink.GetLinkDocument();
rvtDocumentLoaded.Add(linkDoc);
}