Search the Community
Showing results for tags 'add-ins'.
-
I'm looking for an automated way to do the following: initial conditions; Mastercam open with parasolid imported 1. create new level 2. Create faces from solid on this new level 3. hide solid from its level I make fully dimensioned drawings in Solidworks and to ensure each model feature from the part is dimensioned, I use Mastercam to change the color of each surface as I dimension it. It has worked very well, but I would like to automate the creation of the faces.
-
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();
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.