cancel
Showing results for 
Search instead for 
Did you mean: 

Journal to test CAM performance

Esteemed Contributor
Esteemed Contributor

Attached find a VB journal to test the performance of tool path generation and tool path gouge check.

It also saves the results to a log file with the most important specifications of the NX release and system the test was done with.

Have fun Smiley LOL

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: NX12.0

How to Get the Most from Your Signature in the Community
2 REPLIES

Re: Journal to test CAM performance

Legend
Legend

What about ISV?

 

Smiley Happy

 

NX11.0.1

Re: Journal to test CAM performance

Esteemed Contributor
Esteemed Contributor

Recording a journal of IS&V resulted in the following:

' NX 10.0.3.5
' Journal created by Stefan.Pendl on Thu Jan 19 10:27:03 2017 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 cAMSetup3 As NXOpen.CAM.CAMSetup
cAMSetup3 = workPart.CAMSetup

Dim kinematicConfigurator1 As NXOpen.SIM.KinematicConfigurator
kinematicConfigurator1 = workPart.KinematicConfigurator

Dim objects1(0) As NXOpen.CAM.CAMObject
Dim nCGroup1 As NXOpen.CAM.NCGroup = CType(cAMSetup3.CAMGroupCollection.FindObject("OBEN_300000100"), NXOpen.CAM.NCGroup)

objects1(0) = nCGroup1
Dim isvControlPanelBuilder1 As NXOpen.SIM.IsvControlPanelBuilder
isvControlPanelBuilder1 = kinematicConfigurator1.CreateIsvControlPanelBuilder(NXOpen.SIM.IsvControlPanelBuilder.VisualizationType.MachineCodeSimulateCse, objects1)

isvControlPanelBuilder1.SetSingleStepMode(NXOpen.SIM.IsvControlPanelBuilder.SingleStepModeType.StepOver)

isvControlPanelBuilder1.SetSpeed(5)

isvControlPanelBuilder1.PlayForward()

isvControlPanelBuilder1.Destroy()

End Sub
End Module

I think this should enable you to create a similar performance test for IS&V out of mine for tool path generate Smiley Wink

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: NX12.0

How to Get the Most from Your Signature in the Community

Learn online





Solution Information