My company needs this in Solid Edge now. We are using it already in SolidWorks and want this integrated right into Solid Edge. I've verbally brought this up to some of the developer team at Solid Edge University last week. Hopefully they add this capability very soon. Thank you Tushar and Imics!
I followed Jason's instructions and copied the .dll to the same folder as the application and it works great now!
I've noticed that when the range is not exactly divisible by the number of points the curve is drawn short?
I noticed it using the "default" 2sin(x)+5, but I would assume it is common for all functions. Using range 0 - 60 and number of points = 8 results in a horizontal dimension of 56, while using 10 gives a length of 60. I believe it might be due to the storage of step size as an integer rather than a real?
I am able to reproduce the problem and found the culprit in the code too.
Only that the combination of tools I used originally SE ST4, WinXP and Visual Studio 2010 is gone and the program cannot be build again using my current combination of SE ST 6 on Win 7 using Visual Studio 2015
The math parser library is found to be 'not compatible'.
Perhaps I will consider sharing the code if some one wants to build the program for self.
Maybe I am asking for too much but can you explain how to download this Macro ( amazing, btw. ) ?
Or should I create it myself ?
I found it !!!
sorry for trouble.
sorry to bother you,
I just assigned this macro and getting an error :
Can you please explain ( I am not a Coder ) what is going on ?
The Macro is okay ( I believe ).
From the error it appears that a required library file (with extension .DLL) is missing.
This is the Lundin math library which the macro needs.
Check if there is a DLL file in the same folder as the macro exe
You can download it from http://www.lundin.info/mathparser
or from the attachment.