I need to programmatically access the current Autodesk.Revit.DB.Document and ActiveUIDocument from the opened project within my WinForms application
I’ve developed an IExternalCommand
add-in for Revit
. Now, I’ve created a new WinForms project with a button that automatically opens a Revit project file using