I am getting error as 'this value must be real'
Hi all, I am getting an error as 'This value must be real when I try to plot L1 vs v' Can somebody tell me How to overcome this error. I attached my code below, Thanks.
View Articlea nested mathcad worksheets
Hi,Is it possible to call from within a worksheet, with parameters, to another worksheet that takes in as input the parameters of the call function and then runs and calculates the whole called...
View ArticleI am getting error as ' found a number with magnitude greater than 10^307...
Hi all, I am getting an error as ' Found a number with magnitude greater than 10^307 while trying to evaluate the expression' Can someone help me to overcome this. I attached my code below, Thanks.
View ArticleGetting a matrix to a vector
Hi For 1-dimensional element method analysis of a multi-layered soil system I need a vector that has value 1 ateach node which is connecting two soil layers and 0 in every other node. The number of...
View ArticleWrap several lines in a single text box
Hi there,I need to wrap text in a text box of a scriptable object. Does somebody have a nice example? So far MC14 has resisted my skills.Thanks Raiko
View ArticleNEW API for Mathcad Prime 3.1
Can someone point me to the user guide to use the NEW API in Mathcad prime 3.1 The help system mentions that the user guide is available but does not give a link to it, does not give an online help to...
View Articlepick the middle member of an array
Hello, I have an array of numbers. I don't know the number of members. I want to pick the member at the middle (or close to the middle if the number of members is even).Is there any function in mathcad...
View ArticleCalculating with breakpoints
Hello everyone!I'm not an experienced user of either Mathcad or this forum, so I apologize if this question is in the wrong place.Sometimes it's needed to calculate the worksheet with attention to...
View ArticleHow to plot the two equations
Hi, I want to plot the 2 equations in mathcad, The two equations are, 2x^2+3y^2=59 (circle) 4y=x+8 (straight line) these examples are used in Find command in mathcad. I attached my code below.
View ArticleCalling Functions in an included Worksheet
I have an application where I am using a master worksheet to call functions from several other worksheets. I have just found that if I call a function from an included worksheet which then calls...
View ArticleGetting Outputs with API
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 m...
View ArticleSome results are in parentheses
HelloInMathCadPrimeIalwaysgotcertainresultsinparenthesesandIdonotknowwhythereisthiskindofrepresentationandwhataretheconditions.Kind regards.Denis
View ArticleSolve Equation
I am working on the JONSWAP wave spectra analysis in-line with DNV-RP-F109 and having trouble soling the equations in the attached worksheet. The standard indicates that the wave number can be...
View ArticleStart Mathcad from c#
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
View ArticleApplication.ActiveWorksheet returns nothing
I am embedding some VB in a Scripted Object within a MathCad worksheet. I am trying to get the Worksheet object so I can get/manipulate some values in the sheet, but when I call ActiveWorksheet (or...
View ArticleModifying Matrix Elements From Within Scripted Object
I am trying to make changes to matrices with a VBScript Scripted Object. I can get the matrix with worksheet.getValue("Matrix"), but changes I make to that with Matrix.SetElement do not persist outside...
View ArticleMathCAD beginner - for loop
I'm trying to simplify the following calc to compute the fines content correction as a 4x1 matrix but continue to get error after error when I try to write for loops. Please help...
View ArticleDifferent set of calculations based on option selected
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,...
View ArticleTotal page count in VBA
hi, how to get total number of pages in mathcad sheet in VBA or .Net.
View ArticleSimple for-loop gone wrong
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...
View Article