Select Object, drawn in Conduit


#1

Hi guys,

I am looking for an example how to select objects drawn in own conduit display.
I have found this: http://developer.rhino3d.com/guides/cpp/picking-objects-without-crhinogetobject/

I am looking for RC example, applicable in R6.

Thanks in advance,
Dmitriy


#2

And actually, I am looking for the way, when potentially Conduit object or an existing Rhino Geo can be selected.

Thanks,
Dmitriy


(Dale Fugier) #3

Hi @Dmitriy, neither the Rhino C++ SDK nor RhinoCommon has tools for this. But implementing some kind of Pick member on your conduit that take a CRhinoPickContext as a parameter would be a good way to start writing such a tool. You could then use some of the helper functions on CRhinoPickContext to ‘pick’ parts and pices of stuff you are drawing.