By lifeofdave - Sat Jun 11, 2016 7:07 pm
- Sat Jun 11, 2016 7:07 pm
#391342
Hi All
pymaxwell's mxi read() is crashing whenever I use it with readHeaderOnly=True on 3.2.1.4 MXI files
Here's the test code:
Not sure if this is best posted in the maxwell render bugs section or here, let me know if best to move it.
Thanks
pymaxwell's mxi read() is crashing whenever I use it with readHeaderOnly=True on 3.2.1.4 MXI files
Here's the test code:
Code: Select all
And here are two MXI files, one from 3212 the other from 3214 https://we.tl/y8cnBgByP5from pymaxwell import *
mxi = CmaxwellMxi()
# path = "C:\\Users\\Dave\\Desktop\\3212.mxi" # Works fine
path = "C:\\Users\\Dave\\Desktop\\3214.mxi" # Fails if readHeaderOnly==True
# mxi.read(path) # Works with 3214 mxis
mxi.read(path, True) # Fails with 3214 mxis
sl = mxi.getSamplingLevel()
print "SL: %s" % sl
Not sure if this is best posted in the maxwell render bugs section or here, let me know if best to move it.
Thanks