Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

eltklas

Verified Members
  • Posts

    118
  • Joined

  • Last visited

Everything posted by eltklas

  1. But I have errors when I define the windows form FrmOffset FrmOF = new FrmOffset(); How and where Can I define de new Windows Forms? Thanks
  2. I never used C++, sorry if I ask a lot. I have already added the reference and the windows form. Could you tell me how I show it? my code works in C# //creamos la copia del formulario FrmOffset FrmOF = new FrmOffset(); //hacemos dialog FrmOF.ShowDialog(); Thanks
  3. I think I understand that it is a mixture of C# and C++. is it like that? Can Windows Forms be added to it? How can I start them? thanks for your help
  4. I have requested access to that forum, I am waiting for It. Thanks for answer. Must the list have only arcs? Can I have more type of entities? Thans again.
  5. I'm checking that this forum has little movement. There are several unanswered questions of mine. I imagine the same thing would happen with this one, but just in case here's the question. Is there a way to create groups or lists of entities (arcs, lines, points...) and be able to call them to use them when needed? in case I want to move or copy them. Thank you all for the answers.
  6. I have found this in C# documentation: Mastercam.Support.UI.MastercamRibbon.InsertThirdPartyRibbonTabs(string); String is a ribbonXml file. The XML that defines the Tab and its contents. Can someone give information on how this file is created or where to look for that information? In the examples there is one but there is only one XML file and it is not explained. Can someone explain it ? Thanks
  7. I want to select a chain, make offset of it, change the color to result and translate in Z, ut with the following code what istranslated is the original chain and not the offset one. Can you help me please Why the translated is the original chain? Can I change the settings of the selecction to always select a clockwise chain? How can I know the nurber assigned to colors? Thanks ///code used for the C# C-Hook //Select a chain var CadOriginal = ChainManager.GetOneChain("Select a Closed Chain.\n\n"); //only continue if it is a closed chain do if (CadOriginal.IsClosed == false) { //If not closed, show message and reselect MessageBox.Show("The chain is not Closed", "ERROR", MessageBoxButtons.OK, MessageBoxIcon.Error); CadOriginal = ChainManager.GetOneChain("Select a Closed Chain.\n\n"); } while (CadOriginal.IsClosed == false); //offset chain var CadTemp1 = CadOriginal.OffsetChain2D(OffsetSideType.Left, 0.2, OffsetRollCornerType.None, 0, false, 0.005, true); //convert to geometries the chain var CadDef1 = ChainManager.GetGeometryInChain(CadTemp1); //point origin var origin = new Point3D(0, 0, 0); //point to transalate var PuntoZ = new Point3D(0, 0, 14.8); //using the chains foreach (var Chain in CadDef1) { //change color Chain.Color = 9; //translate Chain.Translate(origin, PuntoZ, ViewManager.CPlane, ViewManager.CPlane); //validate Chain.Validate(); Chain.Commit(); }
  8. I know we can use C++ libraries in C#. If I want to create a chain offset is it possible on C#? OR Do I have to use C++ for that? Can you help me?. Thanks
  9. Could someone explain to me what differences there are between the different templates? Thanks
  10. With the app Mastercam 2023 Closed The errors are the same. The Paths are in "MastercamSDK.props" and they are correct. Thanks
  11. After follow your instructions the errors ar ok. But I dont Know what is the problem with the new errors. The folders are correct, but it doesnt work. The vs app is in administrator mode. How can I fix the new errors? Thanks for your help
  12. I was programming he c# chooks, and all ok. I instaled sdk Mastercam 2023, but I dont know indicate where is it to the VS. In VS 2019 there are thousands of errors Help me please. Is my first Time with C++ proyects Thanks
  13. Does anyone know how to solve this problem? I have tried with VS2019 and VS2022 and there are a lot of errors. Thanks for your help.
  14. I cannot understand that the information page about chooks does not have access to information in C++ but it does have access to C# and .Net. Is it payment information? How can I access it? Thanks for answer.
  15. Hello, I am searching to create a Manual Entry Operation. I have tried this code and it doesnt work, Is it for C# or C++. I am using C# and I need the code for create a Manual entry Operation. Can you help me. Peease.
  16. I want to create a new Manual Entry operation with only text to insrt in the NC, I'am using C#, can you help me to create one? I am tryng but my Mastercam sdk level not is good, I,m starting. If you help me I will be grateful. There should be a book or some information with examples of each part of the SDK, the examples only come with very few things. Thank you
  17. I have been searching about this topic, I need change de number of drill list item. If it is the first index, change to the second one or other. How can I access to that part of the drill operation data? Sorry for my English Thanks
  18. I'm starting with chooks so I'm very lost. I have downloaded the examples but I can't do what I want. I can now go through all the operations, detect which are drills, but I don't know how to access the drill type (position in the list of drills) and if it can be changed. Another problem is that I have two forms and I cannot call the second form from the first and return to it when I finish what I do. Thanks and greetings
  19. I have a question about the numeric parameters. Can I asign a value or I only can read It?. Thank you
  20. I already have it, it was difficult for me but I found it by reviewing the wire parameters one by one. Also I don't speak English. Thank goodness the names were clear. Thank you
  21. I need to know the name or the numeric value of the red colors options in the wire contour options. I have search in the post documentation but I didn't find it. Does anybody help me?. Thanks
  22. Is possible with the free version of Visual Studio? Or do you need a specific version?
  23. I want to learn to do that type of scripts, Do you have any information to read about?. I searched but I didn`t find nothing about that. I program in Visual Studio with Visual Basic .Net I think it is really good option to customize the program Good Job

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...