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

    113
  • Joined

  • Last visited

Recent Profile Visitors

1,181 profile views

eltklas's Achievements

Contributor

Contributor (5/14)

  • Reacting Well Rare
  • First Post Rare
  • Collaborator Rare
  • Conversation Starter Rare
  • Dedicated Rare

Recent Badges

5

Reputation

  1. 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
  2. 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(); }
  3. 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
  4. Could someone explain to me what differences there are between the different templates? Thanks
  5. With the app Mastercam 2023 Closed The errors are the same. The Paths are in "MastercamSDK.props" and they are correct. Thanks
  6. 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
  7. 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
  8. 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.
  9. 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.
  10. 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.
  11. 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
  12. 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
  13. 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

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...