Dedicated forum for our customers to share, collaborate, discuss best practices.
Recently active
Hi...how can I use API to make a interface application (look like a clip in PTC Mathcad | Engineering Calculations Software
Hello everyone.I made the following function in VBA (Excel) to retrieve the value of the variable B from the mathcad file using the API.The Variable is defined in the file with a unit i.e. B := 2 mPublic Function test2() As Double Dim objApp As Ptc_MathcadPrime_Automation.Application Set objApp = New Ptc_MathcadPrime_Automation.Application Dim b As Ptc_MathcadPrime_Automation.WorksheetReadonlyOptions Set b = objApp.CreateWorksheetReadonlyOptions bb = b.SetOptionValue(WorksheetReadonlyOptionNames_RequestToUpdateInputsEnabled, 2) Dim objCalc As Ptc_MathcadPrime_Automation.IMathcadPrimeWorksheet3 Set objCalc = objApp.OpenEx("C:\Users\kai.jakob\Desktop\Testo.mcdx", b) Dim a As Ptc_MathcadPrime_Automation.IMathcadPrimeOutputResult Set a = objCalc.OutputGetRealValue("(@LABEL VARIABL
Примеры здесьKinematic models in Mathcadи здесьDynamic models in Mathcad
Hi All,I currently have run into a small issue with the way that Mathcad displays the unit system when using the explicit command. The default in-built unit system defines a Force * Distance as joule rather than a moment which is what I want. To avoid having to change from joules to moments (N*m) every time I calculate the capacity of a beam I have created a custom unit system which defaults force * m to kN*m. However, as you will see below when I call on a result that is calculated earlier in the mathcad sheet with the explicit function it will cause unnecessary unit conversations (see 1x10^4 / 1/x10^3). Is there a way of controlling the units in the situation? I am keen to find a solution for this as it complicates the calculation for the person reviewing the work.FYI I have a mathcad prime 3.0 so if there is a solution with this version I will happily switch.See below attached images:Kind Regards,Liam
Dear experts, I'm a third year Agronomy major from Costa Rica. I'm calculating degree days built up for every day in a given data set with over 7 000 observations. Each observation is an hourly average so 24 observations make for 1 day. There are around 300 days in my data set. Growing Degree Days is a measure of acumulated energy in a system during 1 day and it is calculated as follows:Max T = Highest temperature measured from 0000 to 2400; Min T = Lowest temperature measured from 0000 to 2400; Tbase = Minimum temperature required for crop growth (specified by literature)GDD = (Max T - Min T)/2 - TbaseSo, what I want to do is grab my data set, split it into 300 or so chunks of 24 observations. Out of those 24 observations I need to calculate the maximum and the minimum. With those values determined I can now calculate GDD. I need the algorithm to store that value in a matrix and move to the next 24 observations. If the first day is from obs 0(start) to obs 23(end), the second day is f
Hello,How do I start Mathcad from c#? Try to create a new object of type Ptc.MathcadPrime.Automation.Application there is a notimplementedexception thrown.Regards
Is there documentation on this?
I would call this behavior a bug. The integral is only found if the symbolics is forced to float mode (it also happens if you use the "float" keyword).Does anybody know when it was introduced or can anybody confirm the bug in earlier versions of Mathcad than M15 M030?
Hi all!I'm trying to embed an excel file in mathcad 14 using the insert--> component--> excel file--> "create from file" (display as icon).All I want is data from A1:A166053 (i know it is a lot of data ), this data represent the significant wave height since 1957. After I "create from file" I select 0 input and 1 output and then define the range i need. When this is done the icon appers in mathcad and I define the name. In this case "Hs". Then the error message "The range value specified is invalid" appears...What am i missing?? Regards Sigurd Næss
So is there a way to do the second equation with symbolic operator?Shawn
If you live near Winston-Salem, NC and you are interested in attending a free user event on November 12, 2015, please check out the following link.Upcoming Events | 2015 Fall Event at TE Connectivity | Pro/Users of the CarolinasThe preliminary list of topics…Control Cross Section Area Along a Flow Path (Graph & Eval’s)Motion Analysis – Dynamics of a rotating cylinderMathcad in everyday design tasksCreo Modeling ChallengePlus, a Tour of TE Testing Labs
Постановка задачи здесь - What is not correct in this optic problem?
If Vu=0.383*3000*(1275-d) Vc=0.36*3000*dVu ≤ Vc Then value of "d" ll be greater than equal to what ?
Hello,I am attempting to program a simple for loop to increment a single variable in an equation and plot the equation as a function of the variable. I have attached the mathcad worksheet. The issue arises on page 3 of the worksheet. The value I am trying to find is "Sigma_max" as "e" increases from 0 to 1 in 0.01 increments. I'm sure this is easily remedied and due to my own mathcad ineptitude. What am I missing?Thanks in advance!-Ryan
hi,how to get total number of pages in mathcad sheet in VBA or .Net.
I have been having problem with Mathcad Prime 3.1 crashing lately. First, when I load my files, some random equations will be red-circled as "Unknown Error: mpl%_Exception". (see attached image). As soon as I start changing the values on my worksheet, Mathcad would crash.At first, I thought it might be migration issue from my Prime 2.0 file to Prime 3.1, but I realized even if I try a simple calculation in a new file, Mathcad would crash. ex. a:=1m, b:=2m, c:=a+b= (see attached image)I am now stuck, not being to load any of my worksheets. Could anybody offer any suggestion or explanation? I am running Mathcad Prime 3.1 Express, on Windows 7 service pack 1, 64bit. Intel Core i5-3470 CPU 3.20GHz, 8 GB RAM. I did try reinstalling the software with same result.Thanks in advance for helping out.
We use Mathcad for calculations of structural design and create a report of it to be submitted to the customers. While I have created a Mathcad file having set of calculations for standard product, there is a slightly different variant of that product that requires slightly different calculations to be incorporated than the standard one. Now, I want to standardise the template of the report such that, there will be two options (Radio buttons etc) in the beginning to select the variant, and based on the selection the set of calculations will be displayed. Thus I don't have to create two different types of template for the same product.The way of doint it can be hiding and unhiding corresponding regions/pages based on the selection of variant but I don't know how to do it.Any thoughts?
Hi all, I have a long equation calculated by Symbolic solve. It is very long and it is very time consuming to tell the coefficients of each term. Can anyone help me with the attached mathcad file? Thank you!
From CreoParametric 3.0 M030 you can embed a MathCAD sheet into your model. That works fine with CreoParametric, but I do not know how to make this information contained in the MathCAD sheet visible in CreoView.Any ideas?
Can anyone help me evaluate this integral?
Narrow backfill is a common practice in hard rock excavation. Most common cases are construction of retaining walls with a short distance from rock face cut which is usually carried out vertically.The formula used in calculations is partially derived using symbolic calculations. The formula is similar to that to compute pressure on varied pipes. Kee H. Lee, P.E.
Can anyone help me with this integration?. I cannot seem to complete the integration.Thanks
Hi all, if I have the three variables in three equations, would you advise me how to use mathcad to express the derived expression of the variables?I have three unknown variables x,y,z, and three pre-defined values a, b and c. If I have x+y+z=ax+2y+3z=bx+3y+4z=cwould you teach me how can I use mathcad to express x, y, z as the expressions of a, b and c, instead of assigned the numbers to a,b and c then solve x,y,z as the fixed numbers? Thank you!
Hi, guys,As shown in the photo,What's the differences between i and 1i?Is it possible to use an operator or a function to find the magnitude (or angle) of a symbolic complex function? Hope you could help me.May the force be with you guys.Shawn
I am getting error after a solve block that reads "value must be scalar or matrix". Attached is my code below. Any help would be appreciated!
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.