Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

NX 6 menuscript problem

Status
Not open for further replies.

camelsoft

Computer
Dec 14, 2009
7
I want to add a button to nx using menuscript. I followed documentation , set environment variables and created an example *.men file in my startup directory. But i can not see my button in NX. I could not figure out where do i make mistake. Do i need a *.utd file for any customization or only *.men file is enough? Documentation is not clear. I need examples of
-custom_dirs.dat
-ugii_env.master
files.
Thanks in advance..
 
Replies continue below

Recommended for you

Can you post the contents of your menu file and custom_dirs.dat...
 
In your custom_dirs.dat do not include the startup folder. In your case it would just be "C:\Users\tyln\Desktop\NX_UG_customization" and not "C:\Users\tyln\Desktop\NX_UG_customization\startup". NX will automatically search for the startup folder.
 
Thanks catillor, I changed it to "C:\Users\tyln\Desktop\NX_UG_customization". But I still cant see my button. I atttached two more files.
-ugii_env.master file is in UGII directory
-and the syslog file

Thank you for helping..
 
 http://files.engineering.com/getfile.aspx?folder=b4761d7e-dc0a-48ec-9058-01bada7054b8&file=twomorefiles.rar
Hi camelsoft. I'm fairly new to this too so I may not be able to help that much. In my case I did not even need a .utd and .master file or even added additional environment variables. I also placed your menu file on my startup folder and it worked for me. Based on the paths you have posted, it does not seem to be windows directory structure. For now I just suggest checking your paths are ok and are in the proper format (I'm not sure if "\" or "/" in the path will make a difference in non-windows systems). I'll try to update this thread if I learn something new that would help.
 
for your custm_dirs.dat
remove the startup folder from the path
put your *.men file into the startup folder
in your men -file
replace ls *.prt into a windows command
 
Thank you both. I figured out the problem. When i delete ugi_env.master file the problem disappeared..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor