<?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: Programing to support an external program in Mathcad</title>
    <link>https://www.ptcusercommunity.com/t5/Mathcad/Programing-to-support-an-external-program/m-p/284687#M111175</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it can be done either way, control Orcaflex from MathCAD or pass data to MathCAD from Orcaflex, analyze, and return to Orcaflex. The starting point, I think, would be to pass the data to MathCAD, then back to Orcaflex. Python either control Orcaflex or be called by Orcaflex. Too much flexibilty for me at this time. Just trying to narrow down what may be a good starting point.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Oct 2012 18:11:47 GMT</pubDate>
    <dc:creator>tietjee</dc:creator>
    <dc:date>2012-10-11T18:11:47Z</dc:date>
    <item>
      <title>Programing to support an external program</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Programing-to-support-an-external-program/m-p/284685#M111173</link>
      <description>I have been using MathCAD for about 20 years but never the developer’s programing feature. Recently your company purchase a program the will interface with Python, MatLAB, and C++. The program is Orcaflex and is a FEA program. I have started teaching myself Python seems to</description>
      <pubDate>Thu, 03 May 2018 17:48:38 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Programing-to-support-an-external-program/m-p/284685#M111173</guid>
      <dc:creator>tietjee</dc:creator>
      <dc:date>2018-05-03T17:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Programing to support an external program</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Programing-to-support-an-external-program/m-p/284686#M111174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not clear to me want you want to do. Control Mathcad from Orcaflex, control Orcaflex from Mathcad, or control both from a third piece of software (e.g. a Python program).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2012 17:25:03 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Programing-to-support-an-external-program/m-p/284686#M111174</guid>
      <dc:creator>RichardJ</dc:creator>
      <dc:date>2012-10-11T17:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Programing to support an external program</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Programing-to-support-an-external-program/m-p/284687#M111175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it can be done either way, control Orcaflex from MathCAD or pass data to MathCAD from Orcaflex, analyze, and return to Orcaflex. The starting point, I think, would be to pass the data to MathCAD, then back to Orcaflex. Python either control Orcaflex or be called by Orcaflex. Too much flexibilty for me at this time. Just trying to narrow down what may be a good starting point.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2012 18:11:47 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Programing-to-support-an-external-program/m-p/284687#M111175</guid>
      <dc:creator>tietjee</dc:creator>
      <dc:date>2012-10-11T18:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: Programing to support an external program</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Programing-to-support-an-external-program/m-p/284688#M111176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The starting point is to decide which piece of software is in the driving seat. Based on a &lt;SPAN style="text-decoration: underline;"&gt;very&lt;/SPAN&gt; brief look (so I could be wrong!) at the Orcaflex API and scripting documentation, Orcaflex is not set up to call another piece of software. It is called from Python. So you could either call both Orcflex and Mathcad (using the Mathcad API) from Python, or you could write a VBscipt that calls a Python script that calls Orcaflex (kind of a kludge, but it would work), or you could write a User DLL for Mathcad in C++ that calls the Orcaflex API directly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an aside, if you are learning Python, download and read "A Byte of Python". It's free, and a good place to start.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2012 18:25:57 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Programing-to-support-an-external-program/m-p/284688#M111176</guid>
      <dc:creator>RichardJ</dc:creator>
      <dc:date>2012-10-11T18:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: Programing to support an external program</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Programing-to-support-an-external-program/m-p/284689#M111177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the recommendation for the Python book. I will have to try and call Orcaflex from MathCAD. I would like to stay away from multiple calls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2012 18:46:13 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Programing-to-support-an-external-program/m-p/284689#M111177</guid>
      <dc:creator>tietjee</dc:creator>
      <dc:date>2012-10-11T18:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: Programing to support an external program</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Programing-to-support-an-external-program/m-p/284690#M111178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then your best option would be a User DLL. You could then implement all the Orcaflex functions available via the API as Mathcad functions. You would have to write that in C++ though, not Python.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have requested that when they implement scripting in Prime they include Python as an option. I think my request has a 0.000000000000000000001% chance of success, but I asked anyway &lt;IMG src="https://community.ptc.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2012 19:08:08 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Programing-to-support-an-external-program/m-p/284690#M111178</guid>
      <dc:creator>RichardJ</dc:creator>
      <dc:date>2012-10-11T19:08:08Z</dc:date>
    </item>
  </channel>
</rss>

