cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

trying to work with prime

Joeboy
13-Aquamarine

trying to work with prime

I am mystified by prime.  I am trying learn in small steps.  I have attached a file .  I have attached a file but not why it works.   The units seem very screwy. Any help would be appreciated.  Also how do i create a unit in prime and when would I want to do so ?

 

 

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:Joeboy)

Not sure what position in the file you are talking about.

Prime will always give units in standard units which is kg in case of mass. If you see mg that must be either something you are responsible for or, if you didn't change anything after conversion of the sheet, the converter has once again made a big mess and you have to laboriously rework everything. Prime is just pretty junk, especially when it comes to backwards compatibility and diagrams.

 

Are you talking about this nonsense?

Werner_E_0-1664211913175.png

As Luc and me already explained you can either use the placeholder to put the desired units in OR you divide by the desired units as you are used from real Mathcad. But you should never mix these two methods.
If the converter caused this mess its probably because of the unit ng which you also had to define yourself in old Mathcad and  which is not seen as a unit by the converter. But I would have no idea why the converter would turn ng/liter into mg/liter*mg/kg .... but its correct, this construct is really equivalent to ng/liter 😉

 

In the next pic you see that I used the legacy method of dividing in the second plot but its preferable to use the provided unit placeholders.

I used the desired ng/liter and because Prime is not aware of ng out of the box you have to define that unit yourself as already explained.

Werner_E_2-1664212353548.png

 

 

 

View solution in original post

5 REPLIES 5
Werner_E
25-Diamond I
(To:Joeboy)

have not looked in the file you posted but maybe you could be more specific where you experience problems.
Your file works but you don't know why?? Where do you think it should not work?
Whats wrong in your opinion with which units?

 

To define a new unit you would at first define it the "normal" way:

Werner_E_0-1664198737362.png

Then click somewhere in the new unit name and change its label from the default "Variable" to "Unit".

Either via the menu -> Math ribbon - Style - Labels

Werner_E_1-1664198897710.png

or by using the keyboard shortcut Ctrl-U.

If you haven't changed the default setting for the display of units, you will see the the new unit name now gets fat and blue

Werner_E_2-1664198995771.png

and you can use is as any other unit

Werner_E_3-1664199061956.png

If you later type the new unit name somewhere in the sheet it is automatically assumed to be your new defied unit (unless you also use a variable with the same name) and so there should be no need to change the label by hand.

 

Had opened your file now. If your question is about the first plot, I guess the problem is that you divided PCB by gm. If you want to see gm/s you simply type that in the placeholder:

Werner_E_4-1664199506102.png

Similar with the second plot where you need to define unit ng as shown above

Werner_E_5-1664199856293.png

Haven't looked further but I guess the other plots can be fixed the same or similar way.

 

I see that Luc seems to already have answered your very same questions in this thread https://community.ptc.com/t5/Mathcad/Can-someone-help-me-in-Mathcad-Prime-with-the-plot-in-the-file/m-p/826000#M202842

If there still is something unclear feel free to re-ask in the very thread of interest.

 

 

 

 

 

 

 

Joeboy
13-Aquamarine
(To:Joeboy)

in the file we have been discussing why are the units mg/kg.   What is the point ?

Werner_E
25-Diamond I
(To:Joeboy)

Not sure what position in the file you are talking about.

Prime will always give units in standard units which is kg in case of mass. If you see mg that must be either something you are responsible for or, if you didn't change anything after conversion of the sheet, the converter has once again made a big mess and you have to laboriously rework everything. Prime is just pretty junk, especially when it comes to backwards compatibility and diagrams.

 

Are you talking about this nonsense?

Werner_E_0-1664211913175.png

As Luc and me already explained you can either use the placeholder to put the desired units in OR you divide by the desired units as you are used from real Mathcad. But you should never mix these two methods.
If the converter caused this mess its probably because of the unit ng which you also had to define yourself in old Mathcad and  which is not seen as a unit by the converter. But I would have no idea why the converter would turn ng/liter into mg/liter*mg/kg .... but its correct, this construct is really equivalent to ng/liter 😉

 

In the next pic you see that I used the legacy method of dividing in the second plot but its preferable to use the provided unit placeholders.

I used the desired ng/liter and because Prime is not aware of ng out of the box you have to define that unit yourself as already explained.

Werner_E_2-1664212353548.png

 

 

 

Joeboy
13-Aquamarine
(To:Joeboy)

Looks like you telling me I wasted my money on this ?  I did not cause the junk you are referring to.   It was there from the start.  I was told I should get prime because the "real"  mathcad is "going away".   Is this true ? 

Werner_E
25-Diamond I
(To:Joeboy)


@Joeboy wrote:

Looks like you telling me I wasted my money on this ?  I did not cause the junk you are referring to.   It was there from the start.  I was told I should get prime because the "real"  mathcad is "going away".   Is this true ? 


OK, so the converter produced the mess and its now up to you to run through the whole converted worksheet and fix it. You should know by now what to do and how.
Nonetheless you can feel lucky because ever so often worksheets will not work at all after conversion because of missing features in Prime and need a lot of work arounds. In your case as far as I could see the only feature missing are the labels in the plots and PTC suggest to replace them by carefully manually placed text regions (honestly!?). An alternative is using the integrated third party chart component which IMHO is slow and really badly integrated, not unit aware and has also other drawbacks. But on the other hand it offers feature like labels and grid lines which PTC was not willing to implement in the native plots.

 

And yes, its true that good old Mathcad is already "gone away". You can't buy or download it anymore and PTC has deceased support for it as well as for older Prime versions. The only version you can buy now is Prime. So if you don't own a perpetual license for real Mathcad and if you don't want to use a free alternative like SMath Studio you are forced to Prime unless you are willing to switch to a software with a different approach like matLab or Maple.

Concerning you wasting your money - Well, even though Prime has a few advantages over real Mathcad, I firmly believe that Prime has serious disadvantages, shortcomings and weaknesses in total compared to Mathcad. A real further development of a meanwhile more than 15 years old software I imagine in any case clearly different and what PTC has put there is only a big shame.


But everyone must decide for himself whether the program is worth the money that you have to put down annually(!) for it.
But it is my firm conviction that everyone who owns a perpetual license of MC15 is well advised to continue using this version as long as it is still possible in the interaction of program and operating system.

 

Announcements

Top Tags