no one knows?
Welcome to SolidWorks forums Jinghan.
I don't think there are API cods for Scan to 3D but here is one macro to import points. I have not used/tested it but you can check and give it a go. http://solidworks.cad.de/mm_24.htm
Here is another one by Charles: https://forum.solidworks.com/message/233211#233211
You might also find this post helpful for your future reference.