Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

What are all the must known Programming languages for mechanical enginners? 2

Status
Not open for further replies.

sluzzer

Mechanical
Feb 27, 2010
60
Not only general programming, knowing programming languages will help us to use advanced / user-defined features of other engineering softwares like NX, ANSYS CFX, ANSYS FLUENT etc.,

But each software supports different programming languages like NX supports C++, GRIP, Visual Basic etc., ANSYS CFX supports FORTAN, ANSYS FLUENT supports C++, etc.,

But it will be difficult to learn all programming languages.

So What are all the must known Programming languages for Mechanical enginners, which will be most useful in 'many' of the engineeing applications?
 
Replies continue below

Recommended for you

The old style NX 'Macros' (which we still support) are recorded using a proprietary keystroke capture scheme, however 'Journals', which can be recorded and played-back like a 'marco', can be created using any one of several standard languages, including Visual Basic, C++, Java and C#, and starting with the next release of NX, which we began beta testing last week, we've added Python.

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.
 
Just for my own interest John, are you saying that users can effectively drive an "NX session" through interpreted Python. An imported Python module with access to NX data structures and its engine? As opposed to an extension to the core functionality of NX. Or both.

- Steve
 
This is how this new capability is being described at the moment:

The Python programming language is added as a language binding for NX Open. This allows NX users to record and replay NX workflows in the Python language. Advanced users can create or extend NX Open Python journals to develop NX Open applications in Python. These applications can use any of the features of the Python programming language including classes, looping constructs, control statements, and callbacks. Python journals can be recorded and replayed on Windows, Linux, and Mac.

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.
 
Thanks. That's interesting. Python does seem to be the glue/driver/wrapper scripting language du jour.

- Steve
 
shouldn't python already be available via .net (ironpython)?
 
Loki - I haven't tried Iron Python, but looking at the Wikipedia page on it, it seems to have one large problem for engineering applications:

" Conversely, CPython applications that depend on extensions to the language that are implemented in C (e.g. NumPy) are not compatible with IronPython,[16] although a commercially-supported open source project to address this is underway.[17]"

However linking Python to Excel is relatively simple with a number of packages, of which ExcelPython (which I am experimenting with at the moment) is free and open source, and seems to work well.

Doug Jenkins
Interactive Design Services
 
yes, that is true.
ironpython is more of a just another language for .net. just the syntax, not the libraries.
 
I do most of my stuff with web based apps coming from a web hosting programming background (7 years operating NPS Internet Solutions, Inc.), hence my programming weapon of choice is Perl, with a little HTML, javascript and MySQL thrown in. I haven't had to touch Matlab or C++ since my college days, some 20 years ago.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor