-
Posts
629 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Downloads
Store
eMastercam Wiki
Blogs
Gallery
Events
Everything posted by Mick George
-
The API Team here at CNC is in the process of updating all our Visual Studio Project Templates and these will be official CNC products. We have updated these templates to offer a better developer experience. The new project templates will allow you to select a version of Mastercam to target based on the installed version(s) of Mastercam on your PC. You will be able to add additional APIs based upon the Mastercam version your are targeting, for example SimAccessManaged or ToolNetApi and so on. The FT file will no longer need to be hand edited and will automatically be updated when the project is created. You will still need to run Visual Studio as an Admin to use the post build step, this is a windows security feature. I don't have a release date but we are currently in testing. Once they are ready to be published the existing project templates (by me) on the Visual Studio Market Place will be removed.
-
Multi language Application
Mick George replied to LMVUICHARD's topic in Mastercam C-Hook, NET-Hook and VBScript Development
My initial testing was not successful and I'm not sure as to why even though I followed MS localization documentation. My workload is very high currently so I would encourage you to submit a ticket to request help with this via your re seller so that we can allocate resources to it. -
Multi language Application
Mick George replied to LMVUICHARD's topic in Mastercam C-Hook, NET-Hook and VBScript Development
Give me a day or two and I'll see what I can do. -
Copying files from one windows machine to another can cause the files to become blocked. Copy the files out of the Mastercam folder to a local temp folder away from Program files, right click and select properties of each file, make sure they are not blocked. Once all are ok then copy them back to the Mastercam folder.
-
Vbscript Information
Mick George replied to eltklas's topic in Mastercam C-Hook, NET-Hook and VBScript Development
Customize the Ribbon to access all functions not already in use, the VBScript button will be there and you can place it in the QAT, Ribbon or context menu. However, I would recommend looking into a NET-Hook as the VBScript API is quite old and no longer under active development. -
Best language to learn?
Mick George replied to lowcountrycamo's topic in Mastercam C-Hook, NET-Hook and VBScript Development
Steve, Assuming you are talking about automating Mastercam I would recommend .NET, either C# or VB.NET, at least initially. .NET is more approachable that C++ with less of a learning curve and there are tons of resources out there too. We have a getting started document and sample projects on our website under 3rd Party Developers that should be your starting point for Mastercam development once you have studied some general .NET -
That would be a question for roger, i would ping him via [email protected]
-
Peter, O would recommend that you post this question on our official forums as there are people there that do not come here that would be better equipped to help you.
-
Visual Studio 2019 project templates for Mastercam NET-Hooks are now available for C# and VB.NET Installation: From Visual Studio select Extensions->Online->Search->Mastercam Restart Visual Studio. Usage: Start Visual Studio 2019, from the Create new project dialog type Mastercam in the search field leaving all other filters off to show the templates. A later update will add tags to the templates for easier selection but right now they are not implemented. Once selected the template will show in your project type MRU Default Project: A default WinForms project is created with documentation on how to get up and running debugging a NET-Hook with Mastercam. The project includes some sample code. If you prefer a WPF project, delete the MainView and add a new WPF User Control, rename the Control type to Window. Replace the code in the Main.cs Run method with the following code assuming you have named your Window MainView. // WPF var view = new MainView(); // Get the handle to the non-WPF owner window var ownerWindowHandle = Mastercam.Support.UI.MastercamWindow.GetHandle().Handle; // Set the owned WPF window’s Owner property with the non-WPF owner window var helper = new System.Windows.Interop.WindowInteropHelper(view) { Owner = ownerWindowHandle }; view.Show();
-
Vb Script File List
Mick George replied to Karl@CP PISTONS's topic in Mastercam C-Hook, NET-Hook and VBScript Development
Your FT entry dnTIP "UHM Open" has a space, this might cause a problem. -
Modeless and key event
Mick George replied to sapin's topic in Mastercam C-Hook, NET-Hook and VBScript Development
sapin, My mistake, only resellers can add a support ticket with the new system, customers will be added soon. In the meantime, can you private message me your name and contact email and i can add a ticket on your behalf and you'll get notification. This is a change to the way we handle support requests now. Thanks, Mick -
Modeless and key event
Mick George replied to sapin's topic in Mastercam C-Hook, NET-Hook and VBScript Development
Hi, in order for me to look further into this can you log a ticket request for help with our iCentral system, thanks. -
Modeless and key event
Mick George replied to sapin's topic in Mastercam C-Hook, NET-Hook and VBScript Development
I'm not sure I understand the question. Do you have the project available for download?
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.