Description
This class will explain a process to run external commands in batch mode from a central server to remote Revit software workstations. We will cover how to use client and server applications that communicate with each other to manage Revit software on remote workstations with WCF (Windows Communication Foundation) services. We will examine how to pass XML command data to Revit software to open a Revit software model and initiate batch commands. We will also show a specific use case for batch plotting of PDF files for view sheets. We will examine a flexible system for handling Revit software dialog boxes on the fly with usage examples and code snippets, and we will discuss the failure processing API in the context of bypassing warning and error messages while custom commands are running. Finally, we will show you how to gracefully close both the open Revit software model and the Revit software application.
Key Learnings
- Learn how to start and stop Revit software on remote workstations and open Revit software models for batch processing
- Learn how to load an assembly based on XML data and then execute the code on the open Revit software model
- Learn how to suppress Revit software dialog boxes and error/warning messages
- Learn how to close the open Revit software model and exit Revit software