Show Method (String, String)


Task Dialog Show(String, String) Method

Shows a task dialog with title, main instruction and a Close button.

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public static TaskDialogResult Show(
	string title,
	string mainInstruction
)

Parameters

title String
The title of the task dialog.
mainInstruction String
The main instruction of the task dialog.

Return Value

TaskDialogResult
The user's response to the task dialog.
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →