I am building a Python Scripts for Processing Framework
I know how to make default value when the data type is number or boolean:
##Distance=number 50 ##carry_test=boolean True
I also know how to make fields in the layer into a drop down table and let user choose from:
##input_layer=vector ##cal_field=field input_layer
Is there a way to populate a default field as well? Say the layer has the following fields:
fid, name, type, color
Normally everytime the user has to check the drop down to choose 'type'. So it is kind of trouble, is there a way to choose the 'type' everytime when the input_layer has the field 'type'?