How to get the B-Spline Surface From an Extruded Face

Hi all,

I am trying to get the B-spline representation of a face.

In particular, I am dealing with an extruded face, whose underlying surface appears to be modelled as extending infinitely in the extrusion direction. Hence, extracting the surface B-Spline representation, (via GetBSurfParams3), does not accurately reflect the face, making it hard to operate on the B-spline data. I would like a representation that also reflects the length of the extrusion.

Ideally, I would like to implement a method that outputs B-Spline surface data for an arbitrary face, rather than abstract generalisations of its type.

Kind Regards,

Aaron

SolidworksApi macros