Skip to main content
1-Visitor
December 15, 2016
Question

Mathcad prime API

  • December 15, 2016
  • 2 replies
  • 4784 views

Sorry to say but its so annoying.

I have been digging my head to get the API of mathcad prime the whole day.

I could only see discussion about the API and SDK files but not the link of any API so that I can download it

and use it in my programming.

I am very new to mathcad and without API I am not able to do anything.

If anyone had a link or document then I humbly request you to share me.

I would be very grateful.

* I am using Mathcad 30days trial version, should I have to buy Mathcad in order to use its API?

Regards,

Prarthana

2 replies

19-Tanzanite
December 15, 2016

The API is built in to Prime. The SDK, you have to pay for (a ridiculous amount of money too). As far as I know, it works in the trial version. What are you trying to do?

1-Visitor
December 15, 2016

Automation definitely works in the trial version.

See this thread for additional information: NEW API for Mathcad Prime 3.1

As noted in that thread, "The API is part of Mathcad Prime 3.1 install. Look for MathcadPrimeAutomation.tlb and MathcadPrimeAutomation.dll."

 

Edit: the link above is a very long thread in which there is much back & forth regarding the cost of the SDK.  However, at the bottom, there is some sample code and I made a few important notes.  See the comments starting with https://community.ptc.com/t5/PTC-Mathcad/NEW-API-for-Mathcad-Prime-3-1/m-p/12422#424595

1-Visitor
December 28, 2016

You can without any problem use the API with the trial and also with Mathcad express.

The API is found at:

C:\Program Files\PTC\Mathcad Prime 3.1\Ptc.MathcadPrime.Automation.dll

It is possible to figure out most of the stuff by looking at the object browser.