Select to view content in your preferred language

Can you prompt the user for input?

720
1
06-09-2014 10:48 AM
LoringTupper
Deactivated User
I know that in Python you can prompt for input but I don't see anything documented for prompting for input with CE Python and the general method used in regular Python does not appear to work, e.g. "theTotPop = input("What is the Total Population: ")" does not work, the python script stops when it reaches this line.
Is there a way to get input from the user in CE Python?
Tags (3)
0 Kudos
1 Reply
AndreasUlmer
Esri Contributor
CE Python is actually Jython. You can use awt in a limited form to create simple UI elements.

See here:
http://forums.arcgis.com/threads/63836-GUI-in-City-Engine-using-Python
0 Kudos