How to deselect all, not from GetObject

How to deselect all? not from GetObject. Is there a method to invoke DeselectAllObjects event?

I guess you’re looking for UnselectAll method.

Thank you, it works