How to create a control as Layers

Dear ,

with rhino sdk C++ into CRhinoFileImportPlugIn
into rhino you have the windows Layers :

is it possible to create the same windows with Rhino SDK ? if yes , do you have some examples sources for adding the same windows ?

thanks
laurent

Hi @eraud,

The control used by the Layers panel is not exposed by the C++ SDK.

If you need to select one or more layers, you can use the RhinoSelectLayerDialog and/or RhinoSelectMultipleLayersDialog functions.

Does this help?

– Dale

Helo Dale ,

unfortunaly , I would like to create the same control as your layer control (with a tree struture) , how do to create it , is it an internal tool ?

thanks
Laurent

Yes it is. The Layers panel control is written in MFC and is a highly customized CListCtrl.

– Dale

Helo Dale ,

thanks for your answer

thanks
Laurent