To create a point cloud from a SolidWorks file, first remove any unnecessary solid bodies or surfaces.
Then save as an IGES file. Change the extension of this file to .txt which can then be opened in Excel.
Open the SolidWorks file and select a point for its coordinates, this can then be searched in the excel file using CTRL+F. This should take you to one cell which will be surrounded by values and 3 columns you X,Y,Z coordinates for your point cloud.