Reading Optistruct op2: unknown version=b'OS2023'
Closed this issue · 3 comments
amarpeshave commented
Hello,
I am trying to read-in an op2 file generated by Optistruct 2023 (attached). The code snippet wherein op2 read-attempt is performed is given below:
from pyNastran.op2.op2 import OP2
results = OP2()
results.read_op2(op2_FilePath)
I've tried setting the results.mode to "optistruct" and using the inbuilt method results.set_mode("optistruct"). Following error is encountered: unknown version=b'OS2023'.
let me know if you need more information.
Cheers,
Amar
amarpeshave commented
Hello,
Forgot to mention, using pynastran version 1.4.0.
Cheers,
Amar
SteveDoyle2 commented
The fix has been pushed to main. The bug fix will be in the release, hopefully this week.
amarpeshave commented
Thanks a bunch Steve!