Start a topic
With the exception of Windchill, The PTC Community is on read-only status until April 6 in preparation for moving our community to a new platform. Learn more here
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

The PTC Community is on temporary read only status in preparation for moving our community to a new platform. Learn more here

Advanced Controls Crash Course

No ratings

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.

Comments

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

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?

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.

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

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)

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!

Version history
Last update:
‎Mar 12, 2026 12:14 PM
Updated by:
Labels (1)
Attachments
Contributors