<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Prime Parametric Finite Element Modelling Using Text Files in Mathcad</title>
    <link>https://www.ptcusercommunity.com/t5/Mathcad/Prime-Parametric-Finite-Element-Modelling-Using-Text-Files/m-p/829872#M203157</link>
    <description>&lt;P&gt;Thanks Werner&lt;/P&gt;
&lt;P&gt;I'll give it a go and get back.&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;Terry&lt;/P&gt;</description>
    <pubDate>Wed, 12 Oct 2022 04:28:21 GMT</pubDate>
    <dc:creator>terryhendicott</dc:creator>
    <dc:date>2022-10-12T04:28:21Z</dc:date>
    <item>
      <title>Prime Parametric Finite Element Modelling Using Text Files</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Prime-Parametric-Finite-Element-Modelling-Using-Text-Files/m-p/829856#M203154</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is my first post for help so bear with me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to use Prime for what used to be fast and easy in Mathcad 15.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a work round but it is so slow so asking the forum if there is a better faster way in Prime.&lt;/P&gt;
&lt;P&gt;Perhaps a future scriptable data file saving component?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First what was possible in Mathcad 15&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mathcad 15 had a data file export component.&lt;/P&gt;
&lt;P&gt;This data file export component when you selected "Formatted Text" did four things&lt;/P&gt;
&lt;P&gt;1) Text in double quotes ended up in text file with single quotes&lt;/P&gt;
&lt;P&gt;2) Text in single quotes lost the quotes in the text file&lt;/P&gt;
&lt;P&gt;3) Adjacent quotes "" to indicate no data did not appear in the text file.&lt;/P&gt;
&lt;P&gt;4) Numbers stayed as numbers&lt;/P&gt;
&lt;P&gt;In this way a very large text file could be generated from a Mathcad matrix quickly&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is a simple example.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 588px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/66925iC71DA393EE2908CC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Primes current file output functions cannot duplicate this Mathcad 15 data components behavior.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Second how I got around the limitation.&lt;/P&gt;
&lt;P&gt;I created a function that uses str2vec to create a giant column vector of ascii characters, but it is agonizingly slow.&lt;/P&gt;
&lt;P&gt;For instance a Prime file with a matrix of&amp;nbsp;99514 rows x 8 columns with 4.5 million characters takes about half an hour in Prime to calculate and save the large column vector.&amp;nbsp; The vector is saved by WRITEBIN function.&amp;nbsp; Half an hour for hundreds of parametric files is a long time I am not looking forward to.&amp;nbsp; Hence my call for help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can anyone speed up the function or suggest a faster method of creating the file in Prime.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture2.JPG" style="width: 625px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/66926iB2417CFD5BECB87D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture2.JPG" alt="Capture2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is what the finished finite element model looks like generated from a few parameters using Prime.&lt;/P&gt;
&lt;P&gt;My aim is to save steel tonnage in portal frame buildings.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture4.jpg" style="width: 895px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/66927i95FAD47C4AC4D419/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture4.jpg" alt="Capture4.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks Terry&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 02:10:06 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Prime-Parametric-Finite-Element-Modelling-Using-Text-Files/m-p/829856#M203154</guid>
      <dc:creator>terryhendicott</dc:creator>
      <dc:date>2022-10-12T02:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Prime Parametric Finite Element Modelling Using Text Files</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Prime-Parametric-Finite-Element-Modelling-Using-Text-Files/m-p/829869#M203156</link>
      <description>&lt;P&gt;I, too, can't think of anything else than creating the large vector and using WRITEBIN.&lt;/P&gt;
&lt;P&gt;I won't claim that my function in the attached file would be any faster than yours, but you sure have the large data at hand to testdrive it.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_3-1665547915300.png" style="width: 526px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/66931i88A12FB275164A62/image-dimensions/526x372?v=v2" width="526" height="372" role="button" title="Werner_E_3-1665547915300.png" alt="Werner_E_3-1665547915300.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks to me that your version adds a blank line at the top of the output file. If thats OK for you you can change in my function the ["dummy line"] for [13,&amp;nbsp; 10] and delete the submatrix command at the end.&lt;/P&gt;
&lt;P&gt;Of course you may also change my CR LF (13, 10) for CR (13) only if that suits your needs better.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 04:12:30 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Prime-Parametric-Finite-Element-Modelling-Using-Text-Files/m-p/829869#M203156</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2022-10-12T04:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Prime Parametric Finite Element Modelling Using Text Files</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Prime-Parametric-Finite-Element-Modelling-Using-Text-Files/m-p/829872#M203157</link>
      <description>&lt;P&gt;Thanks Werner&lt;/P&gt;
&lt;P&gt;I'll give it a go and get back.&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;Terry&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 04:28:21 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Prime-Parametric-Finite-Element-Modelling-Using-Text-Files/m-p/829872#M203157</guid>
      <dc:creator>terryhendicott</dc:creator>
      <dc:date>2022-10-12T04:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: Prime Parametric Finite Element Modelling Using Text Files</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Prime-Parametric-Finite-Element-Modelling-Using-Text-Files/m-p/829935#M203161</link>
      <description>&lt;P&gt;Hi Werner&lt;/P&gt;
&lt;P&gt;Have been doing some testing and examination.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are nearly 800,000 items in the matrix.&amp;nbsp; Majority of them are numbers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;AssemblyPRN() uses only one branch if/else test for this majority of items as numbers&lt;/P&gt;
&lt;P&gt;Strings either "" or with values like "Quad4" only have to pass two if tests.&lt;/P&gt;
&lt;P&gt;AssemblyPRN() takes 27 minutes to run.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;FileOutput() performs three if tests for each item no matter what the item is so runs for a longer time&lt;/P&gt;
&lt;P&gt;Currently at 1 hour 30 minutes and still not finished.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Think I will look at the Prime API over the next couple of days but not hopeful.&amp;nbsp; The API is set up to pass a matrix of numbers or individual strings as variables.&amp;nbsp; Does not look to cover a matrix made of strings and numbers?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;Terry&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 10:22:46 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Prime-Parametric-Finite-Element-Modelling-Using-Text-Files/m-p/829935#M203161</guid>
      <dc:creator>terryhendicott</dc:creator>
      <dc:date>2022-10-12T10:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: Prime Parametric Finite Element Modelling Using Text Files</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Prime-Parametric-Finite-Element-Modelling-Using-Text-Files/m-p/829957#M203164</link>
      <description>&lt;P&gt;Too bad!&lt;/P&gt;
&lt;P&gt;I have no experience with the API but I seem to remember that the limitations of it when it comes to matrices was already discussed here in the forum a few times.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 11:37:35 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Prime-Parametric-Finite-Element-Modelling-Using-Text-Files/m-p/829957#M203164</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2022-10-12T11:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: Prime Parametric Finite Element Modelling Using Text Files</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Prime-Parametric-Finite-Element-Modelling-Using-Text-Files/m-p/830047#M203173</link>
      <description>&lt;P&gt;Why don't you use WRITEPRN, then (using you favourite ascii editor) strip off the heading, remove all single quotes and replace double quotes with single quotes?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Success!&lt;BR /&gt;Luc&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 15:13:21 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Prime-Parametric-Finite-Element-Modelling-Using-Text-Files/m-p/830047#M203173</guid>
      <dc:creator>LucMeekes</dc:creator>
      <dc:date>2022-10-12T15:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Prime Parametric Finite Element Modelling Using Text Files</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Prime-Parametric-Finite-Element-Modelling-Using-Text-Files/m-p/830078#M203176</link>
      <description>&lt;P&gt;Here is a version where only one "if" is left.&lt;/P&gt;
&lt;P&gt;But I fear that the operations done on a huge matrix M to create the new(!) matrix M2 may more than compensate for the saved if-statements. Guess that the additional memory consumption should not be a problem for Prime (it could have been a problem in real Mathcad).&lt;/P&gt;
&lt;P&gt;Give it a try if you feel like doing so.&lt;/P&gt;
&lt;P&gt;If its no problem that empty strings result in Null bytes you may remove the "trim" line&lt;/P&gt;
&lt;P&gt;if its no problem that the file start with a CR(13) you can delete the "submatrix" line&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_3-1665594746512.png" style="width: 549px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/66995iEFEB48FD91FC6AFD/image-dimensions/549x402?v=v2" width="549" height="402" role="button" title="Werner_E_3-1665594746512.png" alt="Werner_E_3-1665594746512.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EDIT: A first timing test is not promising but its just using your 3x3 data matrix and so may not be a good indicator for how the functions would scale for larger matrices...&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_4-1665594902616.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/66996iBA34693D060A917D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Werner_E_4-1665594902616.png" alt="Werner_E_4-1665594902616.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;EDIT2:&lt;/P&gt;
&lt;P&gt;I guess its not necessary that you test the new function with your large data matrix. I stacked and augmented your demo matrix to create just a 30x30 data matrix and here are the results:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_0-1665596181740.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/66997i4362C1BD3731663C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Werner_E_0-1665596181740.png" alt="Werner_E_0-1665596181740.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;It looks that so far your AssemblePRN is by far the fastest solution &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 17:37:21 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Prime-Parametric-Finite-Element-Modelling-Using-Text-Files/m-p/830078#M203176</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2022-10-12T17:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Prime Parametric Finite Element Modelling Using Text Files</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Prime-Parametric-Finite-Element-Modelling-Using-Text-Files/m-p/830156#M203193</link>
      <description>&lt;P&gt;Hi Luc&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;WRITEPRN was my first go to.&amp;nbsp; It takes the snap of the fingers to save the file not 27 minutes but!&lt;/P&gt;
&lt;P&gt;The output from WRITEPRN is rubbish and enclosed should show you why.&lt;/P&gt;
&lt;P&gt;WRITEPRN:-&lt;/P&gt;
&lt;P&gt;Rounds decimal numbers, Mathcad 15 had two worksheet variables to cover column width and precision&lt;/P&gt;
&lt;P&gt;Sometime interprets a large integer as text not a number&lt;/P&gt;
&lt;P&gt;Sometimes puts a large integer in scientific format thus loosing information&lt;/P&gt;
&lt;P&gt;Each line is all over the place.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;27 minute file is ordered and looses no data.&amp;nbsp; This is formatted text output Mathcad 15 used to be able to do&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 480px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/67023i6871375305C695EA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;WRITEPRN is rubbish because it looses important data&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture2.JPG" style="width: 698px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/67024iB669EA415B3C28EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture2.JPG" alt="Capture2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;Terry&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 23:09:17 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Prime-Parametric-Finite-Element-Modelling-Using-Text-Files/m-p/830156#M203193</guid>
      <dc:creator>terryhendicott</dc:creator>
      <dc:date>2022-10-12T23:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: Prime Parametric Finite Element Modelling Using Text Files</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Prime-Parametric-Finite-Element-Modelling-Using-Text-Files/m-p/830168#M203195</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Really want PTC to realize how useless WRITEPRN is&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 441px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/67031i2D7C04CEE941F9A0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The beams are connected to two nodes given by the numbers in the last two columns&lt;/P&gt;
&lt;P&gt;Here is how WRITEPRN interprets this.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture2.JPG" style="width: 657px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/67032i6CBDF7E4C183EE72/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture2.JPG" alt="Capture2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Beam 1,2,3, &amp;amp; 4 all now go between nodes 17320 and 17800 this is not what is intended?&lt;/P&gt;
&lt;P&gt;Node 52380 is written five times?&lt;/P&gt;
&lt;P&gt;WRITEPRN() looses valuable information of the FEM model.&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;Terry&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 00:23:29 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Prime-Parametric-Finite-Element-Modelling-Using-Text-Files/m-p/830168#M203195</guid>
      <dc:creator>terryhendicott</dc:creator>
      <dc:date>2022-10-13T00:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Prime Parametric Finite Element Modelling Using Text Files</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Prime-Parametric-Finite-Element-Modelling-Using-Text-Files/m-p/830188#M203200</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Have got a work round until PTC update Prime with a proper space delimited file saver.&lt;/P&gt;
&lt;P&gt;Thanks Luc for setting me on this thought process.&lt;/P&gt;
&lt;P&gt;Workaround involves Mathcad 15, so much for Prime alone&lt;/P&gt;
&lt;P&gt;Step 1&lt;/P&gt;
&lt;P&gt;Save a text file with Prime this gets a text file that can be imported into Mathcad 15&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 366px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/67035iB1C11BEFA3AA6D74/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The file has single quotes for single quote entries&lt;/P&gt;
&lt;P&gt;Triple quotes for double quote entries&lt;/P&gt;
&lt;P&gt;Look at the "Group" lines and you can see the Prime text saver is random in treating numbers as text or numbers but no matter this workaround negates that.&amp;nbsp; Who knows how many times it does this in the large file.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture2.JPG" style="width: 858px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/67036iD8B92ACD18B469EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture2.JPG" alt="Capture2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Step 2&lt;/P&gt;
&lt;P&gt;Run a Mathcad 15 file with only two statements using the built in file input and output components&lt;/P&gt;
&lt;P&gt;This gets a file with single quotes gone and triple quotes as double quotes.&lt;/P&gt;
&lt;P&gt;Note this fixed the group statements and codes are now integers like they should be.&lt;/P&gt;
&lt;P&gt;Numbers are accurate not like WRITEPRN() statement in Prime.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture3.JPG" style="width: 532px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/67040iCD73A9DAE09F73A8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture3.JPG" alt="Capture3.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture4.jpg" style="width: 254px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/67039i3851FB0F07D6D1D5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture4.jpg" alt="Capture4.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Step 3&lt;/P&gt;
&lt;P&gt;Replace in an ASCII editor the double quotes to single quotes and save.&lt;/P&gt;
&lt;P&gt;Step 4&lt;/P&gt;
&lt;P&gt;Run the FEM program and import the file.&lt;/P&gt;
&lt;P&gt;Round trip time a couple of minutes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A tedious kludge but it is going to save hours.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;Terry&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 03:35:04 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Prime-Parametric-Finite-Element-Modelling-Using-Text-Files/m-p/830188#M203200</guid>
      <dc:creator>terryhendicott</dc:creator>
      <dc:date>2022-10-13T03:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Prime Parametric Finite Element Modelling Using Text Files</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Prime-Parametric-Finite-Element-Modelling-Using-Text-Files/m-p/830317#M203210</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have created a command line C++ parser that takes the tab delimited output of Primes WRITETEXT() with all its quotation marks and writes a space delimited formatted text file like the Mathcad data component.&lt;/P&gt;
&lt;P&gt;Parser reads an entire directory of files and saves the new files in a subdirectory.&lt;/P&gt;
&lt;P&gt;Lightning fast.&amp;nbsp; The 27 minutes is now down to a few seconds per file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;Terry&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 15:55:48 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Prime-Parametric-Finite-Element-Modelling-Using-Text-Files/m-p/830317#M203210</guid>
      <dc:creator>terryhendicott</dc:creator>
      <dc:date>2022-10-13T15:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: Prime Parametric Finite Element Modelling Using Text Files</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Prime-Parametric-Finite-Element-Modelling-Using-Text-Files/m-p/830389#M203221</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For completeness here is the DirectoryTest.cpp C++ coding in a zip file.&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;Terry&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2022 01:41:53 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Prime-Parametric-Finite-Element-Modelling-Using-Text-Files/m-p/830389#M203221</guid>
      <dc:creator>terryhendicott</dc:creator>
      <dc:date>2022-10-14T01:41:53Z</dc:date>
    </item>
  </channel>
</rss>

