I'm trying to create my very first journal . In this journal I want to create a few machine tools in one click with specific terms but avoid duplicate the existing tools. How to know what are the tools existed in the machine tool view.
NX188.8.131.52, WINDOW 7
There are two options:
For Each CAMgroup As CAM.NCGroup In Session.GetSession().Parts.Work.CAMSetup.CAMGroupCollection Select Case CAMgroup.GetType.ToString Case "NXOpen.CAM.Tool" ' ...
For Each CAMgroup As Cam.CAMObject In Session.GetSession().Parts.Work.CAMSetup.GetRoot(Cam.CAMSetup.View.MachineTool).GetMembers() ' ...
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
There is an example of cycling through the tool view in the sample programs in ...UGOPEN\SampleNXOpenApplications\.NET\CAM . PocketSetRegistersCycleAll.vb checks the type and subtype for pockets, but you could adapt this to tools.
I was wondering if you have had any secess with the program and if so can you upload what you ended up using? I am trying to gather tooling information for a lot of .prt files and do not want to go through them all.