Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Hello,

 

thank you for taking the time to help me with my problem.

 

Beside the cosmetic changes, about which I think reasonable minds may differ, you made a change to the way that that the parameter variable is allocated. Whereas I allocated the memory at the top of the function, you did so in line with the function call.

 

(Works)

 

 

evaluator.GetPointAtParam(New Double() {midParam }, midPoint)

 

vs (Works unreliably)

 

Dim u(1) as Double
u(0)=midParam

evaluator.GetPointAtParam(u, midPoint)

 

 

This seems to be a functioning workaround. Thank you for providing this solution.

 

If anyone from Autodesk is around, I would like to know if this is indeed bugged, or if I have somehow missed an important point about memory allocation in VBA.