Question-and-Answer Resource for the Building Energy Modeling Community
Get s tarted with the Help page
Ask Your Question

Revision history [back]

IES-VE Python API / Use navigator or gui to enter data

We're working on a script and want to accept a single-line of text from a user. For example.. proj_name = [insert code] # user to enter project name

Ideally, I'd like this to be in a new navigator just for the script, but a mini gui (using tkinter) could also work.

There are a bunch of example scripts that install with VE that are helpful, but none I've found show how to take text from a user prompt. I'm hoping somebody here can provide an example of how to do this from within VE.