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: 10.0.2.6
It seems the second operation causes the bug, which is fixed in NX 10.0.3.