TaskDialog Buttons Customized Names

TaskDialog Buttons Customized Names

structure1EKNKU
Enthusiast Enthusiast
221 Views
2 Replies
Message 1 of 3

TaskDialog Buttons Customized Names

structure1EKNKU
Enthusiast
Enthusiast

Hello.

 

How to customize buttons' names in Revit's TaskDialog?

 

I know that by the documentation I shouldn't do it unless I have a very good reason to do it (TaskDialogCommonButtons Enumeration (revitapidocs.com)) but the client very strongly insists to do s...

 

Thanks in advance!

0 Likes
222 Views
2 Replies
Replies (2)
Message 2 of 3

moturi.magati.george
Autodesk
Autodesk

Hi @structure1EKNKU,

I don't think Revit offers a direct way to modify the CommonButtons name. The CommonButtons accepts an enum of TaskDialogCommonButtons which are described at https://www.revitapidocs.com/2023/5fa611e4-8569-e756-fc93-a4d3c4d391ec.htm.

I will however ask around for you and update if anything changes.

  Moturi George,     Developer Advocacy and Support,  ADN Open
0 Likes
Message 3 of 3

Mohamed_Arshad
Advisor
Advisor

HI @structure1EKNKU 

 

    As @moturi.magati.george  said there is no option to customize the TaskDialogCommonButtons. To get detail information about TaskDialog, Kindly refer the below link.

 

URL: https://spiderinnet.typepad.com/blog/2011/06/taskdialog-of-revit-api-1-a-comprehensive-taskdialog-ex... 

 

Work around : you can create your own Custom TaskDialog box and populate in Revit.

https://www.codeproject.com/Articles/17253/A-Custom-Message-Box 

 

Hope this will Helps 🙂


Mohamed Arshad K
Software Developer (CAD & BIM)

0 Likes