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!

diffference b/n juoral and macros???

Status
Not open for further replies.

naresh843

Mechanical
Mar 27, 2007
24
hi can any one tell wats the differnce btn MACROS and JOURNAL IN UG nx4..????.
I can run the task in UG using MACRO & JOURNAL,,,both look like same..it makes no difference,,wat major diferences do they have???


Naresh.C
Sr,Engg.
Chennai,
India
 
Replies continue below

Recommended for you

Macros record the actual dialog keystrokes whereas Journals capture the commands executed when a particular item in a dialog is selected. While this might at first appear to be similar (if not the same) the big difference is that if the dialog changes, like when a change or an enhancement is made when you upgrade from one version to the latest, the Macros will no longer run and must to recreated since the actual select sequence and what items were selected has changed. However, as long as the function itself did not change, which is much less often then are dialog changes made, the Journal file will still execute even if it was created in an older version of NX.

Also, since the relevant content of a Journal file is formated using standard programming tools, once a Journal is created you can add logic commands and other programmatic structures as well as additional interactive steps which allows you to basically 'convert' your 'keystroke' sequence into a true application program. Now you can do some editing of Macros but this is very limited since it is still going to be executed as a set of keystrokes whereas the Journal executes more like an actual user written program. Also payback is generally faster for Journal files since the presentation layer (the user interface) is skipped and the actual underlying functions are being performed rather then just responding as if the user had selected a dialog item.

John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Cypress, CA

To an Engineer, the glass is twice as big as it needs to be.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor