Revit to Pdf Conversion
问题 I am trying to automate the process of pdf printing in Revit 2017 using Revit API with Idling event handler. I am opening the revit document using OpenDocumentFile method and not using ActiveUIDocument anywhere. This process is generating Invalid Operation Exception. I am not sure why is it giving the exception or whether it is allowed using Revit API. Please help. Thanks. Journal Output: ' 1:< 0 <-pushSettingsIntoDriver ' C 27-Sep-2016 14:45:22.641; 1:< ExportToRequestedFormat() : Pdf Print