user exit

Hi,
This is regarding user exit for opening a part,
I have written some program that will do some calculations on bodies present in part.

i want to execute this code when open button(in nx) is clicked !
is it possible?

thanks

Look into %UGII_ROOT_DIR%ugii_env_ug.dat, there you find a section called "USER EXITS" which gives you details about what is possible. I should think you will find your solution there.

/UdoMM

Another option is to use MenuScript to modify the "open" command; you can add a "post" action that will run your code after the part has been opened.

https://docs.plm.automation.siemens.com/tdoc/nx/10/nx_api/#uid:index_men...