Revit macro InputBox

Revit macro InputBox

Anonymous
Not applicable
1,772 Views
2 Replies
Message 1 of 3

Revit macro InputBox

Anonymous
Not applicable

Hi,

I am new to this forum, so please be patient with me, if my question may be silly, or if I make any mistakes.

I want to start programming macros in Revit.

 

From VBA I know the function MsgBox, and I found TaskDialog.Show is very similar to it.

But now I need a InputBox (also well known in VBA)

 

Do you know a way to get smething similar in RevitAPIUI?

thanks in advance

OlimilO

0 Likes
Accepted solutions (2)
1,773 Views
2 Replies
Replies (2)
Message 2 of 3

Joe.Ye
Alumni
Alumni
Accepted solution

 

Hi OlimilO,

 

This question is a pure .NET question.

Looks like this thread is helpful on this question. 

 

 



Joe Ye
Contractor
Developer Technical Services
Autodesk Developer Network
0 Likes
Message 3 of 3

Anonymous
Not applicable
Accepted solution

Hi Joe,

thank you!

my first thought was this must be inside the RevitAPI but of course it is not.

my second thought was this can be somehow build with the RevitAPI.

I want to have this in C# so it looks like I must do my own InputBox out of a Windows.Forms.Form.

regards

OlimilO

0 Likes