Search the Community

Showing results for tags 'nethook'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Mastercam Forums
    • Industrial Forum
    • Post Processor Development Forum
    • Educational Forum
    • Woodworking Forum
    • Machining, Tools, Cutting & Probing

Categories

  • Mastercam Demo Software
  • Files Referenced in Books and Videos
    • Instructor Files
    • Mastercam X7
    • Mastercam X6
    • Mastercam X5
    • Mastercam X4
    • Mastercam X3
    • Mastercam X2
    • STEM
  • Free Book Samples
    • Mastercam 2020
    • Mastercam 2019
    • Mastercam 2018
    • Mastercam 2017
    • Mastercam X9
    • Mastercam X8
    • Mastercam X7
    • Mastercam X6
    • Mastercam X5
    • Mastercam X4
    • Mastercam X3
    • STEM Curriculum
  • Mastercam eBooks (PDF)
    • Mastercam 2020
    • Mastercam 2019
    • Mastercam 2018
    • Mastercam 2017
    • Mastercam X9
    • Mastercam X8
    • Mastercam X7
    • Mastercam X6
    • Mastercam X5
    • Mastercam X4
  • Mastercam Documentation
    • Brochures
    • Press Releases
    • Tips & Guides
  • Tools
  • Post Processors
    • Post Processor 'How To' Info
    • Mpmaster (all versions)
    • Mplmaster (all versions)
    • Application Specific Posts
    • Educational Post Processors
    • Post Processor Request Forms
    • Post Processor Feature Checklist Forms

Product Groups

  • Sitewide Subscription
  • Books
    • Mastercam 2020
    • Mastercam 2019
    • Older Versions (No Demo Software)
  • eBooks (PDF)
    • Mastercam 2020
    • Mastercam 2019
    • Older Versions (No Demo Software)
  • Multimedia
    • Mastercam 2019
    • Mastercam 2018
    • Older Versions (No Demo Software)
  • Final Clearance
  • eCourses
  • eCourses

Categories

  • General Mastercam
    • Hasp / Sim License Articles
    • Nethasp
  • Lathe
  • Toolpaths
    • FBM Drill
    • FBM Mill
    • Dynamic Milling
    • Contour
    • Drill
    • Pocket
    • Face
    • 2D Highspeed
    • Engraving
    • Surface Rough
    • Surface Finish
    • Surface High Speed
    • Curve 5 axis
    • Drill 5 Axis
    • Swarf 5 Axis
    • Multisurface 5 Axis
    • Flow 5 Axis
    • Rotary 4 Axis
    • Port 5 axis
    • Advanced Multiaxis
    • Circle Paths
    • Circle 5 Axis
  • Wire EDM
  • Art
  • Post-Processing
  • Editors & DNC
  • Add-ons + Chooks & Nethooks
  • Windows, PC & Hardware Troubleshooting
    • Windows Issues
    • Videocards
    • Network & Filesharing
  • Multiaxis
  • eBooks

Blogs

  • Mastercam Training Solutions
  • eMastercam Community
  • Reseller Blog
  • Future of CNC Manufacturing Education
  • Mastercam Xtras
  • Latest News

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Interests


Location


AIM


MSN

Found 18 results

  1. hello, I have one question i dont have found any answer in the online documentation. Is it possible with NetHook to have, without create any additionnal geometry, the canonic datas of a solid edge? - The type (Arc, Line, Nurbs…) - And the data (Arc center, radius, plane or line ends) ? In Mastercam, that's possible for exemple with analyze function, but is it possible to do the same in a Net Hook program and access to all of these data? Thanks in advance!
  2. Is there a way to project a curve onto a surface via a nethook. I want to generate s series of lines projected onto a surface. Thanks Matt
  3. Hi there, I'm working on a tool managment system for factory and I would like to import partial data to my system from Mastercam. I found SearchManager which perfect fit for getting tools (drill/mill), but it does not provide holders and tool assemblies. Is it possible somehow to get more access to tooldb through NETHook or other API? Thanks a lot for answers.
  4. Is it possible to reference the name of an imported solid using a NetHook? I would like to automatically add labels to my solids (similar to what you can do when nesting solids but without nesting them). The "solid" name I have reference to is the one that you find when you look at the "Solids" tab or when you click on a solid and Analyze it. Thanks
  5. Updated for X8; All previous templates have been removed. Note: In both cases you can install directly from within Visual Studio 2013 go to Tools -> Extensions and Updates and search on-line for Mastercam. Direct Downloads: C# Template VB.NET Template As always please direct any questions, requests, concerns to this thread,
  6. Does anyone know the Mastercam 2018 keyboard shortcut to bring up the color pallet directly (see pic); bypassing the attribute panel? Reason; my mouse has programmable buttons. I like these programmed to change colors while drawing. X9 was the last version that had a keyboard shortcut I know of. Thank you
  7. I'm trying to develop a NETHook to automate some tasks, but I've realized that NETHook library doesn't include some funcionalities. I've read in the forum that the method to deal with this problem is PInvoke the C++ functions from mi NET app, and I've read some documentation from the Microsoft Developer Network. My query is if, in order to provide a C++ function with a surf_type structure (defined in the C++ library of Mastercam), I have to create a VB structure with the whole group of attributes to marshal this type of data. Another thing is if in the MCcore.dll there exist the exported functions to use DLLImport with this library. Thanks in advance.
  8. Hi I'm try to create a Solid by revolve the geometry in a specific Level. Is it possible to do this with a C# nethook? Thank you for help! Dennis
  9. When using VBScript, more precisely the 'StartDBSearch' function, I can easily find draft entities by isolating entites by looking for entities where GetEntityType = 64. I cannot find similar functionality using the new C# NetHook API. Is there a way more similar to the referenced VBScript to locate and select only drafting entities. Am I missing something simple? I attempted to circumvent the problem by firing an FT command using the ExternalAppsManager class to "QuickMaskAllDraftingAll" This works to select all drafting entities, but attempting to move them or work with them as normal geometry results in the following error message. Box Title - "Error: Typecaster::GeometryCaster" Box Text - "One or more of the geometry entities could not be added - Typecaster encountered an unknown geometry type I dont see (I could be missing it) any other entity types in the API, nor do I see any methods for dealing with drafting entities directly. Thank you again for your time.
  10. Greetings all, find myself here often when looking for answers, first time posting. Questions follow my short rambling below. After altering many posts and cobbling together a functional aggregate head post I started looking into writing vbscripts. I accoplished what I set out to, digging through swaths of this site in particular to learn what was available to me. During that time it became more and more clear that vbscripts were on their way out, while Net-Hooks using c# or vb.net seem to be the way of the future. Throughout all these projects, documentation has been very sparse. Usually requiring 3rd party documents or in the case of writing Net-Hooks with c#, digging through the dll files included with the project to decode functionallity. I do not own my own mastercam license seat. As far as I can tell, all the real documentation sits behind the mastercam.com paywall. I have regiatered an accout, without linking a product, and still get re-routed when attempting to access any documentation. Questions: 1) Is there any alternative method to accessing the Net-Hook documentation? (Biggest sticking point is being unable to isolate drafting entities. I was able to accomplish this using a vbscript after some fiddling. Essentially ran the quickmaskall for drafting entities then searched for all selected entities) 2)Stumbled onto Mick's GitHub through my searching. Are the examples available there what falls under the open source license? (Cant imagine it is the NetHook Api.) 3) The most current project file available to download for visual studio says it has beem updated for X8, am i to understand we have not yet reached compatability with mc2017? Thank you all for your time. Any example projects would be most helpful and I am happy to return the favor.
  11. Mick from CNC Software Inc.

    Mastercam Tutorial - ATP (mold base, cabinets)

    For those unaware there has been a NETHook included as part of Mastercam (for quite sometime) that allows batch processing of layered dxf, dwg and mcx files utilizing machining strategies. A machining strategy is a list of level names that are associated (read: mapped) to Mastercam operations. There are two new tutorials that walk you through two examples of using this NETHook, one for Router (kitchen cabinets) and one for Mill (mold bases). Feel free to reply to this thread for any ATP related questions or requests. http://www.mastercam.com/en-us/Support/Tutorials/Mastercam
  12. Hello, I modified the Arc data in nethook 3 I wanted to use the Undo , but Failed. Code are as follows: if (!UndoManager.IsTransactionActive()) { UndoManager.StartTransaction(); } foreach (ArcGeometry atc in Selectedarcs) { atc.Data.EndAngleDegrees = (double)360.0; atc.Data.StartAngleDegrees = (double)0.0; atc.Commit(); GraphicsManager.Repaint(true); } UndoManager.CommitTransaction();  What's wrong?
  13. Im using MasterCam X7, 64 bit, Windows 7 64bit, Visual Studio 10, .Net FrameWork 4, NetHook3_0 if I have a simple form open in my nethook, the entire application freezes if I create a new tool. To reproduce the problem: 1) Create a new nethook using the supplied template. 2) add a new form to the application. leave all the default settings for the form in place 3) In the default NetHook Namespace, in the Mastercam RUN function (Public Overrides Function Run(ByVal param As Integer) As MCamReturn) launch your form: Dim MyForm as new Form1 MyForm.show 4) Run your Nethook, and load a Mastercam file with toolpaths (no matter what order) 5) Launch ToolManager, and create a new tool - the defaults are fine (Click "Next", click "Finish") Once you close the Create New Tool window, Mastercam freezes. Is this reproducible on newer versions of Visual Studio ? And if so, is there a workaround ?
  14. In Mastercam, when I set a miscellaneous int in a toolpath, disable "Automatically set to post values when posting", and then post, those values are passed to the post without a problem. When I use this code below in a NetHook, the values are set, and that box is disabled in the path, but the post is using its default values until the toolpath is regenerated: op.MiscValues.UseValuesFromPost = false; op.MiscValues.Integers[0] = 1; op.Commit(false); Both of those methods make the Misc. Values page look identical under the path, but only the manual one seems to work without regenerating. Am I missing something?
  15. Good morning all, Does anyone know where I can find the specification for the Machine Definition and Control Definition file formats? I'm looking to be able to edit the file directly as I don't have access to everything I need in a NetHook.
  16. I'm having a bit of trouble getting 'GetOpGroupDataInExternalFile' to run with success. Using X7, and attempting to read in an X7 file which contains Operations. The function always returns FALSE. dropped the following code into my Run Function: Dim FileSpec As String = "C:\TMP\TEST.MCX-7" Dim success As Boolean = False Dim OpData() As ExternalOpsFileData = Nothing Dim GroupData() As ExternalGroupsFileData = Nothing success = SearchManager.GetOpGroupDataInExternalFile(FileSpec, GroupData, OpData) Any idea what I'm doing wrong ?
  17. I've been going through the API for Nethook 3, and I am blown away from all that has been added! Especially with the Tooling! There are a couple of new (related) features I have a question about, tho: 'GetToolsInExternalFile' and 'GetOpGroupDataInExternalFile'. How are these files generated? Is the Tool File a tooling library?
  18. Hi all, I'm trying to avoid parameterizing a fillet between to lines. Do you think that should be possible via Nethook library?

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