Starting in macros
Starting in macros
(OP)
Hello everyone.
I'm a NX user and i need to develope some macros to help me in my daily job in Nx.
So, i have some questions.
What language is more comon to find info.
What language is less version dependent.
Where i can find the functions. I also do some macros for catia, and in the instalation file there is a guide for macros.
I also see that's it possible to create macros with visual studio. In Catia I use a simillar version that exists with catia's instalation. But there is any info for it?
Thanks in advance
I'm a NX user and i need to develope some macros to help me in my daily job in Nx.
So, i have some questions.
What language is more comon to find info.
What language is less version dependent.
Where i can find the functions. I also do some macros for catia, and in the instalation file there is a guide for macros.
I also see that's it possible to create macros with visual studio. In Catia I use a simillar version that exists with catia's instalation. But there is any info for it?
Thanks in advance





RE: Starting in macros
work with nx.
RE: Starting in macros
RE: Starting in macros
In NX a "macro" is that : - you can record a number of button pushes, then this macro will repeat these button pushes. Not flexible nor friendly to differences in user interface.
( The Macro function is an aged feature from the days before the graphical user interfaces entered the scene. - Before Unigraphics Version 10. 1980s.)
A more modern approach is the "Journal".
- Cowski , can you add in here ?
Regards,
Tomas
RE: Starting in macros
Start by recording a journal, and playing it back. Then edit it and take a look.
The default language is vb, which is probably the easiest for a non-programmer.
Mark Rief
NX CAM Customer Success
Siemens PLM Software
RE: Starting in macros
To automate your work, I would recommend NX "journals". A journal is just a program, written in your favorite language, that calls NX functions to do useful things. VB is the most popular language, but you can also write in any .NET language (C#, F#, IronPython, etc.) or Java or Python or C/C++. If you're beginner, I would recommend VB.
For an introduction to programming with NX, look at the "Getting Started with SNAP" guide that ships with NX.
RE: Starting in macros
many thanks with that. I will star a look around with journals.