cancel
Showing results for 
Search instead for 
Did you mean: 

find type of geometry using name only?

Pioneer
Pioneer

Hi

There were few types of geometry in my part, eg : “Workpiece”, “feature group”, “MCS”, “Hole or Boss geometry” and etc…, all come with specific name like “workpiece1”, “MCS_TOP”, “A-M16 Tapping”, etc…

 

How to find out the type of geometry using just the name only? Eg: “A-M16 Tapping”.

 

Thanks

NX 10.0.3.5, WINDOWS 7
1 REPLY

Re: find type of geometry using name only?

Esteemed Contributor
Esteemed Contributor

The theCamObject.GetType() method will return the general CAM object type.

I usually use theCamObject.GetType().ToString() and check against "NXOpen.CAM.Tool" or such for example.

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