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
I want to create a table and assign the different variables to each cell. After the solving the values, Save the table to text file. How can do it ??
And whats wrong about WRITEPRN ??
Of course you would have to use it after you created your table.
Hello Suresh,
somewhere on this website there is a compendium of neat little programs. It is called "Useful extra components". From that sheet I've got this little helper (see attached file) that writes out data to a text file only on demand.
Hope this helps
Raiko
Yes i can use WRITEPRN..
But the text file format will be as shown
// Datafile written by Mathcad
// 05/12/14 10:37:22
.MATRIX 0 0 8 3
"FileName" "abc.prt" "STRING" "DrawingName" "abc.drw" "STRING" "Height" 80.56
Finally I am creating a vb.net application with good UI, which takes file path as input and writes all parameters to text file as needed. In this case i need to list all the parameters names to get its values
I am not sure from your description what you think you need. Is the problem the import in Mathcad or the export?
In this case i need to list all the parameters names to get its values
As far as i know there is no way to export Mathcad's variable names.
You can cheat by using the MathRegion XML export API in VBscript. This will, with a little care show you all the defined variables, the maths expressions, and results. You have to decode the XML though.
At the moment I'm doing it for a file compare function but it's not finished yet.
Philip
Sounds interesting!
Hi,
My intention is to create GUI in vb.net to enter the values for few parameters from user. Update the same values into MathCAD worksheet and run an evaluation, so that all the parameters dependent on user input get's update. Later i can get the updated parameters values which i need for further Product creation/analysis.
Thanks,
Suresh
Have a look at the attached link.
Take a look at this old thread for some various ways of saving tables as text files: