Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

TaskDialog exception

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
Charles.Stokes
592 Views, 2 Replies

TaskDialog exception

I'm trying to create a Task Dialog in Revit but I'm relatively new to c# and my code is compiling fine but there's an exception somewhere that i just can't see.

Any help would be appreciated Capture.JPG

 

Thanks

Charlie 

2 REPLIES 2
Message 2 of 3

Hi @Charles.Stokes

Your app just swallows the exception. Remove the try/catch statement and you'll have more of an idea.

 

At a glance, the empty dialog name may be the issue.

 

Cheers,

 

-Matt


Cheers,

-Matt
_______________________________________________________________________________
Marking a post as a 'solution' helps the community. Giving a post 'Kudos' is as good as saying thanks. Why not do both?
Message 3 of 3

Thanks for the advice,

yes it was that empty string holding me back.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


Rail Community