Deselect all points ?

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

On 28/01/2003 at 04:12, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   7.3 
Platform:      
Language(s) :   C.O.F.F.E.E  ;

---------
I can't figure out how to desellect all currently selected points;

    
    
     var doc = GetActiveDocument();  
     var obj = GetActiveObject(doc);  
     println(obj->GetName());  
     var sel = obj->GetPointSelection();  
     sel->DeselectAll();
    
    
    
    
     GeEventAdd(ACTIVE_OBJECT_CHANGED); // redraw
    
    
    
    
     doc->Message(MSG_UPDATE);   
    

I need your help !

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

On 28/01/2003 at 04:35, xxxxxxxx wrote:

Me, the blonde guy ! figured it out !!! here's the missing thing:

    
    
    
    
     obj->SetPointSelection(sel);