Make an object unselectable and uneditable

Hi,

I’d like to know if it is possible to make an object uneditable and unselectable.
I didn’t find anything relevant in RhinoObject methods.

If it is not possible ; what I am trying to achieve is display an IES spatial representation (a mesh) at the position of a light.
The mesh is already “bound” to the light but I don’t want the user to select the mesh, move it or edit it. Plus it sometimes prevents selection of the actual light object because the mesh is selected first.

Thanks,
Alexandre

Hi @Alexandre_Beaudet,

You might consider just drawing your object using a display conduit, rather than adding some object to the document.

http://developer.rhino3d.com/api/RhinoCommon/html/T_Rhino_Display_DisplayConduit.htm

– Dale