How to combine object types in filter for Rhino.Input.RhinoGet.GetMultipleObjects()?

I wanna be able to select surfaces, points and curves only.

Hi @Asterisk ,
You can use bitwise OR operator to combine the filters like this
RhinoGet.GetMultipleObjects("Select objects", true, ObjectType.Surface | ObjectType.Curve | ObjectType.Point, out ObjRef[] objrefs);

1 Like

That’s it, I knew it was something simple. Thanks!