GetSelectedObject6 always returns null

I'm new to this method and don't know how it works,can any one explain me why can't I get a value that is not null from

swView = (SolidWorks.Interop.sldworks.View)swSeleMgr.GetSelectedObject6(1, -1);   ?  I do did the select.

SolidworksApi macros