Recently active
When I want to create sketch feature, wfcElement::Create(PRO_E_STD_FEATURE_NAME) is always not be correctly, It always disappear. The RightPlane can not be obtained!!Help me!!!!! 😂 pfcSession_ptr session = pfcGetProESession(); if (session == NULL) { OutputLogMsg("failed to obtain creo session."); return; } wfcWSession_ptr Wsession = wfcWSession::cast(session); // 取得目前模型(確認為零件) pfcModel_ptr model = session->GetCurrentModel(); if (!model || model->GetType() != pfcMDL_PART) { OutputLogMsg("failed to obtain PART model."); return; } // 將模型轉型成 Solid 物件(支援草繪) pfcSolid_ptr solid = pfcSolid::cast(model); wfcWSolid_ptr Wsolid = wfcWSolid::cast(solid); // 檢查目前模型是否為有效的 Solid 物件 if (solid == NULL) { OutputLogMsg("failed to get Solid from current model."); return; } // =============================================== // 嘗試取得名稱為 "TOP" 的基準面 pfcModelItems_ptr Items = solid->ListItems(pfcITEM_FEATURE); pfcModelItem_ptr TopPlane = nullptr; pfcM
Hello All, I am attempting to find the percentage deviation of the calculated output.However, in Mathcad Prime, the calculation using matrix indices is producing incorrect results.What could be causing this issue? In the attached screenshot, the output calculation in green font is correct and was done manually, while the output calculation in red font is incorrect and was done using the matrix indices formula.I have attached the .mcdx file with my calculations for your reference.I would greatly appreciate a quick resolution to this problem. Thanks in Advance.
Solving ode's I have run into this error before: https://community.ptc.com/t5/Mathcad/Return-Value-of-this-function-must-match-the-problem-size/m-p/727295/highlight/true#M195799 I managed to get around it by switching solvers from Radau to BDF, but I still do not know what the message means and changing solvers does not work this time. As shown in the attached (MCAD 11 - converted from MCAD14) worksheet, the denominator of dv does get small but never reaches zero because of the damping factor eta (Increasing eta does help but does not eliminate the problem. and eta should by ~10^{-12} on physical grounds. Setting p0 = 0 in the denominator does eliminate the problem, although I do not see why. So, it does seem like the denominator is the problem, but, if so, I would have expected to get a "calculation does not converge" message. Tried playing around with other parameters to no avail. Any comments or suggestions would be appreciated.
I am solving an ode. The calculation converges for some parameters but not for others. My problem is I cannot figure out why. There seem to be no obvious causes, e.g. like a denominator going to zero. I have looked at a number of other aspects without success. I am not mathematically adept enough to tease something out analytically, but maybe some one else is. If anyone has any insights or suggestions, I would appreciate it. I have attached a worksheet. It is MathCad 11. I know there are some others out there using legacy versions like me (still using MC14). Also sometimes instead of the non-converging error message, mc flags the rhs of the ode and says "The return value of this function must match the problem size." What does this mean?
I want to create a create a special BOM Balloon symbol. Basically the request if for a vertically stacked set of balloons with additional common symbology. I want to be able to allow a user to switch between different configurations of the symbol. When switching configurations the text the user has already entered to be persistent. The video below shows how the attributes are lost when switching between the bottom to top leader configuration. Also included is a screen grap of the ungrouped symbol elements and the symbol attributes. (view in My Videos) Creo 9, 10, 11
Creo Parametric 8. When an unlocked dimension is toggled to lock, the dimension automatically changes accuracy to be 2 decimal places, and also appears to round the original value to the rounded value. This is causing large unintended geometry changes. Is there a config.pro setting or other setting that can be modified to fix this? The list of options I've already modified is below: default_dec_placeslive_dim_precision_decimals (appears to have worked for linear dimensions but not radii)default_ang_decimal_places
I want to calculate the torsional stiffness for my design, So for that I have to determine the value of angle of twist in simulation. Can anyone tell me the procedure to calculate the torsional stiffness or angle of twist in creo simulation.
I am using CREO 10. How do I change the dimensions (shown in red boxes) to be half (like the second example)? I have looked in parameters, played with the bottom witness line, but past examples are not working.
Hello,I have a part and its drawing. I need to make an assembly by using this part and as well as its drawing as new drawing file for my new assembly. Is it possible? Creating a copy of a part drawing as a drawing of an assembly which the original part belongs to. Please ask if it is too vague and I will try my best to clarify it.Thanks.
Kindly Note : Effective January 1, 2022, the only version of PTC Mathcad available for subscription will be PTC Mathcad Prime 7 and future versions of PTC Mathcad Prime. After December 31, 2021, PTC will no longer have the right to sell or distribute software versions moving to end of sale due to a third-party component contained in those versions. For more details, refer note from Mathcad Product Manager.Moving forward, the below mentioned links for Mathcad 15.0 Trial download will be routed to latest release of Mathcad Prime.************************************************************************************************************************************************************************ Step by Step procedure to Install Mathcad 15 1. Download CD for Mathcad 15 Trial Edition. For details refer Topic Launch windows explorer and browse to folder where Mathcad 15-EN.zip file has been downloaded. Run the Executible "setup.exe" &
I am using Creo Parametric Release 4.0 and DatecodeM150hide_set_datum_plane_with_plane 옵션이 6.0 부터 사용가능하다는 cs 문서는 확인했습니다.그 이하버전에서는 어떻게 사용해야할까요설정된 기준면을 다른기준면과 함께 제어 하고싶습니다.
Hi Everyone,I am working on a Creo Parametric 9.0.6.0 plugin using the VB API in C# in Visual Studio and have successfully created an application that interacts with Creo when it is running in the background. I can retrieve the active session and perform operations using the API.Now, I want to add a custom button to the Creo Ribbon panel and link it to my C# code so that it executes a function when clicked. I came across a similar discussion in the community and wanted to confirm whether this can be achieved using the VB API in C#.I would really appreciate any pointers, references, or guidance on implementing this. Any insights from those who have done similar work would be greatly helpful.Thank you!
Hello Need to change my 10 year old Lenovo Thinkpad T450s running windows 10 to a new one Lenovo Thinkpad P14s G5 running windows 11 with AMD Ryzen 7 Pro 8840HS CPU and AMD Radeon 780M graphics. Would that be possible for Creo 4 M080 to run? BRPatrick
Hey everyone,I’m trying to recreate a Mathcad worksheet from a PDF file titled Shaft Bearing Speed. I’m using the exact same commands from the PDF to write it in my own worksheet, but I’m running into multiple errors and mistakes that I can't seem to understand.I’ve attached both the original PDF, my Mathcad worksheet, and error screenshots for reference. I’d really appreciate any help in figuring out where I might be going wrong. Thanks in advance. Below are the screenshots of my errors... PS: The excel component is in-active in my worksheet for god knows the reason & hence, I had to use an image there, but with a "Read Excel" command on top. I hope you don`t judge me on that...
Hello all,i am trying to write a simple program to display message in creo9.0 , i am using visual studio 2022, i am confused about the error in vs and when i manage to create a dll the message is not displaying in creo as well , but same thing works for my friend. so frustrating, please let me know what am i missing here
Hello all,Creo Version: 8.0.8.0I am having trouble with a hide layer that i created a few weeks ago. It originally worked but now it does not. I have a Layer that has fabric 2 straps on it, if i toggle (show and hide) it does not hide anything any more. it worked when i created it. I have checked and the components are still on the layer. I have created a "test" layer with these same 2 straps and it does not work. i have created another "test2" layer with the 2 straps and a 3rd component and when i toggle this test 2 layer it hides the 3rd component but not the 2 straps any thought. Thanks for the helpDaniel
Why are these config.pro locations different.? How to understand them simply? Why I do not see all the options to pick from?
Hi BenLoosli, I had created this table using assembly and included the components in it. As you can see the tube part numbers are duplicated. if i want to remove the duplicates and capture LENGTH and QTY information in only one row, the quantity of M963262A002 would become 2 and length would be doubled. How can i achieve this ? Reference topic: https://community.ptc.com/t5/3D-Part-Assembly-Design/piping-parameters-for-drawing-tables/m-p/735183#M119947
Hi Is there any option to check if a model has been used in Simulate? I could think of a parameter or an icon (like if Mathcad is embedded) or similar. Background: We use ModelCHECK to check for weak dimensions in sketches. Eventually we found weak dimensions in sketches of surfaces splits within Simulate. Currently it seems one has to switch to Simulate to check for non-compliant features. Thanks, ziegi
I can set up a new table add the repeat region and add in the "file path" (no clue what you call it) to each cell. ex. terminal information - mbr.terminal For the entry ports/pin I found this file path on youtube mbr.connprm.pin.name. when I first make the harness I designate the connector and assign each entry port a coordinate system to work of off and then add in the entry port when I designate each connector. It also looks like other things aren't working either like if I wanted the wire color or the wire gauge going to the connector. I know I'm missing something I just can't figure out what.
Hello,I would like to know if annotations can be exported inside of simulate result *.pvs file.We use *.pvs results very ofter but not all people in our company use creo simulate. So when there are many hydraulic cylinders and report doesn't have any reference of which one is which it is pretty hard to find excel reference in *.pvs model.How can i define a note which will be exported to *.pvs file where each hydraulic cylinder will have it's personal note.Expected output:
Hey everyone,I've been working with Mathcad Prime 10 for a couple of months now, and I recently came across something that has me stuck. I’ve tried searching for a solution in multiple ways but haven’t been able to figure it out.In the equation I’m working with (in reference to the attached image), there is a right-facing arrow above the expression: concat( num2str( d/mm ), "mm" )I’d like to understand what this operator is called, it`s function, and how to insert it in Mathcad Prime 10. Any insights or guidance would be greatly appreciated! — Srikar
Hello,I have just started using Mathcad Prime 10.Does Explicit work with min and max functions, or I am doing something wrong?Please see below example screenshot. I'm sorry but I cannot attach the full example as it is too big and it is work related.I get "The unit are not compatible" error. GSKID is an Output expression from an excel component.Bs is extracted from a matrix. I have turned on Units/Constants in Symbols
Hi, We are changing our drawing format to change the layout. Below is my VB code to set the drawing with a new format. The code only half worked. The new format could be applied, but the old format stayed. I had been searching up and down and try to find if there was an option of "replace" but I couldn't find anything. The online VB help about "IpfcDrawingFormat" has no help at allCan anyone please help? Dim currentDrawing As IpfcDrawing = CType(session.CurrentModel, IpfcDrawing) 'Replace format Dim NewFormatName As String = "new-d.frm" Dim frmDescr As IpfcModelDescriptor frmDescr = (New CCpfcModelDescriptor).CreateFromFileName(NewFormatName) Dim NewFormat As IpfcDrawingFormat NewFormat = session.RetrieveModel(frmDescr) Dim sheets As Integer Dim i As Integer Dim CurrentShtOwner As IpfcSheetOwner CurrentShtOwner = CType(currentDrawing, IpfcSheetOwner) sheets = CurrentShtOwner.NumberOfSheets For i = 1 To sheets CurrentShtOwner.SetSheetForm
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.