Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution

find type of geometry using name only?

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
Solution
Solution
Accepted by topic author limsc5250
‎06-23-2016 02:14 AM

Re: find type of geometry using name only?

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

How to Get the Most from Your Signature in the Community