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:

image

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

image

Thanks in advance!

Use the GetOption class.

https://developer.rhino3d.com/api/RhinoCommon/html/T_Rhino_Input_Custom_GetOption.htm

For a sample see any of Search · getoption · GitHub

1 Like