title: How to get a list of all elements in a revit with c#
body: <p>I would like to add a plug in that reads in a file of data that has a string of RevitIds and paints them.</p>
  
  <p>I can't figure out how to find a given element in Revit based on a string elementId using C#.</p>
  
  <pre><code>UIApplication uiApp = commandData.Application;
   Document doc = uiApp.ActiveUIDocument.Document;
  </code></pre>
  
  <p>I know that this gives me a document but I don;t know how to get all of the ids. I was thinking of having a foreach loop that checks the string of element id with that of all in the document until it finds a match. Then, I can manipulate it.</p>