Not all points are created depending on the zoom factor

When I import a point cloud from file with a custom add-in, depending on the visible model area, more or less points are not created.

CreatePoint2() gives returns with null value, and point is not created.

If I zoom in, more points are created, but still not all of them.

Is there any solution for this problem in C#?

Thank you.

SolidworksApi macros