×
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

Executing a UG macro automatically

Executing a UG macro automatically

Executing a UG macro automatically

(OP)
Hello all

I have a UG macro which will reset all the Part attributes..

Right now, I open the part in NX 3 and then playback the macro.. This is quiet tedious when it has to be done for 100 s of UG parts..

I am wondering if I could execute the macro outside UG environment(something like external NX open program) automatically for all the parts in the same folder..

Is this possible using Windows batch program...

Awaiting your response..

Thanx in advance..

RE: Executing a UG macro automatically

It is possible to create a batch file which will launch NX & automatically start a macro.  The UGII.bat is in the installed directory of NX:-

a quick example,  the online doc for this quite good to,

search for :-  Command Line Startup Switches for Windows

"C:\opt\plm\ugnx\20\ugii\ugii.bat" -retrieve:xxxxxxx  -key:change_View_top.macro

Cheers,

B

RE: Executing a UG macro automatically

(OP)
Hi

thanks for the quick and useful reply..

i will try the best..

and hope u wont mind if i get back to you with some doubts..

bye

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