DA API Bugs: IADSketchFigures.AddBspline
Documentation shows prototype of AddBspline function as:
Function AddBspline(ByVal order As Integer, ByVal numCtlPoints As Integer, ByRef pCtlPoints() As Double, ByRef pKnotVector() As Double, ByRef pWeights() As Double) As IADSketchBspline
But a COM browser shows the last three parameters as being "DISPATCH" type parameters rather than array references.
How does one use this function? I have tried passing pointers to double arrays, pointers to doubles, C reference parameters, Variant parameters, and pretty much all I get back is an HRESULT error indicating that I am not passing the correct parameters....
Documentation shows prototype of AddBspline function as:
Function AddBspline(ByVal order As Integer, ByVal numCtlPoints As Integer, ByRef pCtlPoints() As Double, ByRef pKnotVector() As Double, ByRef pWeights() As Double) As IADSketchBspline
But a COM browser shows the last three parameters as being "DISPATCH" type parameters rather than array references.
How does one use this function? I have tried passing pointers to double arrays, pointers to doubles, C reference parameters, Variant parameters, and pretty much all I get back is an HRESULT error indicating that I am not passing the correct parameters....