Visual feedback on selection (Rhino for mac)

Hi,

we are making a plugin on rhino for mac and I wanted to ask about a weird thing I noticed. When using GetObject to get a curve while on windows the user has a flashing feedback of the selected user on the mac version such feedback is absent. Is it an option to activate somehow? We are using the GetMultiple(1, -1) method to get more than one object in a single go.

Any info about it?
Thanks a lot,
Alberto

Hi Albert,

If you just curves with Rhino, not your plug-in command, do you get “flashing feedback?”

– Dale

Hi @dale

what is happening in windows is this:

ggq4iCEi7R

and on the mac is this:
Ukv1Uq9o0O

The code is exactly the same on both versions but no feedback is given to the user. Is it something to do with particular options of the GetObject?

using (var go = new GetObject()) {
  go.GeometryFilter = Rhino.DocObjects.ObjectType.Curve;
  go.GeometryAttributeFilter = GeometryAttributeFilter.ClosedCurve;

  if (go.Get() != GetResult.Object) {
    return Result.Failure;
   }
   // ...
 }

Thanks a lot,
Alberto

Hi @Alberto,

Can you run the SystemInfo command and upload the results?

Also, what if you do this?

using (var go = new GetObject()) {
  go.GeometryFilter = Rhino.DocObjects.ObjectType.Curve;
  go.GeometryAttributeFilter = GeometryAttributeFilter.ClosedCurve;

  if (go.GetMultiple(1, 0) != GetResult.Object) {
    return Result.Failure;
   }
   // ...
 }

– Dale

Hi Dale,
with the change though the behaviour of the command will change. I do not want people to select multiple curves but just one. The change you proposed will highligh the selection but I do need to accept with the right mouse button. I noticed a similar behaviour in Rhino 7 but I was able to solve it with a redraw call, this did not fixed the problem on the macOS though.

Alberto