Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. rishirajmech

    VBA Macro(UG) to rename each Operation with its Tool name

    Hello Graham, It worked....many thanks!!
  2. rishirajmech

    VBA Macro(UG) to rename each Operation with its Tool name

    Hi Graham, Thanks for quick reply...I tried to put your code in between but its shows the below message for below line toolName = operation.GetParent(CAMSetup.View.MachineTool) Error message - Value of type NXOpen.CAM.NCGroup cannot be coverted to string Please suggest. Thanks Rishi
  3. rishirajmech

    VBA Macro(UG) to rename each Operation with its Tool name

    Hello Team, Sorry for late response... Here my code which I am using for looping through each operation Dim counter As Integer = 101 For Each Op As String In Opnames theUfSession.Ui.SetStatus("Renaming Operation:" & OP) Dim operation As CAM.Operation operation =...
  4. rishirajmech

    VBA Macro(UG) to rename each Operation with its Tool name

    Hello Team, Any suggestion... Thanks Rishi Raj
  5. rishirajmech

    VBA Macro(UG) to rename each Operation with its Tool name

    Hello Graham, Thanks for your response, I tried to put your code but its showing some messages which I have attached. Please suggest MACHINE_TOOL IS NOT A MEMBER OF 'NXOpen.CAM.CAMSetup.View'. 'name is not a member of String Character is not valid Thanks Rishi
  6. rishirajmech

    VBA Macro(UG) to rename each Operation with its Tool name

    Thanks Mark for your reply, I am able to loop through each operation....only problem I having is with getting the Tool name. Few lines of codes will be of great help as how to get the tool name when its looping through each operation. Many Thanks
  7. rishirajmech

    VBA Macro(UG) to rename each Operation with its Tool name

    Hello Team, Can anyone please suggest the macro which will run through all operation list and rename it with Tool Name. Please suggest Thanks Rishi
Back
Top