Loop over all open drawings C#

Top  Previous  Next

This function shows how to do it:

 

      public void GetDocNames()

       {

          DocumentCollection docs = Application.DocumentManager;

 

          foreach (Document doc in docs)

           {

              Application.ShowAlertDialog(doc.Name);

           }

       }