I'm trying to project a curve to a Brep using RhUtil.RhinoProjectCurvesToBreps and am having troubles with firstly creating an array for the projected curves. I can send the projected curves out as a VB output 'A' but need to send them to an array within the VB component.
Dim arrCrv As New OnCurveArray()
RhUtil.RhinoProjectCurvesToBreps(arrBrep.ToArray(), inCrv.ToArray(), inVec, arrCrv, Nothing, Nothing, tol)
This is the error I get with the script:
Value of type 'RMA.OpenNURBS.OnCurveArray' cannot be converted to '1-dimensional array of RMA.OpenNURBS.OnCurve'.