cancel
Showing results for 
Search instead for 
Did you mean: 

Report Shortest Tool Length - Why the need to Ok every toolpath result?

Legend
Legend

Is there an easy way to fix this? It would be nice to be able to do this to a bunch of toolpaths and have the ability for the program to calculate in the background without sitting there staring at the screen....

 

NX11.0.1
4 REPLIES

Re: Report Shortest Tool Length - Why the need to Ok every toolpath result?

Esteemed Contributor
Esteemed Contributor

Have you tried with a journal?

There is an ONT column for the shortest tool, so not doing it interactively, but through a journal could help here.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk    Testing: NX11.0 EAP, NX12.0 EAP

How to Get the Most from Your Signature in the Community

Re: Report Shortest Tool Length - Why the need to Ok every toolpath result?

Legend
Legend

How would I do that? I'm not familiar with journals at all...

 

NX11.0.1

Re: Report Shortest Tool Length - Why the need to Ok every toolpath result?

Esteemed Contributor
Esteemed Contributor
  1. Record a journal of the interactive procedure to get the shortest tool length of one operation
  2. Edit the created source code to work with the OperationCollection
Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk    Testing: NX11.0 EAP, NX12.0 EAP

How to Get the Most from Your Signature in the Community

Re: Report Shortest Tool Length - Why the need to Ok every toolpath result?

Esteemed Contributor
Esteemed Contributor

Here is an example.

 

' NX 10.0.2.6
' Journal created by Stefan.Pendl on Fri Nov 06 08:39:01 2015 Mitteleuropäische Zeit
'
Option Strict Off
Imports System
Imports NXOpen

Module NXJournal
    Sub Main (ByVal args() As String) 
        Dim theSession As NXOpen.Session = NXOpen.Session.GetSession()
        Dim workPart As NXOpen.Part = theSession.Parts.Work
        Dim displayPart As NXOpen.Part = theSession.Parts.Display
        Dim theUI As NXOpen.UI = NXOpen.UI.GetUI()

        workPart.CAMSetup.MinToolLen(workPart.CAMSetup.CAMOperationCollection.ToArray())
    End Sub
End Module

The problem is that it still asks for user confirmation.

 

I think we need to file an enhancement request to get this done in the background without user interaction.

It even doesn't make sense to have the user confirmation displayed, if the action is run from a journal, since there is an ONT column to display the result.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk    Testing: NX11.0 EAP, NX12.0 EAP

How to Get the Most from Your Signature in the Community

Learn online





Solution Information