Hi all,
I'm writing an OTB application and I have a choice parameter:
AddParameter(ParameterType_Choice, "unit", "Unit of the input image");
AddChoice("unit.power", "Power");
AddChoice("unit.amp", "Amplitude");
But when I run it the default value is automatically the first one:
-unit <string> Unit of the input image [power/amp]
(mandatory, default value is power)
How can I remove the default to force the user to specify it? Is there
something like UnsetDefaultParameter()?
Thanks,
Victor Poughon
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html
You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.