Skip to main content
DJNewman
19-Tanzanite
Jul 8, 2024 6:48 PM UTC

Advanced Controls Crash Course

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...

  • What Advanced Controls are and why they're so powerful and interesting
  • How to use them in Mathcad Prime 10
  • Common use cases and examples for each of the six control types (List Boxes, Checkboxes, Text Boxes, Radio Buttons, Sliders, and Buttons)

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.

 

The worksheet .zip attached to this Community post are Mathcad Prime 11 worksheets. Certain changes made to Prime 11 changed how scripts are processed, and these Prime 11 worksheets accommodate that to maintain the same intended functionality. Also included in the .zip are Python versions.

7 replies

DJNewman
DJNewman19-TanzaniteAuthor
19-Tanzanite
Aug 20, 2024 1:46 PM UTC

Reminder that this starts in a few minutes. It'll last the whole two hours.

Translate
PTC Marketer for Creo and Mathcad. I run their YouTube channels, some Creo campaigns, and all Mathcad campaigns and communications.
DJNewman
DJNewman19-TanzaniteAuthor
19-Tanzanite
Aug 23, 2024 3:41 PM UTC

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!)

Translate
PTC Marketer for Creo and Mathcad. I run their YouTube channels, some Creo campaigns, and all Mathcad campaigns and communications.
4-Participant
Dec 30, 2025 11:16 PM UTC

Replying to DJNewman

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?

Translate
DJNewman
DJNewman19-TanzaniteAuthor
19-Tanzanite
Dec 31, 2025 4:19 PM UTC

Replying to DD_10442446

 

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.

Translate
PTC Marketer for Creo and Mathcad. I run their YouTube channels, some Creo campaigns, and all Mathcad campaigns and communications.
4-Participant
Dec 31, 2025 5:44 PM UTC

Thank you! Looking forward to getting this figured out. In the meantime, I’ll go back to v. 10.

Translate
DJNewman
DJNewman19-TanzaniteAuthor
19-Tanzanite
Feb 9, 2026 8:17 PM UTC

Replying to DD_10442446

We've finally attached the .zip with Python and JScript worksheets for all six controls.

(to the Community tips post itself)

Translate
PTC Marketer for Creo and Mathcad. I run their YouTube channels, some Creo campaigns, and all Mathcad campaigns and communications.
DJNewman
DJNewman19-TanzaniteAuthor
19-Tanzanite
Mar 12, 2026 4:15 PM UTC

Replying to DJNewman

The Advanced Controls Crash Course did not migrate from mathcad.com to ptc.com, so we instead uploaded the entire 2-hour event as one YouTube video that doesn't require passing PTC any personal information to watch.

Enjoy!

Translate
PTC Marketer for Creo and Mathcad. I run their YouTube channels, some Creo campaigns, and all Mathcad campaigns and communications.