Pointcloud viewer settings python

I’m working on a utility that dynamically previews certain file types, and I am looking for a method to procedurally set the viewer of a pointcloudinTOP to view as points. Is there any way to do this with python?