Input value by user

Input value by user

husam_al-jawhar
Enthusiast Enthusiast
306 Views
1 Reply
Message 1 of 2

Input value by user

husam_al-jawhar
Enthusiast
Enthusiast

Hello everyone,

I'm hoping to develop a powerful tool in Revit using Python, but I'm currently stuck on a particular challenge. Specifically, I need to find a way to ask the user to input the number of floors in a popup box. I'm sure many of you have faced similar challenges before, so I would greatly appreciate any tips or resources you can share to help me overcome this obstacle.

Cheers,

 

0 Likes
307 Views
1 Reply
Reply (1)
Message 2 of 2

RPTHOMAS108
Mentor
Mentor

Likely you just need to reference Windows.Forms

 

There are also non .Net 3rd party options:

Introduction to Tkinter - first steps with Tkinter library (zetcode.com)

 

There are also utilities associated with RPW so it depends what form of Python you are talking about.

 

Personally I'd just write an external library with standard dialogues and reference that.  I imagine someone somewhere has published all you need for this.

0 Likes