Change Rhino.RhinoApp.WriteLine into Options

I am using the Rhino.RhinoApp.WriteLine Command to execute the following options:
Rhino.RhinoApp.WriteLine(“0_Reference, 1_Production, 2_Visualization, 3_Site_Worksessioned”);

You need to type the options manually to execute them.
This is how it appears in rhino:


I want to convert this into options that can be clicked instead. Something like this:


Thanks in advance!

Use the GetOption class.

For a sample see any of Search · getoption · GitHub

1 Like