Submitted by frankmao on Mon, 05/09/2016 - 00:52
Forums:
Dear All,
Is that possible to use NX open to read and write results directly from multiple OP2 files without opening the corresponding SIM files.
Thanks and best regards,
Frank Mao
re: OP2 files
When the solution completes, the OP2 file is written to the same folder that contains the .sim file. The OP2 file is a binary file, if you are familiar with the file format you can read and write to the file without the use of NX or the NXOpen API.
Thanks for your reply. Does
Thanks for your reply. Does that mean that NX open can't read/write the information in OP2 along if SIM file is not opened in NX?
Frank Mao
R&D Engineer
re: OP2 files
I'm an occasional CAE user, so I don't know all the details for how NX works with OP2 files; it is my understanding that NX writes the OP2 files when the simulation is solved. I don't know what functions (if any) are provided in the NXOpen API specifically for dealing with OP2 files. Whether the .sim file needs to be open to use any such OP2 file functions will depend on the API.
My point in my previous post is that the OP2 file is just a binary file; the .net framework provides methods to manipulate binary files - if you are familiar with the OP2 file format, you could read/write to the files without needing NXOpen at all.