rs.GetObject not working for objects in Layout Detail

Is this a bug or it was never supposed to work there?

Rhino.Input.Custom.GetObject() also doesn’t seem to work.

Funny though you can select objects when creating leader texts there (the Rhino command).
So I guess there is a way.

I found the solution here:

Thanks @clement

Uhm?! :thinking:

The script above was working at first, but after testing the code from this post it stopped working:

I found what was the issue.

The Osnap filter was disabled and that prevented me from selecting anything.

Now it works again :slight_smile: