Snap vs journaling
Snap vs journaling
(OP)
Hello
Is it journaling old-fashioned because of the arrival of snap?
Which one is better to use or more powerful?
(besides NXOpen)
Is it journaling old-fashioned because of the arrival of snap?
Which one is better to use or more powerful?
(besides NXOpen)





RE: Snap vs journaling
RE: Snap vs journaling
From the NX8 Whats new:
SNAP — New programming tool
What is it?
A new programming tool is added to the NX system for creating custom programs. Simple NX Application Programming (SNAP) is an easy-to-learn programming tool intended for mechanical designers and other typical NX users – not just for programmers. The code is simple, short, readable, and feels “natural” so it is quicker to learn and easier to apply.
SNAP is useful for automating simple processes that you do repeatedly, or for creating simple parts that you use frequently.
SNAP is similar to the GRIP language in its purpose, flexibility, and ease of use. So if you have used GRIP before, you will probably also find SNAP to be a productive tool.
SNAP is based on the Visual Basic (VB.Net) language and is best used with Visual Studio, however you can create some simple programs using the NX Journal Editor.
Besides the above, i have no clue
RE: Snap vs journaling
Toost, I know that, I had already read that info before but I don't know the differences betwen that SNAP and Journaling.
I want to learn just one.
regards
RE: Snap vs journaling
Regards,
Tomas
RE: Snap vs journaling
For the record, when writing NXOpen applications I choose to code in Visual Studio 2010 and in C#.
Bruce
RE: Snap vs journaling
The complication here is not VB itself but the API or specific commands for NX.
No problem, Toost
RE: Snap vs journaling
The VB is not too difficult, though many methods use the factory-pattern and can feel very tedious. The easiest way to get started is to fire up the journaling toolbar and hit record, do some stuff, then view the VB code behind your actions. Use that in conjugation with the .Net NXOpen help file to lookup functions and you should be on your way in no time.
RE: Snap vs journaling
John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.
RE: Snap vs journaling
RE: Snap vs journaling
If most of your work is simply going to be automating existing interactive workflows with only an occasional bit of added logic, then Journaling is the way to go. But if what you want is to create models based on purely parametric or logical decision making or where more complex math routines are needed, or there's a need to read data from existing geometry or from some external data files, then you need something more rich in terms of traditional programming tools, but necessarily something like full-blown NX Open using C++ or C#.
Anyway, look at the SNAP Reference Guide and see if the sort of thing that might interest you.
John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.
RE: Snap vs journaling
RE: Snap vs journaling
I guess you could put it another way, if want to automated something but you want to write the absolute least amount of code, try Journaling. If you're willing to learn some simple Visual Basic programming, for which there's dozens of how-to-books out there for the non-programmer, then SNAP may be what you're looking for, but if you're looking for the most functionality with the best performance or you're tackling really big data sets, then full-blown NX Open is probably for you.
Anyway, I hope that helps.
John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.
RE: Snap vs journaling
And only If I need something faster I'll try NX Open with C++
thanks
RE: Snap vs journaling
SNAP and journaling are both interfaces to the NXOpen API; take the journal that you have recorded, compile it, and you have an NXOpen app. Since SNAP and journaling both use the same underlying API, speed of execution should be very similar.
www.nxjournaling.com
RE: Snap vs journaling
This statement needs to be corrected and some clarification made.
To start with, SNAP is NOT a separate 'programming language' but rather a collection of library functions which can be called from many different programming lanaguages, including VB.
Also on June 28th I suggested that if anyone is interested in learning more about SNAP that they should review a document titled 'SNAP Reference Guide'. In retrospect, that's probably not the document that someone who is learning about SNAP for the first time should look at.
If you go to the NX Open section of the NX Help documents you will find another document titled 'SNAP Getting Started Guide'. This is the best material available to learn what SNAP is and how it can be used in conjuction with NX (there's even a chapter which will help you learn how to write VB programs, period). The original document which I had mentioned, the 'SNAP Reference Guide', is actually more of a 'help' file style item intended for people who are already creating SNAP programs and wish to learn more about individual SNAP functions and how they can be used, irrespective of the programming language which the SNAP functions are being called from.
Anyway, sorry for the delay in getting this reply written but we wanted to make sure that there was no misconceptions about exactly what SNAP is (or is not) as well as making sure that people have been given the best advice as to what their next steps should be if they wish to learn more about SNAP.
John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.
RE: Snap vs journaling
The word SIMPLE is the first letter in the SNAP. I sure hope so. My programing skills are weak. I tend to mess around with previous GRIP programs to bend them to my needs. Having a programing tool that will be a SNAP is welcomed. However, it may be two years before jumping to that or any other NX new release since we follow to the beat of GM as a Tier-1.
So, my GRIP (gripe) days march on ....
;)