Autogeneration of MathCAD Prime Files using the API or changing XML data
Hi,
I am attempting to create a program that will autogenerate several MathCAD file templates based on variables that will be taken from an excel sheet that contains a list of parts.
I am using MathCAD Prime 9.0
Some things I've looked into are using the API or changing the XML data directly.
The API doesn't seem to support a way to add in new inputs and outputs to a blank worksheet.
Changing the XML data directly seems like it could be a good option. From other posts I've read it sounds like you can change the file extension to a zip, unzip the file, change some data in one of the files, then rezip and change the extension back. However when I have tried this the process of unzipping and rezipping changes how it is compressed which causes it to be unreadable by mathcad, even if I don't change any of the internal files.
Is there a way I can inputs and outputs to a blank worksheet with the API that I am missing? Is there a way to unzip and rezip the mcdx file that will maintain the readability of the file in MathCAD?
Thanks

