Error in launching NX Open executable using .men (menu file) ?
Error in launching NX Open executable using .men (menu file) ?
(OP)
Hi Everyone,
I am trying to launch custom NX Open applications using a menubar file (.men). While launching NX, I am getting my custom menu launched correctly, but the applications are not working. I am getting an error which is attached in this thread.
Can someone please point out, where I am going wrong ?
Sample menu (.men) file
Thank you,
Amitabh
I am trying to launch custom NX Open applications using a menubar file (.men). While launching NX, I am getting my custom menu launched correctly, but the applications are not working. I am getting an error which is attached in this thread.
Can someone please point out, where I am going wrong ?
Sample menu (.men) file
CODE --> VB
!
! NX No Part state menu file
!
!
!
VERSION 120
EDIT UG_GATEWAY_MAIN_MENUBAR
BEFORE UG_HELP
CASCADE_BUTTON VECTRA_TOOLS
LABEL Tools
END_OF_BEFORE
MENU TOOLS
BUTTON ASSIGN_PART_NAME
LABEL Assign Part Name
ACTIONS "C:\Program Files\Pre-Process Modules\APN.exe"
END_OF_MENU Thank you,
Amitabh





RE: Error in launching NX Open executable using .men (menu file) ?
Try setting the path with the "old" 8.3 nomenclature, something like this
C:\progra~1\pre-pr~1\APN.exe
To find out this 8.3 nomenclature, open a cmd window and use this command: dir /x
You will get and output like this
RE: Error in launching NX Open executable using .men (menu file) ?
I did try that as well but it does not seem to work. Any other suggestion ?
Thank you,
Amitabh
RE: Error in launching NX Open executable using .men (menu file) ?
If you have access to the Siemens community site, these links may help:
https://docs.plm.automation.siemens.com/tdoc/nx/10...
https://docs.plm.automation.siemens.com/tdoc/nx/10...
www.nxjournaling.com
RE: Error in launching NX Open executable using .men (menu file) ?
I did create a custom environment variable and gave the value as my application root folder path. I did provide this environment variable information in the custom_dirs.dat file. I have a mix of dll and exe files. While all the dll files are working fine, all the exe files are throwing this error. The same exe files are running perfectly fine using File--> execute. Can you please give me an example of the "PATH" environment variable ?
Thanks,
Amitabh