c4dObjectList and Spline

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

On 26/09/2009 at 16:14, xxxxxxxx wrote:

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

---------
Hello All,
in my tool i use in GetCursoInfo  ViewPortSelect to detect my own snapping.
to initializze it i use C4dObjectList with SelectionlistCreate to fill an atom array with object under mouse arrow, all is fine but i have a problem with spline.
if i have i sgle segment spline (only 2 point ) and spline is parallel with one axis SelectionlistCreate can't see the spline because the splie bounding plane is null.
i havetested with ctrl right click in viewport and cinema can't see this kind of object.
is there another quick function to know witch object are aunder the mouse ?
Thanks in advance
Franz

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

On 29/09/2009 at 01:27, xxxxxxxx wrote:

Have you tried ViewportSelect::PickObject() ?

cheers,
Matthias

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

On 29/09/2009 at 02:18, xxxxxxxx wrote:

Hello Matthias,,
Thanks for reply, i already tried this and works as same mode of SelectionListCreate, the very strange things is Cinema Sandard snap can evaluate this kind of spline.
Franz