Quantcast
Channel: PTC Community: Message List
Viewing all articles
Browse latest Browse all 11560

Outputting variables from mathcad with specific formatting into .txt or .exp filetype

$
0
0

Hi all,

 

I am needing to output calculated variables from my mathcad calculation sheet, into either a .txt or a .exp file. I have first tried using a matrix to do this, but the formatting is not exactly what I am needing.

 

I have attached my mathcad approach, and the resulting format. The problem with the format shown is the space between the =, and the value of the variable.

 

The reason I am needing to do this is so that I can output calculated variables into a file that will be read by siemens NX. Perhaps anyone knows of a script that has already been built that can do this? I found an example  built by Mike Armstrong from a few years ago, but I could not get it to work with MathCad 15. It probably did not help that I have no experience writing scripts in MathCad.

 

Thanks guys.

textsegment.PNGmathcadsegment.PNG

 

-jw


Viewing all articles
Browse latest Browse all 11560

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>