×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

NX 6 menuscript problem

NX 6 menuscript problem

NX 6 menuscript problem

(OP)
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..

RE: NX 6 menuscript problem

Can you post the contents of your menu file and custom_dirs.dat...

RE: NX 6 menuscript problem

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.

RE: NX 6 menuscript problem

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.

RE: NX 6 menuscript problem

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
 

RE: NX 6 menuscript problem

(OP)
Thank you both. I figured out the problem. When i delete ugi_env.master file the problem disappeared..

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources