Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
Hi Johnny,
SDK is called an API in Prime
The API is included with a Mathcad Prime full license.
There are some good examples provided in help of how to create Custom Functions or Applications that use Prime for many languages.
It is suggested to look at them.
What programming language have you chosen from the ones available in the API.
Cheers
Terry
Hi Johnny,
Just to be clear. Custom Functions can only be written in C, C++, or Fortran in a C wrapper.
Cheers
Terry
Hello @JA_13692567,
It looks like you have a response from a community champion. If it helped you solve your question please mark the reply as the Accepted Solution.
Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.
Thanks,
Vivek N.
Community Moderation Team.
I have also recently upgraded to Mathcad Prime 11.0.0.0 (version 9 was removed first), and none of my existing COM automation can connect to the Mathcad Prime COM API (Error as follows: -2147221005, 'Invalid class string').
Even browsing to the TLB using the MS Excel VBA developer window allows the class properties to be viewed and added as a reference to the project, but running the project results in -2147221164 'Class not registered'.
These errors were consistent in Visual Studio 2022:
CS1061: 'IMathcadPrimeWorksheets' does not contain a definition for 'Add'
CS1061: 'Worksheet' does not contain a definition for 'SetExpression'
CS1061: 'Worksheet' does not contain a definition for 'Evaluate'
CS1061: 'Worksheet' does not contain a definition for 'AddTextRegion'
CS1501: No overload for method 'Save' takes 2 arguments
CS0117: 'SaveOption' does not contain a definition for 'DoNotSaveChanges'