Dedicated forum for our customers to share, collaborate, discuss best practices.
Recently active
I am using Mathcad Prime 11 and I am a bit confused about how symbolic solving and variable definition work. In my worksheet, I use the symbolic solve operator and Mathcad returns a value for VBL, but when I try to evaluate the variable afterward, it still appears undefined or does not behave as I expect. I am not sure whether I am using the wrong operator, whether the symbolic result is not actually being assigned to the variable, or whether I should be using a solve block instead. The following screenshot describes the issue. I would really appreciate any guidance on what I am doing wrong and how to properly define and reuse the solved variable in the worksheet.
Hi there ,I need to make CWD ,which is used to identify the location of the input, fixed . So if I send my Mathcad sheet to someone else he can open the sheet and see the calculation.Is that possible or he has to change the CWD and the input file ( in_file) ?Regards, Yusra
When using the symbolic solver, Mathcad Prime 11 often puts in unnecessary parentheses. I've tried every keyword in the symbolics pull-down menu to get rid of the parentheses with no luck. Is there a way to get Mathcad to remove the unnecessary parentheses? For example, I would like to see the following.
I’ve been looking at automating some calculations with the Viktor program. Viktor acts as a kind of app builder for python apps. I’d like to use MathCAD to perform the actual math for the calculation because it’s easy to see the math workflow, but I’d use Viktor as the bridge between my finite element program to bring results into MathCAD and to help visualize results. Does anyone have any experience with integrating MathCAD with Viktor? Any guides or tips you can provide?
Dear PTC community!This topic is a continuation of the "Symbolic solver unit conversion with further substitution" thread.The idea for the improvement is to analyse the bending moment M (bearing capacity) as a straightforward function of different areas and reinforcement grades.Thus, I want to explore how varying the reinforcement level, area, and yield strength affects the moment M for a specific reinforcement stress value at a fixed strain, for instance, the 0.2ecu1 level. I thought that for such a purpose, the additional axes (fyd_n for each reinforcement grade) plotted with dots, whatever, would be useful with both horizontal and vertical axes (stress-strain for each reinforcement grade) in the form of "sights" as in the @Werner_E file, as follows: The possible representation of the aforementioned could also be as follows: I found that the technique of plotting the dot lines for specific values of fyd can be used f
I have a character replace function. I would like to use it to replace a string with a string. If the user inputted duplicate "OR's" then I want the function to thin out "OR OR" to just "OR". Thanks in advance
I have: And a dropdown with rebar properties: Areas are in col 2, 0.44, 0.60, 0.79, etc. How can I write an equation that returns the bar size with the largest area exceeding Areqd? Please advise, thank you
Hi my current workflow involves input a few variables on the first page of mathcad worksheet, then jump to the last page to see the output results after lengthy calculations. I have to tweak the inputs so that the output can meet or at least is close to certain value range. This is not efficient, so I am thinking if the worksheet can take in multiple sets (say, about 100) of input, read one set at a time, do the evaluation, then write the output result somewhere/in some file; then it will jump to the next iteration.I do not want to rewrite the input as vectors, because this will require rewrite all formulas using vectorize operators. Thank you .
I am looking for Mathcad files that deal with synchronous electric motors (non-salient poles and salient-poles).These files should include fundamental mathematical equations for the motors and the calculation of their characteristic curves. A few years ago, I had access to this type of file, created by Mr. Roman Miksiewicz of the Silesian University of Technology (Poland).Unfortunately, the files I have do not cover synchronous motors. If you have such files, could you please provide them to me as Mathcad "xmcd" files, as I do not have Mathcad Prime?I am a retired engineer and volunteer my time helping students with their studies. Thank you in advance. Richard
Hello, I have a completed Mathcad sheet that makes a 3D mesh. I am requesting to please help if the Q function that generates the mesh can be simplified such that the processing time is less. My version is 10. Thank you
Hi PTC Community,I am not sure why this programming construct will not work: apply the Nu function on a scalar & a column vector. I use Mathcad Prime 11.0.1.0. Thanks,thodij
Hello, I use Python to extract data from Mathcad Prime files, based on the previous post below. One thing I noticed is that our Python tool will crash when you have a new line in a text region. Getting rid of the new line in the text region gets rid of the crashing issue. When I go into the Mathcad .zip file with all of the XML data, I do not see any difference between two files - one with text with a new line and one with no new line. Where would I find the new line data in the text region? I will update the Python code to catch new lines, but I dont even see where the new lines are in the text region. Mathcad Prime 9.0 Scripting with XML Data - PTC Community
I am using Mathcad V15. I have started playing with using controls in some of my sheets to limit certain variables to having only certain inputs. In my one sheet, I added a list box control for a variable, and the only choices the user could select would be "B", "C", or "D". When I finished my sheet, I set the variable to selection "C", saved and then closed. When I reopened the sheet, the selection of "C" for the variable was cleared. Is there a reason why the sheet did not retain the selection for the control? Is there a setting somewhere that I can change that will allow the selection to remain? Thank you!
Happy New Year! This month’s challenge is inspired by recent events: the October 2025 Louvre heist in Paris France. Using Mathcad Prime, solve any or all of the following challenges: Challenge 1 (Polygonal): find the minimum number of guards necessary to cover 100% of the following polygonal space. To be unobtrusive, the guards must be placed at vertices. The guards are inside the museum. Assume that the guards can turn their necks and bodies to see everywhere around that point that is not blocked by a wall. The guards have excellent vision and can see everything clearly between them and a wall. Challenge 2 (Graphing): using the plotting and charting capabilities of Mathcad, depict the placement of the guards and their zones of coverage. Challenge 3 (Orthogonal Variant): find the minimum number of guards for the following art gallery. Challenge 4 (Graphing): Depict the placement of the guards and their zones of coverage for the orthog
Hi there ,I need to do this check that F< fy ...I get the wrong answer .. can you help me to fix it I don't know why I can't upload the picture here it is attached
The attached file has two functions. The top function work but will not allow double quotes in the second column of a text file. The second function works to do that, and it works well enough. Was wondering if I could improve it with a TRY... ON ERROR addition?
it is impossible for me attach the original file " 2BINnoT_26LUG2013.xmcd " Claudio Cattaneomy mail cceng@☼engineer.com
Hi PTC Community - I have two variable quantities (Water & Ammonia) evaluated over two different temperature ranges over which only they are each valid.I would like to plot both with a common x-axis range (-70°C to +370°C), and not be limited to either the T1 or T2 (MIN, MAX) range.See how the Ammonia (pink) plot is being limited to the MIN(T1) value of 1°C. See attached. I am using Mathcad Prime 11.0.1.0. Your tips and suggestions for a fix will be appreciated. Regards,thodij
I am the onsite tech for an Engineering company. I have a user who has Mathcad Prime version 11.0.1. The install did not give me the option to install Xmcd, MCD converter. I read the posts that the user needs version 15.0 or higher to have those features but the user says that she does not need 15.0. She said that is an older version and she won't be able to run her files. How can I get this feature installed?
Hello!In my case, I would like to plot an S–N curve for fatigue life.I need the initial slope to be m = 3 or m = 5, and after the knee point, the slope should change to m = 22, specifically for the high-cycle fatigue region.On the Y-axis, a stress range up to 300 MPa is sufficient.On the X-axis, I need the range from 0 to 4 × 10⁷ cycles, and importantly, the X-axis must be in logarithmic scale.I have attached an example S–N curve below for better understanding.I noticed that there is a logarithmic scaling function available in Mathcad plots, but I am not able to apply it correctly for my specific case. BrNLAAL
I have a code that is looking through the matrix and selects creepage based on my input parameters (PD, MG and working voltage WV). It works great....in picture 1. picture 1 Now, I want to add a linear interpolation between 2 values of the voltage. I made a variable "a" doing linear interpolation and tested it works as expected, which it do. Column variable for searching in matrix is hardcoded at the beginning for test. Now, since it work, code A (linear interpolation of the creepage) replace code B (that is using only search method w/o interpolation) in the original code. That is the only change in original code. Code A is tested it works, gives values I need but after A replaces B function that is calling creepage(WV,PD,MG) is complaining "These units are not compatible". What am I missing? I dont see any problem there. thanks Running on Mathcad Prime 11.0.1.0
I was trying to convert a mathcad 15 file to mathcad prime 9, but I get an error in solving for this variable I placed all my guess values and constraints but it still does not work. Refer to the pictures with the solve block and how it was performed in mathcad 15.Mathcad 15 how it was performedMathcad prime 9.0 error in solve block
Hello PTC Community. I am posting a Mathcad Prime 11.0.1.0 worksheet wherein I am evaluating certain quantities by performing element-wise multiplication and division of column vector variables. I believe that I am not doing this right.Your help will be appreciated.In MATLAB, it is .* & ./ for element-wise multiplication and division, respectively.Both the attached Mathcad & Excel sheets work together. Thank you for your assistance.
I would write a function to remove blank characters in rename the string. See attached.
Diagonal resistance of regular polyhedron. R(4)=1/2, R(6)=5/6. How about R(8), R(12) and R(20)?
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.