checkbox as parameter in Python toolbox

4793
1
04-24-2014 10:33 AM
RyanClancy
Occasional Contributor
How do I create a checkbox as an input parameter in a .pyt? I want to control tool output based on which options the user selects at run time. I tried adding a parameter of type GPBoolean but no checkbox appeared in the tool dialog.....

Ryan
Tags (2)
0 Kudos
1 Reply
JasonScheirer
Occasional Contributor III
GPBoolean is indeed the correct data type to use. Did you remember to add the boolean parameter object to the list returned in getParameters?
0 Kudos