Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Check out the replay for the Mathcad Advanced Controls Crash Course!
Presented by Vipul Trivedi ( @VipulT ) of the Mathcad Application Engineer team and PTC's internal expert on Advanced Controls, he walks you through...
You'll walk away much more confident in your ability to implement these scripted objects, and you'll also have access to not only the replay, but the worksheet examples with the pre-built scripts that you can copy-paste for your own projects.
This webcast is intended for people who are already familiar with Mathcad Prime, but are not already familiar with scripting.
Reminder that this starts in a few minutes. It'll last the whole two hours.
The replay is live right now on mathcad.com.
The worksheets are available for download from the same page the video-on-demand is, as well as other useful resources.
(You can't attach .zip files in Mathcad Tips, so you'll have to head over to mathcad.com and get the worksheets from there!)
I downloaded the worksheets. They work fine in Prime 10.0, but don't work properly in Prime 11.0.0 or 11.0.1. When you open them, they initially work perfectly, but as soon as you change any of the initial oil types, the values in Type get strange. The original values in Type from top to bottom for WTI - Gasoline are "11", 4, and "Gasoline". As soon as I change anything and go back they become "10", 4, and "". After that all of the output in the 3rd vector position are "".
Any thoughts on what's going on?
Mathcad Prime 11 had some... undocumented changes made to how scripts work. Vipul is/was investigating them.
I'll follow up with him and see if he has an updated for-Prime-11 List Box example. (And if others need updates, too.) I'd like to then replace what's been published with those.
Thank you! Looking forward to getting this figured out. In the meantime, I’ll go back to v. 10.
