1
2
3
4
5
6
7
8
9
10
11
12
13
14#In the Revit 2024 and Dynamo environment,
#the Show() instance method doesn't always work as expected.
#If you encounter a 'missing argument' type of error,
#try using the static method of this class instead.
#
#also see https://github.com/DynamoDS/DynamoRevit/issues/3350
import sys
import clr
clr.AddReference('RevitAPIUI')
from Autodesk.Revit.UI import *
user_choice =TaskDialog.Show("window title",