title: Access elements from a linked revit model
body: <p>I have two revit projects, MainProject.rvt and ProjectToLink.rvt.  MainProject.rvt contains a link to ProjectToLink.rvt.  Using the code below while in the MainProject.rvt document I can access the link itself:</p>
  
  <pre><code>FilteredElementCollector linkedModelCollector = new FilteredElementCollector(document);
  linkedModelCollector.OfCategory(BuiltInCategory.OST_RvtLinks);
  
  foreach (Element linkedModel in linkedModelCollector)
  {
     //Do something
  }
  </code></pre>
  
  <p>How can I access the elements inside of the linked model ProjectToLink.rvt from MainProject.rvt? Can I use the link element itself like in the code above or is there another mechanism?</p>
  
  <p>PS - I need this to work for Revit 2011</p>