Objects selection via code is much slower than via viewport

Hi

Thanks for the quick reply!!!

I’m trying to select within the rhino document.

So in C# if I do this:

Rhino.DocObjects.Tables.ObjectTable ot = Rhino.RhinoDoc.ActiveDoc.Objects;

  bool nSelected = ot.Select(ID);

or this

Rhino.RhinoDoc.ActiveDoc.Objects.Select(ID);

or for that matter any other combination using GUIDs it takes foerever

If I do this:

  Rhino.RhinoApp.RunScript("SelAll", true);

It’s instant.

and then trying the python version. ( I’m not too good at python)

if I try this

import rhinoscriptsyntax as rs

if T :
rs.SelectObjects(ID)

Nothing get’s selected.

I’m trying to select it within the rhino doc, not bring it into the GH

I don’t know if I’m making too much sense

Thanks for your help :slight_smile: