Hi, In an effort to learn Python and the Revit API, I’ve created the following to display an alert message box: import clr
# Import RevitAPI
clr.AddReference("RevitAPI")
import Autodesk from Autodesk.Revit.DB import *
Autodesk.Revit.UI.TaskDialog.Show ("Test Title", "Test Message")
I get the following message about TaskDialog being read only:
Warning: IronPythonEvaluator.EvaluateIronPythonScript operation failed. Traceback (most recent call last): File “”, line 7, in AttributeError: attribute ‘UI’ of ‘namespace#’ object is read-only
I’d appreciate some pointers on what I’m doing wrong - thanks.