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:

NET-Hook development - get specific info


ncrnko
 Share

Recommended Posts

Short question for NET-Hook development.

 

We can get several info about the operations in the Mastercam. For example in VB:

Dim SpindleRotation As String = Mastercam.Support.SearchManager.GetOperation(CurrentOperation).SpindleSpeed.ToString

 

But, how to get the "current operation" from the backplot Window? In previous example - how to get the right value for var CurrentOperation.

 

Thanks,

Crnko

 

 


I would like in a new window which is the part of the NETHook module, show the Spindle Speed for the current active operation in Backplot window. I can get the Spindle Speed for any relevant operation, but how to synchronize Backplot and new windows? It should shows the data for the same operation. So how to get a number / id for current active operation in Backplot window (or simulation)?

 

In my example

Dim SpindleRotation As String = Mastercam.Support.SearchManager.GetOperation(CurrentOperation).SpindleSpeed.ToString

 

variable CurrentOperation should have the number/id of the current active operation in Backplot window. How to get this value for Current operation?

 

Crnko

Link to comment
Share on other sites
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

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