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:

Mick George

CNC Software
  • Posts

    629
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Mick George

  1. 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.
  2. 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.
  3. 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.
  4. Please log a detailed defect request via your reseller so we can get this into our system and investigate.
  5. 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.
  6. 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
  7. 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.
  8. Ok I just got verification that currently iCentral access is via your reseller only at this time so you will need to contact your reseller and give him the details of your support request and have them add a ticket on your behalf. Have them assign it to the SDK team.
  9. It is certainly out of date and essentially deprecated at this point but you might be able to use AddArcPoint() If you open or create a VBScript in Mastercam Code Editor you will get intellisense to help find functionality.
  10. I think a customer can just log into iCentral and submit a support ticket (i'll need to verify), however, your reseller can certainly do it on your behalf. Once a ticket is submitted it gets into our system and someone will address it.
  11. It could be a timing or sequencing thing if you had to wrap the C# call in an async Task although I have not come across this before. Feel free to log a Ticket in iCentral with an example and what version of Mastercam, VS, etc you are using and we can take a closer look.
  12. Just make sure that if you are copying from one version to another to copy to a temp folder away from Program Files before copying to the new Mastercam location or the files will become blocked (Windows 10)
  13. As SavannahG mentions, never versions of Mastercam has an extended API for working with tools and assemblies. I thought there was an example up on our website under the 3rd Party developers .NET developers section, you might want to check that out.
  14. Hi, We have several examples with documentation on our website, just sign in and go to the 3rd Party Developers area for NET-Hooks.
  15. Attached is a list of all items in a nesting.ini file. MCLink INI Interface.docx
  16. 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();
  17. Your FT entry dnTIP "UHM Open" has a space, this might cause a problem.
  18. 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
  19. Hi, in order for me to look further into this can you log a ticket request for help with our iCentral system, thanks.
  20. 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.

Follow us

×
×
  • Create New...