Selections

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 28/01/2010 at 16:51, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   11 
Platform:   Windows  ;   
Language(s) :     C++  ;

---------
I am trying to set up a tool that selects points, polygons, and edges.  I know that i need to use GetCursorInfo() but I am not sure how actually select the points polygons, and edges.  I am thinking that I will need to determine the location of the cursor and then get the nearest point, polygon, or edge.  Then somehow convert that info to a vector and then do a BaseSelect to select those items.     Is this at all correct?  Am I on the right track?    If not,  could someone direct me toward what I should be doing?

Thanks,

~Shawn

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 28/01/2010 at 22:32, xxxxxxxx wrote:

Have a look at the ViewportSelect class. There is also some information about it on the forum.

cheers,
Matthias