Lecture    DV1888
Facing the Elephant in the Room: Making Revit Add-ins That Cooperate with Worksharing
Collapse Expand


The Revit API offers the ability to build a wide variety of customizations that drive the contents of projects, elements, and views. Typically the add-in covers the singular case where a single user is operating against the project. However, many projects are large and Revit software work is workshared, with multiple users editing and modifying the project simultaneously. It is important for Revit add-in developers to design their add-ins to play nicely in workshared environments. This can include ensuring elements are checked out before trying to modify them, updating and synchronizing changes with central, and opening documents correctly depending on the purpose of the add-in. This class focuses on techniques that can make a well-behaved and useful add-in in the workshared environment, with particular focus on new APIs that have been introduced in Revit 2014. It also covers the similarities and differences in techniques when dealing with server-based worksharing. Attendees should have knowledge of C# and Revit API. Prior experience with Revit worksharing is also helpful. Continue the conversation at DV3464-R: Making Revit® Add-ins That Cooperate with Worksharing: A Roundtable Session.

Key Learnings

  • Explain the basics of Revit worksharing techniques and terminology, especially features that affect add-in development
  • Design a Revit add-in to work well in a workshared environment
  • Determine the right way to open, read, and/or modify a workshared document for your purposes
  • Describe how to deal with both file-based worksharing and server-based worksharing from your add-in



Share Class