Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

version control for automation programs

Status
Not open for further replies.

Raviprakash.c

Aerospace
Sep 4, 2018
9
Hi All,
Is there any way to control versions of Nx to run the macros.
If we do a macro in Nx11 and try to run in Nx12 after upgradation, it will not work.
if anyone knows please give your suggestions to work with  version free programs.

Thanks in advance.

Regards,
Ravi
 
Replies continue below

Recommended for you

If you are talking about NX-Open coding, in most cases, when you go up in Nx version you need to Re-compile your code to the correct NX version.
We've had some NX-open tools running fine for 3 NX versions and now for NX12 we need to re-compile them.

If you are talking about the real macro's..I haven't seen any macro yet which is working fine after a version Upgrade. Most of the times this is happening because Siemens moved a function to another menu or the function interface has been changed. Which means you will have to record the macro again.
This is normal behavior and you just have to live with it.
I would say you have the best performance and stability when using NX-open (journaling) for your custom tools.

Ronald van den Broek
Senior Application Engineer
Winterthur Gas & Diesel Ltd
NX9 / TC10.1.2

Building new PLM environment from Scratch using NX12 / TC11
 
Thank you @NutAce for the reply.
We do programs in Python and it is hard to re compile all codes when version changes.
I would like to know if any method to make the programs run fine irrespective of version changes.
 
Like Ronald says,
Not-compiled Journals seems very stable over multiple versions.
Macros might run if they are very very simple.
- If you open the macro file in a text editor, you will see that it contains every little piece of how the user interface appeared when you recorded the macro, - any change to that will probably halt the macro.
-There is no fail over functionality in Macros.
Compiled programs , i think, requires re-compile for all programming languages.

Regards,
Tomas






 
Status
Not open for further replies.

Part and Inventory Search

Sponsor