Showing results for 
Search instead for 
Do you mean 

Part Closed Handler



I am trying to develop a NX open application for CAM. In this application,  I use AddPartClosedHandler callback to handle the work part closed event in NX. Source code in C# as follow:



This part of code can handle the operation from menu File->Close->All Parts, which is fine.


However, when I double click one of the tools in "Machine Tool View" to bring tool edit dialog->OK, this callback event is also triggered.


How can I differentiate the events from these two operations or handle these two operations seperately?



NX Version:


Re: Part Closed Handler

It seems the second operation causes the bug, which is fixed in NX 10.0.3.