Select objects whilst modal open


Is there a particular type of form modal that I need to use in order to be able to select objects in the Rhino viewports whilst the modal is open?

Currently by running a modal with either:



import clr
from System.Windows.Forms import Application, Form

…allows me to add objects to the Rhino viewport, and rotate the view, but I cannot select the objects.

The modal doesn’t do anything as yet (displays a label), but eventually I was hoping to have selection events occurring in Rhino trigger actions in the modal.

A modeless form will allow you to show your dialog (form) and select Rhino objects.

Is this what you want?