Hi,
I have a question concerning options in a command.
During the command I want the user to be able to click an option, this will trigger another sequence.
Once this is done I want the option to go back to the initial state.
My best guess was to set the value, but this is a getter only…
Any ideas?
Thanks,
T.
go = Rhino.Input.Custom.GetOption()
optionZoom = Rhino.Input.Custom.OptionToggle(False, "ZoomTo", "Reset");
go.AddOptionToggle("Zoom", optionZoom);
while True:
res = go.Get();
if res == Rhino.Input.GetResult.Option:
option = go.Option()
if option.Index == 1:
# Intiialize Sequence
# This part cannot be set
go.Option.Value = False