10-11-2021
09:58 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
10-11-2021
09:58 PM
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.