title: Saving families out vie Revit API
body: <p>while collecting all the families in a project and saving them out via the API, </p>
  
  <pre><code>familyDocument.SaveAs(fileName);
  </code></pre>
  
  <p>Is there a way to catch the following dialogue box and perform an action?  For instance, record the warning and close the dialogue box?</p>
  
  <p><a href="https://i.stack.imgur.com/SY7Ev.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SY7Ev.png" alt="enter image description here"></a></p>