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:

rocheey1

Verified Members
  • Posts

    341
  • Joined

  • Last visited

Everything posted by rocheey1

  1. I see it usually in X6, normally just before a crash. I dont necessarily get it when posting, and I assume it's a memory leak. I just restart MasterCam.
  2. Maybe this post should be another topic - but is the NETHook2_0.dll that comes with X7 usuable in X6? I see more functionality in that version ...
  3. I copied the text "blank page" from your post above, and pasted it into the Search Function. I believe the second or third hit down was your topic. See? You ARE learning something new from the Forums every day
  4. Haa haaa... I can imagine a layman reading this post .... that changing from "Nothing", to "Empty", makes it "something" :/ Thanx again, Roger
  5. The double backslashes had no effect; Function still returns False, both arrays are still Nothing. Vb.net wouldn't even allow the second variation.
  6. The GroupData and OpData arrays come back as NOTHING ["If IsNothing(GroupData) Then"...] ... which is the way they were sent out to the function. I just emailed the test.mcx-7 file out Thanx, Roger
  7. Machine Definition / Control Definition. ...MD/CD is less typing, and sounds way cooler
  8. 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 ?
  9. Guy, I think you might want to re-examine the pathing in your MD/CD. You might be reading the wrong file(s).
  10. even "free"-er ... one line dos command ... ren *.mcx-6 *.mcx-7
  11. I've been able to read op comments and tool comments using vbscript. I've not been able to write the same. It is, however, easily doable in Vb.net.
  12. click the Tab in the Ops manager. The icon for the WCS appears. Click THAT icon to make it stick.
  13. Here's another version that a new guy might find easier to follow: This will change the machine to the MasterCam supplied machine named "MILL 3 - AXIS HMC MM.MMD-6" it looks in the default folder "C:\Users\Public\Documents\shared Mcamx6\CNC_MACHINES\", which is the default folder in Mcx6, and Windows 7 : Sub Main() ' -- Add code here... ' define a variable for your machine folder Dim MachineFolder MachineFolder="C:\Users\Public\Documents\shared Mcamx6\CNC_MACHINES\" ' define a variable for the machine (.mmd-6) Dim MachineName MachineName="MILL 3 - AXIS HMC MM.MMD-6" ' define a variable to tell us whether we suceeded or not Dim Success ' change the current machine to what we have above Success=SetActiveMachine(MachineFolder & MachineName) ' pop up box to tell us the results If Success = True Then ' we changed the machine ShowString "Machine Def was successfully changed" Else ShowString "Machine Def change was unsuccessfull" ' something went wrong End If End Sub
  14. actually, you CAN make a multiline toolpath comment (well, 2 lines, anyway)
  15. Those are some pretty bold claims for an initial release of a product. Are you an employee of CNC, Inc, or do you have any data to back up these opinions ?
  16. was the old PC running 32 bit OS, and the new PC running 64 bit OS ?
  17. I cant offer much now, except this hit using advanced search: http://www.emastercam.com/board/index.php?showtopic=73121&hl=%2Binvalid+%2Bprocedure+%2Bcall+%2Bargument my search terms are in the URL maybe if you PM the OP ASAP (ha ha, i had to do that last one) he might have something to offer
  18. We see and hear this constantly - the print was made "auto-magically", and we end up with hundreds of threads dimensioned +-.005 on thread depths, because that was the default supplied dimension. No other reason.
  19. I've suddenly had this very problem for the last 9 days or so. And to hear someone else speak of it, means either I'm not insane, or it's a conspiracy. I'd take either, at this point. What I see is that the right-click functionality in the Level manager disappears. And if there are equivalent HotKey replacements, I don't know of them. I'm currently in the middle of a large Parametric project in Mcx. So I'm copying chunks of Layered geometry and entire Toolpath folders for never ending "redefinition". It would be real nice if I could set the current level.
  20. We use MPMaster as a base for all our 3-4 axis machines. We use Reverse Wear comp, almost exclusively. Never had a problem. First place I'd look is any incompatibilities between your post and your Control Definirion.
  21. He might just find the extra effort necessary. If I'm plotting which could essentially be a Legal Document to a customer, I'd want total control over the process. And Acad can give you that total control. And, it unfortunately hasn't been replaced in that regard. And I'd be willing to bet, that 51% of the lurkers that read this, will agree .... I calculated this, on my SLIDE RULE
  22. The .ft file did the trick. Many times, when I'm trying something out quick, I will just put a shortcut to the nethook from the \bin directory of the vb project. Saves time. But I still don't understand why the .ft file works. Especially given the conversation we had about something similar, in This Post
  23. Ive been trying to grab an event (MCamEvent.Pre_File_Open) with no success. I have the following code in my MyBase.Notify event: Public Overrides Function Notify(ByVal event_code As MCamEvent) As MCamReturn Select Case event_code Case MCamEvent.Pre_File_Open MsgBox("opening file") End Select Return MyBase.Notify(event_code) End Function and I also have the following in MyBase.Close: Public Overrides Function Close(ByVal param As Integer) As MCamReturn MsgBox("chook closing") Return MCamReturn.NoErrors End Function But I get nothing but the close event, immediately. Even if I load a form in MyBase.Run ... I get the "chook closing" message, and the form still sits there, but no event fires when I load different files. Is there something else I should be doing ?

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...