cancel
Showing results for 
Search instead for 
Did you mean: 

How to get tool information

Siemens Creator Siemens Creator
Siemens Creator

Hi to all, I'm new to nxopen.

I try to write simple program that retrive the tool information (tool diameter, tool material etc..)

 

So after several hours i still could not understand how i get this information...

 

Will glad for idies.....thanks.

 

// I look for something like this...
double diameter = tool.getInformation("Diameter");

 

3 REPLIES

Re: How to get tool information

Esteemed Contributor
Esteemed Contributor

See How do we get the parent CAM.CAMFeature of a CAM.FBM.Feature for the correct way to do this.

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: How to get tool information

In journaling, just record a journal and change the parameters you want to identify, then look at the journal. For example:

drillStdToolBuilder1.TlPointLengthBuilder.Value = 0.01234
Mark Rief
Retired Siemens

Re: How to get tool information

Siemens Creator Siemens Creator
Siemens Creator

Thanks for the answers Smiley Happy

 

I find that the best way to do that is to get MillToolBuilder object --> initialize that object to current tool builder that exist in our session --> and get the wanted data from it.

 

EXAMPLE -

 

MillToolBuilder millToolBuilder = workPart.camsetup().camgroupCollection().createMillToolBuilder(tools[i])

(tools[]  -  the array that hold the list of tools)