Cancel
Showing results for 
Search instead for 
Did you mean: 

Journal to test CAM performance

Gears Esteemed Contributor Gears Esteemed Contributor
Gears 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.2, FBM, MRL 3.1.7 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 11.4
Development: C (ITK), .NET, Tcl/Tk Testing: NX12.0 | AWC 3.4 Preparing: NX12.0

Employees of the customers, together we are strong Smiley Wink
How to Get the Most from Your Signature in the Community
NX Customization - Best Practice Guide
2 REPLIES

Re: Journal to test CAM performance

Legend
Legend

What about ISV?

 

Smiley Happy

 


Dennis Rathi
Creations Unlimited

Re: Journal to test CAM performance

Gears Esteemed Contributor Gears Esteemed Contributor
Gears 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.2, FBM, MRL 3.1.7 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 11.4
Development: C (ITK), .NET, Tcl/Tk Testing: NX12.0 | AWC 3.4 Preparing: NX12.0

Employees of the customers, together we are strong Smiley Wink
How to Get the Most from Your Signature in the Community
NX Customization - Best Practice Guide

Learn online





Solution Information