-
Posts
117 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Store
eMastercam Wiki
Blogs
Gallery
Events
Everything posted by eltklas
-
Errors when open example c++
eltklas replied to eltklas's topic in Mastercam C-Hook, NET-Hook and VBScript Development
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 -
Errors when open example c++
eltklas replied to eltklas's topic in Mastercam C-Hook, NET-Hook and VBScript Development
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 -
Create Entities Groups C#
eltklas replied to eltklas's topic in Mastercam C-Hook, NET-Hook and VBScript Development
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. -
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.
-
Chook in ribbon bar
eltklas replied to ikertx0's topic in Mastercam C-Hook, NET-Hook and VBScript Development
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 -
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(); }
-
Errors when open example c++
eltklas replied to eltklas's topic in Mastercam C-Hook, NET-Hook and VBScript Development
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 -
Errors when open example c++
eltklas replied to eltklas's topic in Mastercam C-Hook, NET-Hook and VBScript Development
-
Errors when open example c++
eltklas replied to eltklas's topic in Mastercam C-Hook, NET-Hook and VBScript Development
With the app Mastercam 2023 Closed The errors are the same. The Paths are in "MastercamSDK.props" and they are correct. Thanks -
Errors when open example c++
eltklas replied to eltklas's topic in Mastercam C-Hook, NET-Hook and VBScript Development
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 -
Errors when open example c++
eltklas replied to eltklas's topic in Mastercam C-Hook, NET-Hook and VBScript Development
Thanks, I will try to check if all is ok. Thanks -
Errors when open example c++
eltklas replied to eltklas's topic in Mastercam C-Hook, NET-Hook and VBScript Development
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 -
Adding a note with chook
eltklas replied to Girus's topic in Mastercam C-Hook, NET-Hook and VBScript Development
Tbank you. I will send a mail to. -
Adding a note with chook
eltklas replied to Girus's topic in Mastercam C-Hook, NET-Hook and VBScript Development
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. -
Adding a note with chook
eltklas replied to Girus's topic in Mastercam C-Hook, NET-Hook and VBScript Development
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. -
nethook c-sharp .net Manual Entry
eltklas replied to DineshKumarV's topic in Mastercam C-Hook, NET-Hook and VBScript Development
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 -
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
-
I have a question about the numeric parameters. Can I asign a value or I only can read It?. Thank you
-
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
-
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
-
Is possible with the free version of Visual Studio? Or do you need a specific version?
-
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.