Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Executing a UG macro automatically

Status
Not open for further replies.

gschandran

Mechanical
Jul 2, 2008
4
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..
 
Replies continue below

Recommended for you

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
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor