Extracting XYZ Control Points for Bezier or B-Spline Surface from part model

Is there a way to extract XYZ control points for either Bezier or B-Spline surface or both from the SolidWorks part model?

I need to extract these points without using .stl format or points for sketch.

SolidworksImport export