Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
Hey there y'all,
I'm having difficulties updating a MathCAD 15 file to Prime 8 in that we're losing functionality of the file. I didn't write the original file, and I've got two weeks experience with MathCAD anything. Lots of Googling and time in the PTC support section.
I can get some plotting done in the Prime file by taking "xx" to "x" (you'll see it near the top in the Live Load Moment and Shear Influence Factors section) but anything beyond the first two plots is broken. Fun!
Attached are the original file as given to me, the file the converter in Prime spat out, and the XML log.
Welcome to the forum.
You should realise that Prime is a completely new development (?) by PTC of a great tool called Mathcad. It's underway now for more than 10 years, and in many respects Prime does not meet the capabilities of Mathcad. On a few points Prime is better than Mathcad. To name one: Prime allows multiple dimensions/units in a single array. Mathcad doesn't.
I would not call the conversion from a Mathcad file to Prime format an update. It's just a conversion, As long as the Mathcad file uses none of the features that Prime still lacks, the conversion may end up with a workable file.
In your case the converter for some reason failed to label all units (ft, kip etc) as units. That causes unit mismatch which results in error messages.
Success!
Luc
Thank you for the clarifications, Luc. I'll be diving in deep on the unit labeling.
The Mathcad 15 sheet also contains errors.
The first one in the area "JBridge - 2 Axel Truck" because Space.2 is not defined
The in "Summary Set-Up", again because the red flagged variables are never defined
Next errors in "Wheel Locations"
and the last ones here
Again because the used functions are not defined.
All these errors do not affect the plot at the end of the sheet, though
The Mathcad sheet uses a quickplot in the first plot and the values shown are meter because the unit system chosen is SI.
I guess that the plot rather should use feet as base unit.
To do so, you should use (in the Prime sheet) the already defined range p instead of x (not xx), put ft in the unit placeholder on both aaxis and also change the expressions at the axis ends from "Span" to "Span/ft" and from "Span/4" to "Span/(4 ft)".
Of course you first will have to manually change the label of all units to "Unit". To do so you click on every single unit and type Ctrl-U.
The converter did a really bad job by ignoring all non-SI units - really bad.
BTW, to get the first plot done I had chosen a different was by defining
On the left hand side normal variables and on the right hand side units.
This was just a quick hack to get a result but I would strongly advise against doing so. Do manually what the converter should have done and change every single unit in the sheet to label "unit".
Forgot to also mention that in Prime you have to attach a unit even if the value of a quantity is zero. This was not necessary to do in legacy Mathcad. So you may need to change some functions which normally return a quantity with unit but sometimes simply return zero. You have to manually add an appropriate unit there as the converter, you guessed it, didn't do so.
One example at the top of the sheet:
I have not looked through the sheet but its likely that other functions will have to be treated similarly.
So thanks to PTC you now have quite some work to do to postprocess the converted sheet. Hopefully at the end the downgraded sheet (going from real Mathcad to Prime is a downgrade) will work as expected. Good luck!
Thank you for your time looking at this mess, Werner. I appreciate it a lot. I'm hoping to have some good progress updates sometime next week, juggling a few other tasks at work.