cancel
Showing results for 
Search instead for 
Did you mean: 

Part Closed Handler

Creator
Creator

Hey,

 

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:

 

Session.GetSession().Parts.AddPartClosedHandler(PartClosedHandler);

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

1 REPLY

Re: Part Closed Handler

Creator
Creator

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