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:

Deflandre JY

Members
  • Posts

    3
  • Joined

  • Last visited

Deflandre JY's Achievements

Newbie

Newbie (1/14)

  • One Month Later
  • One Year In
  • Week One Done

Recent Badges

0

Reputation

  1. Hi. Thank you for your answers, but that was not really the subject of my question. I've minimized my code as below. Only one call to GetOperations(). And this disables an operation. I just wanted to know if it's normal for a "Get..." function to do this and how to find out why my operation is disabled. public override MCamReturn Run(int param) { var List = Mastercam.Support.SearchManager.GetOperations(); return MCamReturn.NoErrors; } Thanks.
  2. Hi, We are using Mastercam 2021, we have the same with Mastercam 2020 . We see this problem by running only the code below. Otherwise, the goal is to retrieve for each operation information such as Tools used, planes and axis. Group[] aGroups = SearchManager.GetGroups(); foreach (Group oGroup in aGroups) { if (oGroup.GetParentGroup() != null) { if (oGroup.IsToolpathGroup()) { if (oGroup.Name != null) { List<Operation> aOperations = new List<Operation>(); if (SearchManager.IsAnyOperations(oGroup.ID)) { Operation[] aOperations1 = SearchManager.GetOperations(oGroup.ID); foreach (Operation oOp in aOperations1) aOperations.Add(oOp); } } } } }
  3. Hi. The interface we are developing requires retrieving information from mastercam operations. We use SearchManager.GetOperations() but that seems to disable some operations. However, our interface must not modify the model. Is this normal? The SearchManager.GetOperations() function is it not supposed not to modify the model? Do you have a solution to avoid this issue? Thanks !

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