Asset 12 Asset 10 Asset 11 autodesk_icon_font_1_18_17_start_over-01

Keyboard ALT + g to toggle grid overlay

David Echols

SD124758: Revit TaskDialogs for the Developer—Manage TaskDialogs Like a Pro

(Duration 49:57)

  • Save to my AU Saved

Key Learning

Key Learning

  • Learn how to create a text file containing Revit TaskDialog information
  • Learn how to parse the text file to expose relevant information needed to work within the Revit API
  • Understand how the TaskDialog API suppresses Revit TaskDialog boxes
  • Learn how to implement a DialogBoxShowing event handler using the TaskDialog API

Description

Description

The Revit API exposes an event on the UIApplication and UIControlledApplication classes called DialogBoxShowing. Adding an event handler for this event lets the developer automatically handle the dismissal of TaskDialogs. One thing the Revit API documentation does not provide is a list of TaskDialogs and the appropriate responses needed to dismiss them. This class will expose a list of Revit TaskDialogs, along with information about TaskDialogIds, button definitions, and the default button. Class material will cover the process for getting the list of TaskDialogs into a file and an explanation of the file's contents. We will discuss code that can parse the file to show detailed TaskDialog information. We will present a small TaskDialog API that lets the developer easily control the behavior of TaskDialogs in an on-the-fly manner. Additionally, we will show a sample DialogBoxShowing event handler.

Target Audience

Target Audience

Developers who want to gain additional insight into Revit® TaskDialogs, access undocumented TaskDialog data and manage them with a TaskDialog API in a Revit® DialogBoxShowing event handler.

Speakers

Speakers

David Echols

Dave is a Senior Programmer for Mason and Hanger, a Day and Zimmermann company. Living in Virginia Beach, VA, he provides custom programming and IS support for the firm's engineering design software, including Autodesk® Revit®, AutoCAD® MEP, AutoCAD® Architecture and more. He has 29 years of experience in building custom solutions and has worked for defense contractors, design firms, the Autodesk VAR channel and a small startup designing and developing a digital pen forms application. His Autodesk development experience begins with version 2.5 of AutoCAD® and Autodesk® Revit® 2009. Dave is proficient in the .NET Framework, using C# and the various Autodesk .NET APIs to develop and maintain his company’s internal applications. He has presented at Autodesk University twice on in depth developer topics.

Related Classes

Related Classes

Tags

Published

  • 2017
  • SD124758
  • AU Las Vegas;

Software

  • Revit
  • Revit Architecture
  • Revit Structure
  • Revit MEP

Industry

  • Software Development

Topics

  • Software Development